Solutions to Cracking the Coding Interview Problems
This repository will contain the Links to online judge platforms if the question is avaliable on a particular platform .
Cracking the Coding Interview, 6th Edition Website
Link to Official Solutions
Chapter 1 - Arrays & Strings
Chapter 3 - Stacks and Queues
Chapter 4 - Trees and Graphs
#
Title
Online Judge
My Solution
1
Route Between Nodes
2
Minimal Tree
3
List if Depth
4
Check Balanced
LeetCode
Java
5
Validate BST
LeetCode
Java
6
Successor
7
Build Order
8
First Common Ancestor
LeetCode
Java
9
BST Sequences
10
Check Subtree
11
Random Node
12
Paths with Sum
LeetCode
Java
Chapter 5 - Bit Manupilation
Chapter 6 - Maths and Logic Puzzles
#
Title
Online Judge
My Solution
1
The Heavy Pill
GFG
2
BasketBall
GFG
3
Dominos
GFG
4
Ants on a Triangle
GFG
5
Jugs of Water
GFG
6
Blue-Eyed Island
GFG
7
The Apocalyspse
Youtube
8
The Egg Drop Problem
GFG
9
100 Lockers
GFG
10
Poison
GFG
Chapter 7 - Object Oriented Design
#
Title
Online Judge
My Solution
1
Deck of Cards
2
Call Center
3
Jukebox
4
Parking Lot
5
Online Book Reader
6
Jigsaw
7
Chat Server
8
Othello
9
Circular Array
10
Minesweeper
11
File System
12
Hash Table
Chapter 8 - Recursion and Dynamic Programming
#
Title
Online Judge
My Solution
1
Triple Step
2
Robot in a Grid
3
Magic Index
4
Power Set
5
Recursive Multiply
6
Towers of Hanoi
7
Permutations without Dups
8
Parens
9
Paint Fill
10
Coins
11
Eight Queens
12
Stack Of Boxes
13
Boolean Evaluation
14
Insertion
Chapter 8 - Bit Manupilation
#
Title
Online Judge
My Solution
1
Insertion
1
Insertion
1
Insertion
1
Insertion
1
Insertion
1
Insertion
1
Insertion
1
Insertion
1
Insertion
1
Insertion
1
Insertion
1
Insertion