I'm trying to get quicker and more proficient with advanced JavaScript and different coding patterns. While I understand that building projects is the best way to grasp the basics, I often encounter scenarios at work that require solutions I'm not familiar with. For instance, I don't regularly need to perform specific tasks like flattening arrays or conditionally pushing strings into new arrays. I usually find myself relying heavily on AI tools and searching online to figure these things out. What are some effective ways to prepare myself to recognize these types of solutions and to be able to come up with them more quickly?
3 Answers
LeetCode and NeetCode are great platforms to practice advanced coding problems. They offer a lot of algorithm challenges that can help you think critically. Don't forget about DSA—data structures and algorithms are really the backbone of efficient coding practices.
Mistakes are a part of learning, so don’t stress too much about being prepared for every situation. It's perfectly fine to learn on the job, even if it means fumbling through some tasks. Just keep at it, and you'll improve!
Have you tried using CodeWars? It's a fun way to tackle challenges that can sharpen your skills. You can think of it like a workout for your coding muscles!

I hear you. I feel like if I just sit and struggle through it without any tools, I won’t finish on time.