-
What felt good about your process? I tried a new solution after my first one worked
-
What was difficult/where did you struggle? My new solution performed WORSE than the first one
-
What feedback did you receive? I learned how to use
process.time()
andprocess.timeEnd()
to measure the time efficiency of my solutions
-
What felt good about your process? Pseudocoding felt good
-
What was difficult/where did you struggle? Figuring out how to produce permutations algorithmically was confusing
-
What feedback did you receive? Try hard problems like this when your brain is well-rested. Brute-forcing it won't work
-
What felt good about your process? I came up with alternative approaches that worked, by looking for patterns
-
What was difficult/where did you struggle? The algorithm worked fine, but the particulars of the javascript code I wrote had wrong assumptions that had to be debugged
-
What feedback did you receive? I should console.log at each step to check if my changes worked
-
What felt good about your process? I checked each step with console logging, starting with my helper functions. It was really fun to write
-
What was difficult/where did you struggle? I kinda didn't at all! it was very short and satisfying I guess noticing that numbers in JS don't have a built-in reverse took a second to think about
-
What feedback did you receive? I used .join() wrong the first time, forgetting that if you omit the .join("") argument it adds a comma to the result. But I quickly found that error and fixed it