Help with Intermediate Algorithm

Hello, everyone

I am currently about to complete the Javascript front end section of freecodecamp. However, I am running into a brick wall with the intermediate algorithm. I have an rough understanding of what concept to use and how to break down the algorithm. But I can not write actually syntax or fully remember the actually concepts needed to solve the algorithm. I can only write fake code that resemble the actual solution.

How can improve and get better at this. Are there any additional resources on algorithms

If by fake code you mean something resembling pseudo code, or comments of steps for you solution i.e. the logic of how you are going to solve a given algorithm, you can then search or ask for syntax of language of your choice on how to implement your logic, for example:
if the min Value is less than max Value , add one to min Value”, and you are using JavaScript for instance, for writing your code, then you can:

  • Ask or search how to compare two values in JavaScript.
  • how to add/increment a value by one in JavaScript.
1 Like

Yes I am meant pseudo-code.