yangshun/tech-interview-handbook

Content Request: Tips To Identify Routines Based on Problem

thislookshard opened this issue · 2 comments

Hello,

I was just wondering if there were any plans on adding the rest of the tips to identify routines on the Top Techniques page anytime soon? I know it will be added at a future date, but I wanted to know if there was a timeline on for it since Binary Search is filled out and this is something that some people can struggle with while under pressure.

That's a great idea! Would you foresee it being added to any existing page or a new page?

Awesome! I could see it going either way. It could expand upon that page or be built into a new page called something like "Identifying Data Structures and Algorithm Patterns in Questions."
It could list data structures and algorithms and what some key indicators in problems to use them would be. e.g.:

Hash Maps: Useful for making lookup efficient. This is the most common data structure used in interviews and you are guaranteed to have to use it.
...
Binary Search: If the input array is sorted and you need to do faster than O(n) searches
Breadth-First Tree Search: If you need to traverse the tree by levels