Sunday, 27 October 2024

FAANG - Top 200 coding questions!

#TitleDifficultyFrequencyNeetCodeBlacklist1Two SumE10.00Vid / Code

2LRU CacheM5.69Vid / Code

3Number of IslandsM5.22Vid / Code

4Merge IntervalsM5.11Vid / Code

5Longest Substring Without Repeating CharactersM4.56Vid / Code

6Trapping Rain WaterH4.12Vid / Code

7Longest Palindromic SubstringM3.39Vid / Code

8Kth Largest Element in an ArrayM3.39Vid / Code

9Best Time to Buy and Sell StockE3.29Vid / Code

10Group AnagramsM3.15Vid / Code

11Random Pick with WeightM3.04

12Valid ParenthesesE2.89Vid / Code

13Subarray Sum Equals KM2.87Vid / Code

143SumM2.87Vid / Code

15Median of Two Sorted ArraysH2.64Vid / Code

16Basic Calculator IIM2.56

17Koko Eating BananasM2.52Vid / Code

18Move ZeroesE2.49Vid / Code

19Longest Common PrefixE2.38Vid / Code

20Maximum SubarrayM2.33Vid / Code

21Add Two NumbersM2.33Vid / Code

22Lowest Common Ancestor of a Binary TreeM2.33Vid / Code

23Merge k Sorted ListsH2.31Vid / Code

24Top K Frequent ElementsM2.24Vid / Code

25Pow(x, n)M2.14Vid / Code

26House RobberM2.09Vid / Code

27Longest Consecutive SequenceM2.07Vid / Code

28Climbing StairsE2.07Vid / Code

29Copy List with Random PointerM2.05Vid / Code

30Course Schedule IIM2.02Vid / Code

31Spiral MatrixM1.95Vid / Code

32Search in Rotated Sorted ArrayM1.86Vid / Code

33Meeting Rooms IIM1.81Vid / Code

34Letter Combinations of a Phone NumberM1.81Vid / Code

35Roman to IntegerE1.79Vid / Code

36Product of Array Except SelfM1.76Vid / Code

37Next PermutationM1.76

38Container With Most WaterM1.74Vid / Code

39Valid PalindromeE1.72Vid / Code

40Jump GameM1.67Vid / Code

41Rotting OrangesM1.67Vid / Code

42Majority ElementE1.67Vid / Code

43Insert Delete GetRandom O(1)M1.65Vid / Code

44Palindrome NumberE1.65Vid / Code

45Course ScheduleM1.62Vid / Code

46Diameter of Binary TreeE1.62Vid / Code

47Happy NumberE1.60Vid / Code

48Rotate ImageM1.58Vid / Code

49Word LadderH1.58Vid / Code

50Sliding Window MaximumH1.53Vid / Code

51Binary Tree Right Side ViewM1.48Vid / Code

52Binary Tree Maximum Path SumH1.44Vid / Code

53K Closest Points to OriginM1.44Vid / Code

54Generate ParenthesesM1.39Vid / Code

55Find Median from Data StreamH1.39Vid / Code

56Decode StringM1.27Vid / Code

57Reverse IntegerM1.27Vid / Code

58Merge Two Sorted ListsE1.27Vid / Code

59Word SearchM1.18Vid / Code

60Minimum Window SubstringH1.15Vid / Code

61Word Search IIH1.13Vid / Code

62Coin ChangeM1.13Vid / Code

63Valid AnagramE1.11Vid / Code

64Largest NumberM1.08Vid / Code

65Find K Closest ElementsM1.06Vid / Code

66Maximum Product SubarrayM1.04Vid / Code

67Combination SumM1.01Vid / Code

68Asteroid CollisionM1.01Vid / Code

69First Missing PositiveH1.01Vid / Code

70Time Based Key-Value StoreM0.96Vid / Code

71Rotate ArrayM0.96Vid / Code

72Reverse Linked ListE0.94Vid / Code

73Sort ColorsM0.94Vid / Code

74Longest Repeating Character ReplacementM0.94Vid / Code

75Word BreakM0.94Vid / Code

76Jump Game IIM0.92Vid / Code

77Regular Expression MatchingH0.89Vid / Code

78SubsetsM0.89Vid / Code

79Reverse Nodes in k-GroupH0.85Vid / Code

80Largest Rectangle in HistogramH0.82Vid / Code

81Unique PathsM0.82Vid / Code

82Walls and GatesM0.82Vid / Code

83Permutation in StringM0.80Vid / Code

84Daily TemperaturesM0.78Vid / Code

85Accounts MergeM0.75Vid / Code

86Longest Increasing SubsequenceM0.75Vid / Code

87Set Matrix ZeroesM0.71Vid / Code

88Binary Tree Zigzag Level Order TraversalM0.71Vid / Code

89Decode WaysM0.71Vid / Code

90Basic CalculatorH0.71

91Plus OneE0.71Vid / Code

92Implement Trie (Prefix Tree)M0.68Vid / Code

93Longest Increasing Path in a MatrixH0.68Vid / Code

94Design Hit CounterM0.68

95Remove Nth Node From End of ListM0.68Vid / Code

96Valid SudokuM0.66Vid / Code

