Skip to content

jahnvisethjs/FAANG-Coding-Interview-Questions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Coding Interview Questions

Click ⭐if you like the project. Pull Request are highly appreciated. Follow me @Om Bharatiya for technical updates.


Interview Questions

No. Questions
Amazon
1 Two Sum
2 Add Two Numbers
3 Longest Substring Without Repeating Characters
4 Median of Two Sorted Arrays
5 Longest Palindromic Substring
6 ZigZag Conversion
7 String to Integer (atoi)
8 3Sum
9 Letter Combinations of a Phone Number
10 Valid Parentheses
11 Merge Two Sorted Lists
12 Generate Parentheses
13 Merge k Sorted Lists
14 Trapping Rain Water
15 Permutations
16 Rotate Image
17 Group Anagrams
18 Merge Intervals
19 Spiral Matrix II
20 Unique Paths II
21 Minimum Path Sum
22 Edit Distance
23 Set Matrix Zeroes
24 Sort Colors
25 Minimum Window Substring
26 Subsets
27 Gray Code
28 Validate Binary Search Tree
29 Same Tree
30 Binary Tree Level Order Traversal
31 Path Sum II
32 Pascal's Triangle II
33 Best Time to Buy and Sell Stock
34 Word Ladder II
35 Word Ladder
36 Sum Root to Leaf Numbers
37 Copy List with Random Pointer
38 Word Break
39 Linked List Cycle
40 LRU Cache
41 Sort List
42 Min Stack
43 Intersection of Two Linked Lists
44 Two Sum II - Input array is sorted
45 Binary Search Tree Iterator
46 Rotate Array
47 Binary Tree Right Side View
48 Number of Islands
49 Happy Number
50 Count Primes
51 Reverse Linked List
52 Word Search II
53 Kth Largest Element in an Array
54 Basic Calculator
55 Palindrome Linked List
56 Lowest Common Ancestor of a Binary Search Tree
57 Lowest Common Ancestor of a Binary Tree
58 Product of Array Except Self
59 Sliding Window Maximum
60 Search a 2D Matrix II
61 Valid Anagram
62 Find Median from Data Stream
63 Serialize and Deserialize Binary Tree
64 Top K Frequent Elements
65 Design Twitter
66 Insert Delete GetRandom O(1)
67 Shuffle an Array
68 First Unique Character in a String
69 Rotate Function
70 Third Maximum Number
71 Battleships in a Board
72 Find All Anagrams in a String
73 String Compression
74 Serialize and Deserialize BST
75 Sort Characters By Frequency
76 Repeated Substring Pattern
77 LFU Cache
78 Concatenated Words
79 Most Frequent Subtree Sum
80 Longest Palindromic Subsequence
81 Super Washing Machines
82 Minesweeper
83 K-diff Pairs in an Array
84 Encode and Decode TinyURL
85 Complex Number Multiplication
86 Convert BST to Greater Tree
87 01 Matrix
88 Optimal Division
89 Subarray Sum Equals K
90 Subtree of Another Tree
91 Shortest Unsorted Continuous Subarray
92 Construct String from Binary Tree
93 Merge Two Binary Trees
94 Solve the Equation
95 Set Mismatch
96 Maximum Length of Pair Chain
97 Image Smoother
98 Maximum Width of Binary Tree
99 Cut Off Trees for Golf Event
100 Baseball Game
101 Top K Frequent Words
102 Accounts Merge
103 Find Pivot Index
104 Split Linked List in Parts
105 Monotone Increasing Digits
106 Min Cost Climbing Stairs
107 Prime Number of Set Bits in Binary Representation
108 Partition Labels
109 Reorganize String
110 Global and Local Inversions
111 Most Common Word
112 Unique Email Addresses
113 Knight Dialer
114 Reorder Data in Log Files
115 Prison Cells After N Days
116 K Closest Points to Origin
117 Subarrays with K Different Integers
118 Rotting Oranges
119 Binary Search Tree to Greater Sum Tree
120 Distant Barcodes
121 Sum of Nodes with Even-Valued Grandparent
122 Number of Dice Rolls With Target Sum
123 Critical Connections in a Network
124 Search Suggestions System
125 Number of Steps to Reduce a Number to Zero
126 Stone Game III
Microsoft
1 Two Sum
2 Add Two Numbers
3 Median of Two Sorted Arrays
4 Longest Palindromic Substring
5 String to Integer (atoi)
6 Roman to Integer
7 3Sum
8 Valid Parentheses
9 Merge Two Sorted Lists
10 Merge k Sorted Lists
11 Swap Nodes in Pairs
12 Reverse Nodes in k-Group
13 Remove Duplicates from Sorted Array
14 Implement strStr()
15 Search in Rotated Sorted Array
16 Maximum Subarray
17 Spiral Matrix
18 Jump Game
19 Merge Intervals
20 Binary Tree Maximum Path Sum
21 Valid Palindrome
22 Copy List with Random Pointer
23 Linked List Cycle
24 LRU Cache
25 Reverse Words in a String
26 Find Minimum in Rotated Sorted Array
27 Find Peak Element
28 Excel Sheet Column Title
29 Excel Sheet Column Number
30 Binary Search Tree Iterator
31 Rotate Array
32 Number of 1 Bits
33 Number of Islands
34 Reverse Linked List
35 Implement Trie (Prefix Tree)
36 Word Search II
37 Kth Largest Element in an Array
38 The Skyline Problem
39 Delete Node in a Linked List
40 Product of Array Except Self
41 Add Digits
42 Missing Number
43 Serialize and Deserialize Binary Tree
44 First Unique Character in a String
45 Arithmetic Slices
46 String Compression
47 Max Chunks To Make Sorted
48 Valid Tic-Tac-Toe State
49 Maximum Length of a Concatenated String with Unique Characters
50 Find N Unique Integers Sum up to Zero
51 Jump Game III
52 Cinema Seat Allocation
53 Bulb Switcher III
Facebook
1 Regular Expression Matching
2 Roman to Integer
3 3Sum
4 Letter Combinations of a Phone Number
5 Valid Parentheses
6 Merge k Sorted Lists
7 Reverse Nodes in k-Group
8 Remove Duplicates from Sorted Array
9 Implement strStr()
10 Search in Rotated Sorted Array
11 Count and Say
12 Wildcard Matching
13 Pow(x, n)
14 Merge Intervals
15 Insert Interval
16 Valid Palindrome
17 Longest Consecutive Sequence
18 Clone Graph
19 Word Break
20 LRU Cache
21 Binary Search Tree Iterator
22 Number of Islands
23 Implement Trie (Prefix Tree)
24 Kth Largest Element in an Array
25 The Skyline Problem
26 Maximal Square
27 Binary Tree Paths
28 H-Index
29 Expression Add Operators
30 Serialize and Deserialize Binary Tree
31 Flatten Nested List Iterator
32 Combination Sum IV
33 Insert Delete GetRandom O(1)
34 Target Sum
35 Encode and Decode TinyURL
36 Diameter of Binary Tree
37 Valid Palindrome II
38 Maximum Sum of 3 Non-Overlapping Subarrays
39 Sudoku Solver
40 Maximum Subarray
41 Valid Number
42 Plus One
43 Add Binary
44 Is Graph Bipartite?
45 Custom Sort String
46 Smallest Subtree with all the Deepest Nodes
47 Shortest Bridge
48 Range Sum of BST
49 Verifying an Alien Dictionary
50 K Closest Points to Origin
51 Interval List Intersections
52 Max Consecutive Ones III
53 Minimum Remove to Make Valid Parentheses
54 Merge Sorted Array
55 Binary Tree Level Order Traversal
56 Best Time to Buy and Sell Stock
57 Best Time to Buy and Sell Stock III
58 Best Time to Buy and Sell Stock IV
59 Binary Tree Maximum Path Sum
60 Fraction to Recurring Decimal
61 Simplify Path
62 Minimum Window Substring
63 Course Schedule
64 Design Add and Search Words Data Structure
65 Kth Smallest Element in a BST
66 Lowest Common Ancestor of a Binary Tree
67 Product of Array Except Self
68 Exclusive Time of Functions
69 First Bad Version
70 Move Zeroes
71 Task Scheduler
72 Remove Invalid Parentheses
73 Longest Increasing Path in a Matrix
74 Search in Rotated Sorted Array II
75 Convert a Number to Hexadecimal
76 Add Strings
77 Partition Equal Subset Sum
78 Find All Anagrams in a String
79 Continuous Subarray Sum
80 Subarray Sum Equals K

About

A curated List of Coding Questions Asked in FAANG Interviews

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published