Table of Contents
What are the common data structures & algorithms that you are familiar with?
Depending upon requirement you may want to use any of these.
- Merge Sort.
- Quick Sort.
- Bucket Sort.
- Heap Sort.
- Counting Sort.
How do I approach Leetcode problems?
The strategy
- Go to a quiet location.
- Pick a question.
- Set a timer for 25 minutes.
- Allocate the first 5 minutes to understand the problem and ask/answer clarifying questions to yourself.
- Spend the next 20 minutes solving the problem on paper & pen/pencil (until timer rings).
How do I learn data structures and algorithms?
You will learn data structures and algorithms by solving 80+ practice problems. Build on your algorithm skills by learning more advanced algorithms such as brute-force greedy algorithms, graph algorithms, and dynamic programming which optimizes recursion by storing results to sub problems.
How can i Improve my algorithm skills?
Build on your algorithm skills by learning more advanced algorithms such as brute-force greedy algorithms, graph algorithms, and dynamic programming which optimizes recursion by storing results to sub problems. You will begin each course by learning to solve defined problems related to a particular data structure and algorithm.
What are the data structures used in computer science interviews?
Hash Tables , Binary Search Trees , Linked Lists are the data structures you will need frequently in the interviews. And you will need problem solving techniques like Dynamic Programming , Binary Search more than algorithms.
Are other hard data structures necessary for the Google APAC?
Other hard data structures are absolutely unnecessary. Edit: Related Answer : Ashish Kedia’s answer to How should one start preparing for the Google APAC? In no particular order, here are the most important data structures and algorithms you need to know to ace your Google interview: