Data Structures and Algorithms
SubPages
_Object-Oriented Analysis and Design
Strings, Arrays & Linked Lists
_Patterns for Coding Questions
Data Structures and Algorithms
I have to literally lookup up every leetcode solution. Is it normal?
Introduction | Tech Interview Handbook
Comprehensive Data Structure and Algorithm Study Guide - LeetCode Discuss
TOPICS WHICH YOU CAN'T SKIP [INTERVIEW PREPARATION | STUDY PLAN] USING LEETCODE - LeetCode Discuss
All You Need This For Better Preparation - LeetCode Discuss
Important and Useful links from all over the LeetCode - LeetCode Discuss
My notes for the night before interview. - LeetCode Discuss
Other
Google Interview Tips + FAQs Answered + Resources - LeetCode Discuss
Data structures and Algorithms (patterns):
- Binary search: BS can be used in so many different situations!
- Leap year, GCD, LCM, isPrime, prime finding, prime factorization
- Bit manipulation
- Reservoir sampling
- 2 pointer strategy and sliding window
- cumulative sum, prefix sum (1d, 2d, 3d)
- Sorting: selection sort, quick sort, quick select, insertion sort (with binary search optimization), merge sort, heap sort, radix sort, counting sort, bucket sort
- String strategies: rabin-karp, KMP, Boyer-Moore
- Graph: Dijkstra, Bellman-Ford, Union find, Kruskal, Prim, Floyd-Warshall, Tarjan, DFS, BFS, Ford Fulkerson & Edmond (Min cut max flow), Hamiltonion path (with bitmasking), Eulerian cycle, Topological sorting
- DFS: backtracking
- Monotonically increasing stack, queue, etc.
- DP: Top-down using recursion and memoization, Bottom up using iteration and tabulation
- Classic DP patterns: LCS, LIS, LIS (strictly increasing), Equal sum partition
- BIT: binary indexed tree/sedgwick tree
- Interval trees
- Tree: inorder, preorder, postorder traversal: iterative and recursive, morris traversal to do those 3 in O(1) space
- Binary search trees (BSTs), heaps, splay trees, red-black trees, skip list, avl tree
Tools:
- Grokking the coding interview
- AgoExpert ?
Tips:
- Non-Technical Tip: Offers from Google and Amazon
- What To Do If You're Stuck In A Coding Interview
- Software Engineering Job Tips From A Google Recruiter - How to contact recruiter? etc.
- How to network recruiters on LinkedIn
- How To Ace The Google Coding Interview - Complete Guide
- 14 Patterns to Ace Any Coding Interview Question
- The Ultimate Strategy to Preparing for a Coding Interview
- Important and Useful links from all over the LeetCode
- From 0 to clearing Uber/Apple/Amazon/LinkedIn/Google
- Twitter Engineer shares 5 tips on how to ace...
- Algorithm of an algorithm
- How to Get Unstuck in Technical Interviews
- MOHSIN ALI
- Technical Interviews: the 8 Most Common Mistakes Programmers Make
https://www.topcoder.com/thrive/articles/Greedy is Good
https://www.topcoder.com/thrive/articles/An Introduction to Recursion Part Two
Data structures in 5 min:
https://www.youtube.com/playlist?list=PLlipSLnrfrUlclWAcvmyxcn6R7tzwALhM
How to approach problems
More reading
Find the original version of this page (with additional content) on Notion here.
Created: December 13, 2021 16:05:48