Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/careercup/ctci
/ functions
Functions
1,645 in github.com/careercup/ctci
⨍
Functions
1,645
◇
Types & classes
400
↓ 1 callers
Method
createGiantArray
()
java/Chapter 18/Question18_7/Question.java:43
↓ 1 callers
Method
createLevelLinkedList
(TreeNode root, ArrayList<LinkedList<TreeNode>> lists, int level)
java/Chapter 4/Question4_4/QuestionDFS.java:11
↓ 1 callers
Method
createLevelLinkedList
(TreeNode root)
java/Chapter 4/Question4_4/QuestionBFS.java:11
↓ 1 callers
Method
createNewGraph
()
java/Chapter 4/Question4_2/Question.java:19
↓ 1 callers
Method
createPoints
()
java/Chapter 7/Question7_6/Question.java:73
↓ 1 callers
Method
createStackDP
(Box[] boxes, Box bottom, HashMap<Box, ArrayList<Box>> stack_map)
java/Chapter 9/Question9_10/Question.java:43
↓ 1 callers
Method
createTree
()
java/Chapter 17/Question17_13/QuestionA.java:48
↓ 1 callers
Method
createTree
()
java/Chapter 17/Question17_13/QuestionC.java:16
↓ 1 callers
Method
createTree
()
java/Chapter 17/Question17_13/QuestionB.java:50
↓ 1 callers
Method
createWordGroups
(String[] list)
java/Chapter 18/Question18_13/WordGroup.java:37
↓ 1 callers
Method
crossOff
(boolean[] flags, int prime)
java/Chapter 7/Introduction/SieveOfEratosthenes.java:5
↓ 1 callers
Method
cut
(Square other)
java/Chapter 7/Question7_5/Square.java:66
↓ 1 callers
Method
dealInitial
()
java/Chapter 8/Question8_1/BlackJackGameAutomator.java:17
↓ 1 callers
Method
debugPrintHash
()
java/Chapter 8/Question8_10/Hash.java:49
↓ 1 callers
Function
deleteDups
(linkedlist)
python/Chapter 2/Question2_1.py:5
↓ 1 callers
Function
deleteDups2
(linkedlist)
python/Chapter 2/Question2_1.py:18
↓ 1 callers
Method
deleteDupsA
(LinkedListNode n)
java/Chapter 2/Question2_1/Question.java:10
↓ 1 callers
Method
deleteDupsC
(LinkedListNode head)
java/Chapter 2/Question2_1/Question.java:24
↓ 1 callers
Method
deleteEntry
(Entry entry)
java/Chapter 8/Question8_9/Directory.java:39
↓ 1 callers
Function
deleteNode
(linkedlist, node)
python/Chapter 2/Question2_3.py:3
↓ 1 callers
Method
depth
(TreeNode node)
java/Chapter 4/Question4_9/Question.java:31
↓ 1 callers
Method
dequeueCats
()
java/Chapter 3/Question3_7/AnimalQueue.java:62
↓ 1 callers
Method
dequeueDogs
()
java/Chapter 3/Question3_7/AnimalQueue.java:54
↓ 1 callers
Method
digitToValue
(char c)
java/Introduction/CompareBinaryToHex/CompareBinaryToHex.java:5
↓ 1 callers
Method
disconnect
()
java/Chapter 8/Question8_2/Call.java:49
↓ 1 callers
Method
dispatchCall
(Caller caller)
java/Chapter 8/Question8_2/CallHandler.java:76
↓ 1 callers
Method
displayBook
(Book book)
java/Chapter 8/Question8_5/Display.java:13
↓ 1 callers
Method
displayUser
(User user)
java/Chapter 8/Question8_5/Display.java:8
↓ 1 callers
Method
divide
(int a, int b)
java/Chapter 7/Question7_4/Question.java:45
↓ 1 callers
Method
doTests
()
java/Chapter 7/Question7_5/Question.java:49
↓ 1 callers
Method
dq
(self)
python/Chapter 3/Question3_5/3_5.py:19
↓ 1 callers
Method
drawLine
(byte[] screen, int width, int x1, int x2, int y)
java/Chapter 5/Question5_8/Question.java:10
↓ 1 callers
Method
eat
()
java/Chapter 16/Question16_3/Philosopher.java:18
↓ 1 callers
Method
encode
(String v, StringBuffer sb)
java/Chapter 17/Question17_10/QuestionOO.java:6
↓ 1 callers
Method
encodeToString
(Element root)
java/Chapter 17/Question17_10/QuestionOO.java:38
↓ 1 callers
Method
encodeTokens
(ByteArrayOutputStream output)
java/Chapter 17/Question17_10/QuestionString.java:30
↓ 1 callers
Method
estimate
(String guess, String solution)
java/Chapter 17/Question17_5/Question.java:41
↓ 1 callers
Method
estimateBad
(String g, String s)
java/Chapter 17/Question17_5/Question.java:88
↓ 1 callers
Method
evaluate
(String expression, int start, int end)
java/Chapter 9/Question9_11/Question.java:74
↓ 1 callers
Method
expand
(int stackNum)
java/Chapter 3/Question3_1/QuestionB.java:82
↓ 1 callers
Method
factorial
(int num)
java/Chapter 17/Question17_3/QuestionB.java:16
↓ 1 callers
Method
factorsOf5
(int i)
java/Chapter 17/Question17_3/QuestionA.java:4
↓ 1 callers
Method
fibonacci
(int i)
java/Chapter 9/Introduction/FibonacciFB.java:6
↓ 1 callers
Method
fibonacci
(int i)
java/Chapter 9/Introduction/Fibonacci.java:4
↓ 1 callers
Function
findAndPrintPath
(t *binarytree.Tree)
go/chapter04/question4.9/question4_9.go:29
↓ 1 callers
Method
findAvailableSpots
(Vehicle vehicle)
java/Chapter 8/Question8_4/Level.java:57
↓ 1 callers
Function
findBeginning
(linkedlist)
python/Chapter 2/Question2_6.py:4
↓ 1 callers
Method
findBestLine
(GraphPoint[] points)
java/Chapter 7/Question7_6/Question.java:49
↓ 1 callers
Function
findCommonAncestor
(t1 *binarytree.Tree, t2 *binarytree.Tree)
go/chapter04/question4.7/question4_7.go:37
↓ 1 callers
Method
findElement
(int[][] matrix, int elem)
java/Chapter 11/Question11_6/QuestionA.java:6
↓ 1 callers
Method
findEndOfLeftSubsequence
(int[] array)
java/Chapter 17/Question17_6/Question.java:5
↓ 1 callers
Function
findKFromLast
Iterative function to find the kth from last element
go/chapter02/question2.2/question2_2.go:34
↓ 1 callers
Function
findKFromLastRecr
recursive function to find the kth from last element
go/chapter02/question2.2/question2_2.go:61
↓ 1 callers
Method
findMissing
(ArrayList<BitInteger> array)
java/Chapter 5/Question5_7/Question.java:26
↓ 1 callers
Method
findOpenNumber
()
java/Chapter 10/Question10_3/Question.java:12
↓ 1 callers
Method
findOpenNumber
()
java/Chapter 10/Question10_3/QuestionB.java:12
↓ 1 callers
Function
findPathEqualsSum
(t *binarytree.Tree, path []int, sum int, level int)
go/chapter04/question4.9/question4_9.go:35
↓ 1 callers
Method
findSquare
(int[][] matrix)
java/Chapter 18/Question18_11/QuestionEff.java:21
↓ 1 callers
Method
findSquare
(int[][] matrix)
java/Chapter 18/Question18_11/Question.java:21
↓ 1 callers
Method
findSquareWithSize
(SquareCell[][] processed, int square_size)
java/Chapter 18/Question18_11/QuestionEff.java:6
↓ 1 callers
Method
findSquareWithSize
(int[][] matrix, int squareSize)
java/Chapter 18/Question18_11/Question.java:6
↓ 1 callers
Method
findStartOfRightSubsequence
(int[] array)
java/Chapter 17/Question17_6/Question.java:14
↓ 1 callers
Function
findSum
(node, givenSum, path=None, depth=0)
python/Chapter 4/Question4_9/Q4_9.py:4
↓ 1 callers
Method
findSum
(TreeNode node, int sum, int[] path, int level)
java/Chapter 4/Question4_9/Question.java:6
↓ 1 callers
Method
findUnsortedSequence
(int[] array)
java/Chapter 17/Question17_6/Question.java:43
↓ 1 callers
Function
find_next_btree
(btree)
python/Chapter 4/Question4_6/ChapQ4.6.py:15
↓ 1 callers
Method
first
()
java/Chapter 16/Question16_5/Foo.java:24
↓ 1 callers
Method
flip
()
java/Chapter 8/Question8_8/Piece.java:10
↓ 1 callers
Method
foo
()
java/Chapter 14/Introduction/Introduction.java:9
↓ 1 callers
Method
foo
(String name)
java/Chapter 16/IntroductionWaitNotify/MyObject.java:4
↓ 1 callers
Method
foo
(String name)
java/Chapter 16/IntroductionSynchronization/MyObject.java:4
↓ 1 callers
Method
foo
(String name)
java/Chapter 16/IntroductionSynchronizedBlocks/MyObject.java:4
↓ 1 callers
Method
generateParens
(int remaining)
java/Chapter 9/Question9_6/QuestionA.java:13
↓ 1 callers
Method
generateParens
(int count)
java/Chapter 9/Question9_6/QuestionB.java:25
↓ 1 callers
Method
generateResults
(int i)
java/Chapter 10/Question10_7/Question.java:5
↓ 1 callers
Method
getAdjacent
()
java/Chapter 4/Question4_2/Node.java:22
↓ 1 callers
Method
getBalance
()
java/Chapter 16/IntroductionLocks/NoLockATM.java:34
↓ 1 callers
Method
getBalance
()
java/Chapter 16/IntroductionLocks/LockedATM.java:40
↓ 1 callers
Method
getBlackJacks
()
java/Chapter 8/Question8_1/BlackJackGameAutomator.java:30
↓ 1 callers
Method
getChar
()
java/CtCILibrary/CtCILibrary/TrieNode.java:39
↓ 1 callers
Method
getDistinctSortedArray
(int size)
java/Chapter 9/Question9_3/Question.java:37
↓ 1 callers
Method
getFrequency
(Hashtable<String, Integer> table, String word)
java/Chapter 17/Question17_9/Question.java:21
↓ 1 callers
Method
getFullPath
()
java/Chapter 8/Question8_9/Entry.java:25
↓ 1 callers
Method
getHandlerForCall
(Call call)
java/Chapter 8/Question8_2/CallHandler.java:63
↓ 1 callers
Method
getId
()
java/Chapter 16/Question16_4/LockNode.java:68
↓ 1 callers
Method
getIncreasingSequence
(ArrayList<HtWt> items)
java/Chapter 11/Question11_7/Question.java:95
↓ 1 callers
Method
getInstance
()
java/Chapter 16/Question16_4/LockFactory.java:27
↓ 1 callers
Method
getInstance
()
java/Chapter 8/Question8_7/UserManager.java:13
↓ 1 callers
Method
getKey
()
java/Chapter 8/Question8_10/Cell.java:24
↓ 1 callers
Method
getKthMagicNumber
(int k)
java/Chapter 7/Question7_7/QuestionA.java:27
↓ 1 callers
Method
getKthMagicNumber
(int k)
java/Chapter 7/Question7_7/QuestionB.java:15
↓ 1 callers
Method
getLetter
(int i, int j)
java/Chapter 18/Question18_13/Rectangle.java:30
↓ 1 callers
Function
getLevelbasedList
(root *binarytree.Tree, level int)
go/chapter04/question4.4/question4_4b.go:40
↓ 1 callers
Function
getLevelbasedList
Here *[]*list.List used in the function argument to input pass by referrence slice
go/chapter04/question4.4/question4_4.go:40
↓ 1 callers
Method
getLock
()
java/Chapter 16/Question16_4/LockNode.java:61
↓ 1 callers
Method
getLongTextBlob
()
java/CtCILibrary/CtCILibrary/AssortedMethods.java:210
↓ 1 callers
Function
getLoopBegin
(l *list.List)
Go/Chapter 2/Question2_6/Question.go:17
↓ 1 callers
Method
getMachineWithId
(int machineID)
java/Chapter 10/Question10_2/Server.java:9
↓ 1 callers
Method
getMaxIndex
(int[] array)
java/Introduction/SwapMinMax/SwapMinMax.java:17
↓ 1 callers
Method
getMaxMatrix
(int[][] original)
java/Chapter 18/Question18_12/QuestionB.java:6
← previous
next →
501–600 of 1,645, ranked by callers