MCPcopy Create free account

hub / github.com/careercup/CtCI-6th-Edition-JavaScript / functions

Functions268 in github.com/careercup/CtCI-6th-Edition-JavaScript

↓ 43 callersMethodpush
(value)
chapter07/util/Stack.js:25
↓ 42 callersMethodinsert
(value)
chapter10/10.10 - Rank From Stream/rankFromStream.js:9
↓ 39 callersMethodadd
(value)
chapter03/3.4 - Queue via Stacks/queueViaStacks.js:10
↓ 23 callersMethodpush
(value)
chapter03/3.2 - Stack Min/stackMin.js:13
↓ 22 callersMethodremove
()
chapter03/3.4 - Queue via Stacks/queueViaStacks.js:20
↓ 16 callersMethodpop
()
chapter03/3.2 - Stack Min/stackMin.js:21
↓ 15 callersFunctionmysteriousFunction
(n)
chapter05/5.5 - Debugger/debugger.js:1
↓ 14 callersMethodpush
(value)
chapter03/3.3 - Stack of Plates/stackOfPlates.js:14
↓ 12 callersMethodelementAt
(i)
chapter10/10.04 - Sorted Search No Size/listy.js:6
↓ 12 callersMethodenqueue
(value)
chapter03/util/Queue.js:9
↓ 12 callersMethodpeek
()
chapter03/3.4 - Queue via Stacks/queueViaStacks.js:30
↓ 11 callersMethodisEmpty
()
chapter03/3.4 - Queue via Stacks/queueViaStacks.js:40
↓ 10 callersMethodpop
()
chapter07/util/Stack.js:29
↓ 10 callersMethodpop
()
chapter03/3.3 - Stack of Plates/stackOfPlates.js:25
↓ 9 callersFunctioncountEval
(booleans, result)
chapter08/8.14 - Boolean Eval/booleanEval.js:2
↓ 9 callersFunctiontrack
(x)
chapter10/10.10 - Rank From Stream/rankFromStream.js:84
↓ 9 callersFunctionwithinBounds
(point, screen)
chapter08/8.10 - Paint Fill/paintFill.js:1
↓ 8 callersFunctioncoins
(value, currCoin)
chapter08/8.11 - Coins/coins.js:3
↓ 8 callersMethodpush
(value)
chapter03/util/Stack.js:25
↓ 8 callersFunctionsortedMatrixSearch
(matrix, value, front, back)
chapter10/10.09 - Sorted Matrix Search/sortedMatrixSearch.js:1
↓ 7 callersMethodappend
(value)
chapter02/util/LinkedListX.js:29
↓ 7 callersMethodisEmpty
()
chapter04/util/Queue.js:22
↓ 7 callersFunctionprintList
(a)
chapter02/2.4 - Partition/partition.js:58
↓ 7 callersFunctionsortedSearchNoSize
(listy, value, front, back)
chapter10/10.04 - Sorted Search No Size/sortedSearchNoSize.js:29
↓ 7 callersFunctionstackBoxes
(boxes)
chapter08/8.13 - Stack Boxes/stackBoxes.js:14
↓ 6 callersMethodisEmpty
()
chapter07/util/Stack.js:21
↓ 6 callersMethodisEmpty
()
chapter04/util/Stack.js:21
↓ 6 callersFunctionnonBlankMid
(array, front, back)
chapter10/10.05 - Sparse Search/sparseSearch.js:7
↓ 6 callersFunctiontripleStep
(n)
chapter08/8.01 - Triple Step/tripleStepv2.js:11
↓ 5 callersFunctionfindKthToLast
(k, list)
chapter02/2.2 - Return Kth to Last/returnKthToLast.js:3
↓ 5 callersFunctionnqueens
(n)
chapter08/8.12 - Eight Queens/nQueens.js:42
↓ 5 callersFunctionpeek
(stack)
chapter02/2.7 - Intersection/intersection.js:3
↓ 5 callersMethodpush
(value)
chapter04/util/Stack.js:25
↓ 5 callersFunctionsearchInRotatedArray
(array, value, start, end)
chapter10/10.03 - Search In Rotated Array/searchInRotatedArray.js:26
↓ 5 callersMethodsize
()
chapter03/util/Stack.js:17
↓ 4 callersFunctioncheckRoute
(value1, value2, graph)
chapter04/4.01 - Route Between Nodes/routeBetweenNodes.js:7
↓ 4 callersFunctioneveryCharUnique
(str, indexOffset = 'a'.charCodeAt())
chapter01/1.1 - Is Unique/isUnique.js:15
↓ 4 callersFunctionfindRatio
(n)
chapter06/6.07 - The Apocalypse/theApocalypse.js:12
↓ 4 callersMethodmin
()
chapter03/3.2 - Stack Min/stackMin.js:30
↓ 4 callersFunctiononeAway
(string1, string2)
chapter01/1.5 - OneAway/oneAway.js:1
↓ 4 callersFunctionsortedMerge
(a, b)
chapter10/10.01 - Sorted Merge/sortedMerge.js:1
↓ 3 callersFunctionappendToStart
(head, node)
chapter02/2.5 - Sum Lists/sumLists - forward.js:38
↓ 3 callersFunctionchangeChar
(string, position, char)
chapter08/8.12 - Eight Queens/nQueens.js:13
↓ 3 callersFunctioncheckPermute
(stringOne, stringTwo)
chapter01/1.2 - Check Perm/checkPermute.js:1
↓ 3 callersFunctionfindMagic
(array, start, end)
chapter08/8.03 - Magic Index/magicIndex.js:1
↓ 3 callersFunctionfindMid
(front, back)
chapter10/10.05 - Sparse Search/sparseSearch.js:1
↓ 3 callersFunctiongetHash
(key, limit)
chapter07/7.12 - Hash Table/hashTable.js:40
↓ 3 callersMethodgetLastStack
()
chapter03/3.3 - Stack of Plates/stackOfPlates.js:10
↓ 3 callersFunctiongetRankOfNumber
(x)
chapter10/10.10 - Rank From Stream/rankFromStream.js:61
↓ 3 callersMethodisEmpty
()
chapter03/util/Stack.js:21
↓ 3 callersFunctionnumWays
(N)
chapter08/8.01 - Triple Step/tripleStep.js:1
↓ 3 callersMethodpeek
()
chapter03/3.3 - Stack of Plates/stackOfPlates.js:37
↓ 3 callersFunctionpermNoDups
(string)
chapter08/8.08 - Permutations with Dups/permWithDups.js:1
↓ 3 callersMethodpop
()
chapter03/util/Stack.js:29
↓ 3 callersMethodpopAt
(index)
chapter03/3.3 - Stack of Plates/stackOfPlates.js:46
↓ 3 callersFunctionsparseSearch
(string, array, front, back)
chapter10/10.05 - Sparse Search/sparseSearch.js:48
↓ 3 callersFunctionstringRotation
(string1, string2)
chapter01/1.9 - String Rotation/stringRotation.js:1
↓ 3 callersMethodswap
(index1, index2)
chapter10/10.10 - Rank From Stream/rankFromStream.js:43
↓ 2 callersFunctionbinaryToString
(number)
chapter05/5.2 - Binary to String/binaryToString.js:1
↓ 2 callersFunctionbitwiseOp
(binaryString, n, callback)
chapter08/8.12 - Eight Queens/nQueens.js:19
↓ 2 callersFunctioncarryBase10
(head, nextDigitValue)
chapter02/2.5 - Sum Lists/sumLists - forward.js:55
↓ 2 callersFunctioncheckBalanced
(bst)
chapter04/4.04 - Check Balanced/checkBalanced.js:3
↓ 2 callersFunctioncheckOneMissing
(first, second)
chapter01/1.5 - OneAway/oneAway.js:3
↓ 2 callersFunctioncountOnes
(string)
chapter05/5.4 - Next Number/nextNumber.js:1
↓ 2 callersFunctionfindStartEnd
(array, front, back)
chapter10/10.03 - Search In Rotated Array/searchInRotatedArray.js:1
↓ 2 callersFunctionfindSuccessor
(node)
chapter04/4.06 - Successor/successor.js:8
↓ 2 callersFunctionfirstCommonAncestor
(node1, node2)
chapter04/4.08 - First Common Ancestor/firstCommonAncestor.js:24
↓ 2 callersFunctiongroupAnagrams
(strArr)
chapter10/10.02 - Group Anagrams/groupAnagrams.js:1
↓ 2 callersFunctioninsertBalanced
(array)
chapter04/4.02 - Minimal Tree/minimalTree.js:5
↓ 2 callersFunctionleftShift
(binaryString, n)
chapter08/8.12 - Eight Queens/nQueens.js:34
↓ 2 callersFunctionlength
(node)
chapter02/2.5 - Sum Lists/sumLists - forward.js:21
↓ 2 callersFunctionloopDetection
(head)
chapter02/2.8 - Loop Detection/loopDetection.js:3
↓ 2 callersFunctionnext
(number, numOnes, iterator)
chapter05/5.4 - Next Number/nextNumber.js:8
↓ 2 callersFunctionpadList
(shortList, padding)
chapter02/2.5 - Sum Lists/sumLists - forward.js:30
↓ 2 callersFunctionpaintFill
(screen, point, color)
chapter08/8.10 - Paint Fill/paintFill.js:8
↓ 2 callersFunctionpalinPerm
(string)
chapter01/1.4 - PalinPerm/palinPerm.js:1
↓ 2 callersFunctionpalinPerm
(s)
chapter01/1.4 - PalinPerm/palinPerm2.js:1
↓ 2 callersMethodpop
()
chapter02/util/LinkedListX.js:48
↓ 2 callersFunctionprintMatrix
(matrix)
chapter01/1.8 - Zero Matrix/zeroMatrix.js:22
↓ 2 callersFunctionrightShift
(binaryString, n)
chapter08/8.12 - Eight Queens/nQueens.js:38
↓ 2 callersMethodsize
()
chapter07/util/Stack.js:17
↓ 2 callersMethodsize
()
chapter04/util/Stack.js:17
↓ 2 callersFunctionstrComp
(string)
chapter01/1.6 - String Compression/strComp.js:1
↓ 2 callersFunctionsumList
(head1, head2)
chapter02/2.5 - Sum Lists/sumLists.js:4
↓ 2 callersFunctionswap
(array, i, j)
chapter10/10.11 - Peaks And Valleys/peaksAndValleys.js:12
↓ 2 callersFunctionvalidateBST
(bt)
chapter04/4.05 - Validate BST/validateBST.js:7
↓ 1 callersFunctionFindDuplicates
(arr, range = 32000)
chapter10/10.08 - Find Duplicates/findDuplicates.js:13
↓ 1 callersFunctionSumArr
(arr)
chapter04/4.12 - Paths with Sum/pathsWithSum.js:2
↓ 1 callersMethod_toArray
()
chapter02/util/LinkedListX.js:128
↓ 1 callersMethodappend
(value)
chapter07/util/LinkedList.js:16
↓ 1 callersMethodappend
(value)
chapter04/util/LinkedList.js:16
↓ 1 callersMethodappend
(value)
chapter03/util/LinkedList.js:16
↓ 1 callersFunctionbstSequences
(bst)
chapter04/4.09 - BST Sequences/bstSequences.js:3
↓ 1 callersFunctionbuildOrder
(projects, dependencies)
chapter04/4.07 - Build Order/buildOrder.js:13
↓ 1 callersFunctioncheckOneDiff
(first, second)
chapter01/1.5 - OneAway/oneAway.js:27
↓ 1 callersFunctioncheckZeros
(matrix)
chapter01/1.8 - Zero Matrix/zeroMatrix.js:2
↓ 1 callersFunctionconversion
(number1, number2)
chapter05/5.6 - Conversion/conversion.js:8
↓ 1 callersFunctioncountBits
(number)
chapter05/5.6 - Conversion/conversion.js:1
↓ 1 callersFunctiondeleteMidNode
(node)
chapter02/2.3 - Delete Middle Node/deleteMiddleNode.js:4
↓ 1 callersFunctiondrawLine
(screen, width, x1, x2, y)
chapter05/5.8 - Draw Line/drawLine.js:1
next →1–100 of 268, ranked by callers