Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexhagiopol/cracking-the-coding-interview
/ functions
Functions
453 in github.com/alexhagiopol/cracking-the-coding-interview
⨍
Functions
453
◇
Types & classes
48
↓ 103 callers
Method
SinglyLinkedNode
cpp_solutions/chapter_02_linked_lists/Node.h:25
↓ 64 callers
Method
BinaryNode
cpp_solutions/chapter_02_linked_lists/Node.h:120
↓ 59 callers
Method
getValue
equality check
cpp_solutions/chapter_02_linked_lists/Node.h:15
↓ 58 callers
Method
getNext
cpp_solutions/chapter_02_linked_lists/Node.h:28
↓ 21 callers
Method
getLeft
cpp_solutions/chapter_02_linked_lists/Node.h:134
↓ 19 callers
Method
getRight
cpp_solutions/chapter_02_linked_lists/Node.h:137
↓ 19 callers
Function
vectorToList
cpp_solutions/chapter_02_linked_lists/Node.h:156
↓ 17 callers
Method
ticTacWin
cpp_solutions/chapter_16_moderate/problem_16_04_ticTacWin.cpp:10
↓ 16 callers
Method
setLeft
cpp_solutions/chapter_02_linked_lists/Node.h:125
↓ 16 callers
Method
setNext
cpp_solutions/chapter_02_linked_lists/Node.h:29
↓ 15 callers
Method
setRight
cpp_solutions/chapter_02_linked_lists/Node.h:128
↓ 14 callers
Function
factorialZeros
cpp_solutions/chapter_16_moderate/problem_16_05_factorialZeros.cpp:4
↓ 14 callers
Function
rotatedSearch
cpp_solutions/chapter_10_sorting_and_searching/problem_10_03_rotatedSearch.h:64
↓ 13 callers
Method
Node
cpp_solutions/chapter_02_linked_lists/Node.h:11
↓ 12 callers
Method
Point2
cpp_solutions/chapter_16_moderate/problem_16_03_intersection.h:13
↓ 12 callers
Method
addChild
cpp_solutions/chapter_02_linked_lists/Node.h:94
↓ 12 callers
Method
enqueue
(self, value)
python_solutions/chapter_03_stacks_queues/Queue.py:8
↓ 12 callers
Method
isEmpty
check if stack is empty
cpp_solutions/chapter_03_stacks_and_queues/Stack.h:16
↓ 12 callers
Method
push
cpp_solutions/chapter_02_linked_lists/Node.h:44
↓ 11 callers
Method
insert
cpp_solutions/chapter_04_trees_and_graphs/problem_04_11_randomBST.h:52
↓ 11 callers
Method
track
cpp_solutions/chapter_10_sorting_and_searching/problem_10_10_rankFromStream.cpp:4
↓ 10 callers
Method
is_empty
(self)
python_solutions/chapter_03_stacks_queues/Stack.py:9
↓ 9 callers
Function
getNext
cpp_solutions/chapter_05_bit_manipulation/problem_05_04_nextNumber.cpp:42
↓ 9 callers
Function
getPrev
cpp_solutions/chapter_05_bit_manipulation/problem_05_04_nextNumber.cpp:76
↓ 9 callers
Method
get_node
(self, value)
python_solutions/chapter_04_trees_and_graphs/problem_04_01_path_exists.py:32
↓ 9 callers
Function
peaksAndValleys
cpp_solutions/chapter_10_sorting_and_searching/problem_10_11_peaksAndValleys.h:54
↓ 9 callers
Method
pop
(self)
python_solutions/chapter_03_stacks_queues/Stack.py:22
↓ 9 callers
Function
returnKthToLast
cpp_solutions/chapter_02_linked_lists/problem_02_02_returnKthToLast.h:6
↓ 9 callers
Method
setParent
cpp_solutions/chapter_02_linked_lists/Node.h:131
↓ 9 callers
Function
sparseSearch
cpp_solutions/chapter_10_sorting_and_searching/problem_10_05_sparseSearch.cpp:67
↓ 8 callers
Method
Stack
cpp_solutions/chapter_03_stacks_and_queues/Stack.h:11
↓ 8 callers
Function
checkSubtree
cpp_solutions/chapter_04_trees_and_graphs/problem_04_10_checkSubtree.h:38
↓ 8 callers
Function
numberMax
cpp_solutions/chapter_16_moderate/problem_16_07_numberMax.cpp:4
↓ 8 callers
Method
push
(self, value)
python_solutions/chapter_03_stacks_queues/Stack.py:17
↓ 8 callers
Method
push
add item to top of stack
cpp_solutions/chapter_03_stacks_and_queues/Stack.h:18
↓ 8 callers
Function
stringifyScreen
cpp_solutions/chapter_05_bit_manipulation/problem_05_08_drawLine.cpp:45
↓ 7 callers
Function
binarySearch
cpp_solutions/chapter_10_sorting_and_searching/binarySearch.h:23
↓ 7 callers
Function
flipBitToWin
cpp_solutions/chapter_05_bit_manipulation/problem_05_03_flipBitToWin.cpp:4
↓ 7 callers
Method
getRank
cpp_solutions/chapter_10_sorting_and_searching/problem_10_10_rankFromStream.cpp:36
↓ 7 callers
Function
intersection
cpp_solutions/chapter_16_moderate/problem_16_03_intersection.cpp:4
↓ 7 callers
Method
peek
(self)
python_solutions/chapter_03_stacks_queues/Stack.py:12
↓ 7 callers
Method
pop
cpp_solutions/chapter_02_linked_lists/Node.h:53
↓ 7 callers
Method
pop
remove item from top of stack
cpp_solutions/chapter_03_stacks_and_queues/Stack.h:24
↓ 7 callers
Method
push
override push() function from base class
cpp_solutions/chapter_03_stacks_and_queues/problem_03_02_StackMin.h:36
↓ 6 callers
Method
enqueue
cpp_solutions/chapter_03_stacks_and_queues/problem_03_06_animalShelter.cpp:24
↓ 6 callers
Method
getName
cpp_solutions/chapter_03_stacks_and_queues/problem_03_06_animalShelter.h:43
↓ 6 callers
Method
getValue
getters and setters
cpp_solutions/chapter_12_cpp/problem_12_09_smartPointer.h:70
↓ 6 callers
Function
listToVector
cpp_solutions/chapter_02_linked_lists/Node.h:172
↓ 6 callers
Function
matrixSearch
cpp_solutions/chapter_10_sorting_and_searching/problem_10_09_matrixSearch.h:168
↓ 6 callers
Function
pathExistsDFS
cpp_solutions/chapter_04_trees_and_graphs/problem_04_01_pathExists.h:22
↓ 6 callers
Method
peek_head
(self)
python_solutions/chapter_03_stacks_queues/problem_03_06_animal_shelter.py:37
↓ 6 callers
Function
recursiveMultiply
cpp_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_05_recursiveMultiply.cpp:19
↓ 6 callers
Method
remove_head
(self)
python_solutions/chapter_03_stacks_queues/problem_03_06_animal_shelter.py:40
↓ 6 callers
Function
searchNoSize
cpp_solutions/chapter_10_sorting_and_searching/problem_10_04_searchNoSize.cpp:38
↓ 6 callers
Function
successor
cpp_solutions/chapter_04_trees_and_graphs/problem_04_06_successor.h:46
↓ 6 callers
Function
wordFrequencies
cpp_solutions/chapter_16_moderate/problem_16_02_wordFrequencies.cpp:28
↓ 5 callers
Function
anagramSort
cpp_solutions/chapter_10_sorting_and_searching/problem_10_02_anagramSort.cpp:6
↓ 5 callers
Function
contiguousSequence
cpp_solutions/chapter_16_moderate/problem_16_17_contiguousSequence.cpp:5
↓ 5 callers
Method
dequeueAny
cpp_solutions/chapter_03_stacks_and_queues/problem_03_06_animalShelter.cpp:51
↓ 5 callers
Method
dequeue_any
(self)
python_solutions/chapter_03_stacks_queues/problem_03_06_animal_shelter.py:78
↓ 5 callers
Method
elementAt
inherit initializer list constructor
cpp_solutions/chapter_10_sorting_and_searching/problem_10_04_searchNoSize.h:45
↓ 5 callers
Method
find
(self)
python_solutions/chapter_04_trees_and_graphs/problem_04_11_random_BST.py:84
↓ 5 callers
Function
firstCommonAncestor
cpp_solutions/chapter_04_trees_and_graphs/problem_04_08_firstCommonAncestor.h:44
↓ 5 callers
Method
getRefCount
cpp_solutions/chapter_12_cpp/problem_12_09_smartPointer.h:72
↓ 5 callers
Function
mergeSort
cpp_solutions/chapter_10_sorting_and_searching/mergeSort.h:53
↓ 5 callers
Function
palindrome
cpp_solutions/chapter_02_linked_lists/problem_02_06_palindrome.h:25
↓ 5 callers
Method
peek
inspect item at top of stack without removing
cpp_solutions/chapter_03_stacks_and_queues/Stack.h:38
↓ 5 callers
Function
pondSizes
cpp_solutions/chapter_16_moderate/problem_16_19_pondSizes.cpp:17
↓ 5 callers
Function
quickSort
cpp_solutions/chapter_10_sorting_and_searching/quickSort.h:30
↓ 5 callers
Function
smallestDifference
cpp_solutions/chapter_16_moderate/problem_16_06_smallestDifference.h:23
↓ 4 callers
Function
URLify
(string)
python_solutions/chapter_01_arrays_and_strings/problem_01_03_URLify.py:32
↓ 4 callers
Method
URLify
cpp_solutions/chapter_01_arrays_and_strings/problem_01_03_URLify.cpp:31
↓ 4 callers
Function
binarySearchHelper
cpp_solutions/chapter_10_sorting_and_searching/binarySearch.h:5
↓ 4 callers
Function
binaryToString
cpp_solutions/chapter_05_bit_manipulation/problem_05_02_binaryToString.cpp:4
↓ 4 callers
Method
dequeue
(self)
python_solutions/chapter_03_stacks_queues/Queue.py:17
↓ 4 callers
Function
drawLine
cpp_solutions/chapter_05_bit_manipulation/problem_05_08_drawLine.cpp:82
↓ 4 callers
Function
getPairValues
Returns pair associated with number
cpp_solutions/chapter_10_sorting_and_searching/problem_10_08_findDuplicates.cpp:7
↓ 4 callers
Method
getParent
cpp_solutions/chapter_02_linked_lists/Node.h:140
↓ 4 callers
Function
linearIndex
cpp_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_02_robotGrid.cpp:6
↓ 4 callers
Function
paintFill
cpp_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_10_paintFill.cpp:5
↓ 4 callers
Function
permutationsNoDups
cpp_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_07_permutationsNoDups.cpp:58
↓ 4 callers
Method
removeChild
cpp_solutions/chapter_02_linked_lists/Node.h:98
↓ 3 callers
Function
alignedFree
cpp_solutions/chapter_12_cpp/problem_12_10_alignedMalloc.h:45
↓ 3 callers
Function
alignedMalloc
cpp_solutions/chapter_12_cpp/problem_12_10_alignedMalloc.h:33
↓ 3 callers
Function
buildOrder
cpp_solutions/chapter_04_trees_and_graphs/problem_04_07_buildOrder.cpp:38
↓ 3 callers
Function
createPowerSet
cpp_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_04_powerSet.cpp:4
↓ 3 callers
Method
dequeue
cpp_solutions/chapter_03_stacks_and_queues/problem_03_04_QueueViaStacks.h:32
↓ 3 callers
Function
divingBoard
cpp_solutions/chapter_16_moderate/problem_16_11_divingBoard.cpp:4
↓ 3 callers
Function
findLoop
cpp_solutions/chapter_02_linked_lists/problem_02_08_findLoop.h:27
↓ 3 callers
Method
getChildren
cpp_solutions/chapter_04_trees_and_graphs/problem_04_11_randomBST.h:83
↓ 3 callers
Function
histogramVolume
cpp_solutions/chapter_17_hard/problem_17_21_histogramVolume.h:25
↓ 3 callers
Function
lastKLines
cpp_solutions/chapter_12_cpp/problem_12_01_lastKLines.h:43
↓ 3 callers
Function
livingPeople
cpp_solutions/chapter_16_moderate/problem_16_10_livingPeople.cpp:4
↓ 3 callers
Function
magicIndex
cpp_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_03_magicIndex.cpp:22
↓ 3 callers
Function
pairwiseSwap
cpp_solutions/chapter_05_bit_manipulation/problem_05_07_pairwiseSwap.cpp:4
↓ 3 callers
Function
permutationsWithDups
cpp_solutions/chapter_08_recursion_and_dynamic_programming/problem_08_08_permutationsWithDups.cpp:47
↓ 3 callers
Method
pop
(self)
python_solutions/chapter_03_stacks_queues/problem_03_03_stack_of_plates.py:16
↓ 3 callers
Method
pop
(self, s)
python_solutions/chapter_03_stacks_queues/problem_03_01_three_in_one.py:37
↓ 3 callers
Method
push
(self, s, value)
python_solutions/chapter_03_stacks_queues/problem_03_01_three_in_one.py:8
↓ 3 callers
Function
removeDups
cpp_solutions/chapter_02_linked_lists/problem_02_01_removeDups.h:7
next →
1–100 of 453, ranked by callers