okay perfect. For you I’d recommend googling algorithms in JS. Stack, Queue, Linked Lists ordered and unordered, bubble sort, big O, bubble sort, merge sort, quick sort, the 3 tree traversals, binary search, binary heap, binary search tree, breadth first search and depth first search. I believe these are all of your general intro to CS core algorithms. It’s all you really need for the basics and backbone of algorithms. Google each of these and watch a youtube video as well as googling for the implementations in Javascript. For example, “Javascript implementation bubble sort”, etc. I just googled it and this was the first result: https://initjs.org/bubble-sort-in-javascript-19fa6fdfbb46 Go to youtube and watch a video on bubble sort, then come back and read through the above link, take their JS code and put it into http://pythontutor.com/javascript.html#mode=edit Make sure to add a list argument when you call it. Then begin the visualization so you can see every step of the process. Once you understand it, write down the code in a notebook you have for all your algorithm work. Move on to the next ones above. You can follow the course I linked earlier to understand each algorithm and DS function but just google JS code. You need to implement and understand all those algorithms I’ve listed. Write them over multiple times and put them in visualizers multiple times. To understand recursion is difficult, but for me I really understood it after visualizing a Depth first search algorithm. Like earlier, watch a recursion video even though it may go over your head, then take an algorithm like “number of islands” and search for the JS code online. Make sure their code is readable so you can grasp it more in a visualizer.
Code challenges are another beast. If your strength is in JS and you’re applying for only Front-end roles you may only need to know how to solve array and string manipulation questions. Those just take practice. To get good at those. Google top 10 javascript array questions and same for top 10 string manipulation questions. Try to solve all of them on your own. Once you’ve tried, look at the answers from others online, put their code in a visualizer with an argument and call it. To get good at this stuff is a numbers game if you do not have a CS or Math background. It does not come naturally. I don’t want to scare you but I did about 100 of these type of questions before I felt even the slightest bit of comfort. Please update me further, I hope I didn’t

give too much confusing info. Feel free to email me at codescolorful@gmail.com

I also found a udemy course for JS that goes over the algorithms you may most likely see: https://www.udemy.com/js-algorithms-and-data-structures-masterclass/

Still learn the core ones above. Those are the ones expected for all CS graduates. Don’t worry about not understanding recursion right away. It was the last thing I truly understood. Good Luck.

]]>