Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yep, just LC problems - helps a lot with identifying patterns


Would you mind sharing your setup and/or deck?


For my job search process I created a custom note type specifically for interview problems. My general process was go to LeetCode, find a medium/hard problem, hack on it for 30-60 minutes, then look at the solution if I couldn't get there myself. At the end of the problem, regardless of if I solved it or not, I'd create an Anki card with the following fields:

Title

Question

Additional Criteria

Example input/output

Insight (1 sentence maximum)

Insight explanation (can be longer/bullet-pointed list)

Key Data Structure (at most 1 data structure; if there are multiple, use the most important one)

Time complexity

Space complexity

Full answer code (can use syntax highlighter add-on)

Source (can provide link to associated question online; can include link(s) to solutions that the insight and/or code come from)

There are 4 cards that are generated from this template, which test the same question in slightly different ways. They individually ask for the insight, the key data structure, and the time and space complexities.

I found this note type to be critical to my success in the following interviews. In two cases, I was asked literally the same exact question I had already added to Anki; I was able to write out the solution from memory in one go. If you'd like to use my note type directly, I've exported an example here. [0]

[0] https://drive.google.com/file/d/12NsYNIBjIPI1Nhq5wE1xPljr9rH...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: