Book - Cracking The Coding Interview Questions
Last Updated: 25 Mar, 2023
Filters
+ 20 more
+ 405 more
Every developer aims to pass the Facebook coding interview. Many Facebook coding questions on Coding Ninjas are specially designed to crack facebook interview questions. Be a ninja coder by acing all the Facebook coding Questions and thus land your dream job.
Problem Title
EXP
Difficulty
Avg Time to solve
Attempted
Magic Index
135
40
Easy
20 mins
4.2k
Search In Rotated Sorted Array
243
80
Moderate
30 mins
19.4k
Intersection of Two Linked Lists
138
40
Easy
25 mins
11.2k
Ways To Make Coin Change
66
80
Moderate
20 mins
27k
Find Number Of Islands
66
80
Moderate
34 mins
2.9k
Trapping Rain Water
58
80
Moderate
15 mins
7.3k
Maximum Subarray Sum
709
80
Moderate
35 mins
74.8k
LRU Cache Implementation
49
80
Moderate
25 mins
3.1k
N Queens
64
120
Hard
55 mins
5k
Count Ways To Reach The N-th Stairs
212
80
Moderate
30 mins
26.9k
Palindrome Linked List
109
40
Easy
20 mins
8.5k
Partial BST
52
80
Moderate
25 mins
9.9k
Add Two Numbers As Linked Lists ll
193
80
Moderate
10 mins
3.5k
Group Anagrams
13
80
Moderate
30 mins
0.4k
Two Sum
1322
40
Easy
10 mins
14.1k
Search In A Row Wise And Column Wise Sorted Matrix
39
80
Moderate
15 mins
2.9k
Trailing Zeros in Factorial
27
80
Moderate
15 mins
0.9k
Majority element
133
40
Easy
15 mins
15.5k
Swap Number Without Temporary Variable
12
40
Easy
15 mins
1.2k
Subtree of Another Tree
32
40
Easy
10 mins
1.6k
Compress the String
17
80
Moderate
25 mins
0.7k
Tic-Tac-Toe Winner
11
40
Easy
20 mins
0.1k
Generate all parenthesis
23
80
Moderate
30 mins
0.6k
Predecessor and Successor In BST
20
80
Moderate
25 mins
1.2k
Check If Path Exists
6
40
Easy
10 mins
0.4k
Magic Index
Easy
40
135 upvotes
Search In Rotated Sorted Array
Moderate
80
243 upvotes
Intersection of Two Linked Lists
Easy
40
138 upvotes
Ways To Make Coin Change
Moderate
80
66 upvotes
Find Number Of Islands
Moderate
80
66 upvotes
Trapping Rain Water
Moderate
80
58 upvotes
Maximum Subarray Sum
Moderate
80
709 upvotes
LRU Cache Implementation
Moderate
80
49 upvotes
N Queens
Hard
120
64 upvotes
Count Ways To Reach The N-th Stairs
Moderate
80
212 upvotes
Palindrome Linked List
Easy
40
109 upvotes
Partial BST
Moderate
80
52 upvotes
Add Two Numbers As Linked Lists ll
Moderate
80
193 upvotes
Group Anagrams
Moderate
80
13 upvotes
Two Sum
Easy
40
1322 upvotes
Search In A Row Wise And Column Wise Sorted Matrix
Moderate
80
39 upvotes
Trailing Zeros in Factorial
Moderate
80
27 upvotes
Majority element
Easy
40
133 upvotes
Swap Number Without Temporary Variable
Easy
40
12 upvotes
Subtree of Another Tree
Easy
40
32 upvotes
Compress the String
Moderate
80
17 upvotes
Tic-Tac-Toe Winner
Easy
40
11 upvotes
Generate all parenthesis
Moderate
80
23 upvotes
Predecessor and Successor In BST
Moderate
80
20 upvotes
Check If Path Exists
Easy
40
6 upvotes