97Task SchedulerM0.64Vid / Code

98Edit DistanceM0.64Vid / Code

99Gas StationM0.64Vid / Code

100Bus RoutesH0.64

101Missing NumberE0.61Vid / Code

102Contains DuplicateE0.61Vid / Code

103Evaluate Reverse Polish NotationM0.61Vid / Code

104Top K Frequent WordsM0.61

105Find Minimum in Rotated Sorted ArrayM0.59Vid / Code

106String to Integer (atoi)M0.59

107Serialize and Deserialize Binary TreeH0.59Vid / Code

108Clone GraphM0.59Vid / Code

109PermutationsM0.59Vid / Code

110Palindromic SubstringsM0.59Vid / Code

111All Nodes Distance K in Binary TreeM0.59

112House Robber IIM0.56Vid / Code

113Add BinaryE0.56Vid / Code

114Alien DictionaryH0.56Vid / Code

115Palindrome PartitioningM0.56Vid / Code

116Single NumberE0.56Vid / Code

117Find All Anagrams in a StringM0.54Vid / Code

118Sudoku SolverH0.54

119Validate Binary Search TreeM0.52Vid / Code

120Max Area of IslandM0.52Vid / Code

121Rotate ListM0.52Vid / Code

122Lowest Common Ancestor of a Binary Search TreeM0.52Vid / Code

123Min StackM0.52Vid / Code

124Ransom NoteE0.52

125Search a 2D MatrixM0.49Vid / Code

126Combination Sum IIM0.49Vid / Code

1273Sum ClosestM0.49

128Find the Duplicate NumberM0.45Vid / Code

129Squares of a Sorted ArrayE0.45Vid / Code

130Partition Equal Subset SumM0.45Vid / Code

131Swap Nodes in PairsM0.45Vid / Code

132Design In-Memory File SystemH0.45

133Maximal SquareM0.45Vid / Code

134Maximum Depth of Binary TreeE0.42Vid / Code

135Palindrome Linked ListE0.42Vid / Code

136Linked List CycleE0.42Vid / Code

137Longest PalindromeE0.42

138Number of 1 BitsE0.40Vid / Code

139Longest Valid ParenthesesH0.40

140Insert IntervalM0.40Vid / Code

141Contiguous ArrayM0.38

142Reorder ListM0.38Vid / Code

143Construct Binary Tree from Preorder and Inorder TraversalM0.35Vid / Code

144Binary SearchE0.35Vid / Code

14501 MatrixM0.35

146Longest Common SubsequenceM0.35Vid / Code

147Symmetric TreeE0.35Vid / Code

148Kth Smallest Element in a BSTM0.35Vid / Code

149Middle of the Linked ListE0.35Vid / Code

150Path Sum IIM0.35

151Same TreeE0.33Vid / Code

152N-QueensH0.33Vid / Code

153Detect SquaresM0.33Vid / Code

154First Bad VersionE0.33

155Cheapest Flights Within K StopsM0.31Vid / Code

156Reconstruct ItineraryH0.31Vid / Code

157Binary Tree Level Order TraversalM0.31Vid / Code

158Non-overlapping IntervalsM0.31Vid / Code

159Flood FillE0.31

160Two Sum II - Input Array Is SortedM0.31Vid / Code

161Sort ListM0.31Vid / Code

162Subsets IIM0.28Vid / Code

163Palindrome PairsH0.28

164Multiply StringsM0.28Vid / Code

165Balanced Binary TreeE0.28Vid / Code

166Odd Even Linked ListM0.24

167Coin Change IIM0.24Vid / Code

168Target SumM0.24Vid / Code

169Implement Queue using StacksE0.21Vid / Code

170Backspace String CompareE0.21

171Min Cost Climbing StairsE0.19Vid / Code

172Path Sum IIIM0.19

173Encode and Decode StringsM0.19Vid / Code

174Graph Valid TreeM0.19Vid / Code

175Interleaving StringM0.19Vid / Code

176Smallest Range Covering Elements from K ListsH0.19

177Design Add and Search Words Data StructureM0.16Vid / Code

178Distinct SubsequencesH0.16Vid / Code

179Kth Largest Element in a StreamE0.14Vid / Code

180Surrounded RegionsM0.14Vid / Code

181Pacific Atlantic Water FlowM0.14Vid / Code

182Sum of Two IntegersM0.14Vid / Code

183Meeting RoomsE0.14Vid / Code

184Maximum Width of Binary TreeM0.12

185Car FleetM0.12Vid / Code

186Employee Free TimeH0.12

187Convert Sorted Array to Binary Search TreeE0.09Vid / Code

188Last Stone WeightE0.09Vid / Code

189Reverse BitsE0.09Vid / Code

190Hand of StraightsM0.09Vid / Code

191Swim in Rising WaterH0.09Vid / Code

192Counting BitsE0.07Vid / Code

193Maximum Frequency StackH0.07

194Minimum Height TreesM0.05

195Invert Binary TreeE0.05Vid / Code

196Minimum Interval to Include Each QueryH0.05Vid / Code

197Network Delay TimeM0.05Vid / Code

198Burst BalloonsH0.05Vid / Code