MCPcopy Create free account

hub / github.com/careercup/ctci / functions

Functions1,645 in github.com/careercup/ctci

↓ 77 callersMethodadd
(int d)
java/Chapter 3/Question3_4/Tower.java:17
↓ 67 callersMethodlength
()
java/Chapter 18/Question18_13/WordGroup.java:25
↓ 62 callersMethodappend
(String s)
java/Chapter 18/Question18_13/Rectangle.java:75
↓ 49 callersMethodPushFront
PushFront inserts a new element e with value v at the front of list l and returns e.
go/chapter02/list/list.go:149
↓ 49 callersMethodsize
()
java/Chapter 8/Question8_9/File.java:12
↓ 46 callersMethodget
(K key)
java/Chapter 8/Question8_10/Hash.java:34
↓ 39 callersMethodNext
Next returns the next list element or nil.
go/chapter02/list/list.go:41
↓ 39 callersMethodput
(K key, V value)
java/Chapter 8/Question8_10/Hash.java:17
↓ 33 callersMethodadd
(int a, int b)
java/Chapter 18/Question18_1/Question.java:5
↓ 31 callersMethodPushFront
PushFront inserts a new element e with value v at the front of list l
Go/Chapter 2/list/list.go:28
↓ 30 callersFunctionnways
Return in how many possible ways we can run up the stairs
python/Chapter 9/Question9_01/staircase.py:28
↓ 28 callersMethodeq
(self, data)
python/Chapter 3/Question3_5/3_5.py:16
↓ 28 callersMethodrandomIntInRange
(int min, int max)
java/CtCILibrary/CtCILibrary/AssortedMethods.java:11
↓ 26 callersMethodFront
Front returns the first element of list l or nil.
go/chapter02/list/list.go:79
↓ 25 callersMethodget
(int i)
java/Chapter 14/Question14_6/CircularArray.java:24
↓ 24 callersMethodpush
(int v)
java/Chapter 3/Question3_3/Stack.java:22
↓ 23 callersMethodisEmpty
()
java/Chapter 3/Question3_3/Stack.java:39
↓ 22 callersMethodpop
()
java/Chapter 3/Question3_3/Stack.java:32
↓ 21 callersMethodFront
()
Go/Chapter 2/list/list.go:47
↓ 19 callersMethodmain
@param args
java/Chapter 8/Question8_2/Test.java:8
↓ 19 callersMethodprintForward
()
java/CtCILibrary/CtCILibrary/LinkedListNode.java:33
↓ 18 callersMethodarrayToString
(int[] array)
java/CtCILibrary/CtCILibrary/AssortedMethods.java:74
↓ 18 callersMethodjoin
(Node above, Node below)
java/Chapter 3/Question3_3/Stack.java:17
↓ 18 callersMethodpeek
()
java/Chapter 3/Question3_5/MyQueue.java:33
↓ 17 callersMethodprint
()
java/Chapter 8/Question8_4/Car.java:13
↓ 16 callersMethodPushBack
PushBack inserts a new element e with value v at the back of list l and returns e.
go/chapter02/list/list.go:155
↓ 15 callersMethodsize
()
java/Chapter 3/Question3_5/MyQueue.java:13
↓ 14 callersMethodfind
(int id)
java/Chapter 8/Question8_5/Library.java:30
↓ 14 callersMethodprintMatrix
(int[][] matrix)
java/CtCILibrary/CtCILibrary/AssortedMethods.java:114
↓ 14 callersMethodpush
(int stackNum, int value)
java/Chapter 3/Question3_1/QuestionB.java:87
↓ 14 callersMethodremove
()
java/Chapter 3/Question3_5/MyQueue.java:38
↓ 14 callersMethodtoString
()
java/Chapter 9/Question9_10/Box.java:30
↓ 13 callersMethodabs
(int a)
java/Chapter 7/Question7_4/Question.java:21
↓ 13 callersMethodpop
(self)
python/Chapter 3/Question3_5/3_5.py:60
↓ 13 callersMethodprint
()
java/CtCILibrary/CtCILibrary/TreeNode.java:101
↓ 12 callersMethodPrint
()
java/Chapter 7/Question7_6/Line.java:24
↓ 12 callersMethodPush
(value int64)
Go/Chapter 3/Question3_2/Question.go:27
↓ 12 callersMethodnextToken
()
java/Chapter 17/Question17_10/QuestionString.java:79
↓ 12 callersMethodtoFullBinaryString
(int a)
java/CtCILibrary/CtCILibrary/AssortedMethods.java:90
↓ 10 callersMethodLen
()
Go/Chapter 2/list/list.go:51
↓ 10 callersMethodaddEntry
(Entry entry)
java/Chapter 8/Question8_9/Directory.java:43
↓ 10 callersMethodcontains
(Square other)
java/Chapter 7/Question7_5/Square.java:21
↓ 10 callersMethodcreateMinimalBST
(int arr[], int start, int end)
java/CtCILibrary/CtCILibrary/TreeNode.java:86
↓ 10 callersMethodenqueue
(Animal a)
java/Chapter 3/Question3_7/AnimalQueue.java:10
↓ 10 callersMethodenqueue
(a Being)
Go/Chapter 3/Question3_7/Question.go:78
↓ 10 callersMethodmax
(int[] array, int left, int right)
java/Chapter 18/Question18_6/QuestionC.java:65
↓ 10 callersMethodsetNext
(LinkedListNode n)
java/CtCILibrary/CtCILibrary/LinkedListNode.java:16
↓ 9 callersMethodclone
()
java/Chapter 17/Question17_14/Result.java:11
↓ 9 callersMethodget
(int pos)
java/Chapter 10/Question10_4/BitSet.java:10
↓ 9 callersMethodgetId
()
java/Chapter 8/Question8_7/User.java:96
↓ 9 callersMethodprint
()
java/Chapter 18/Question18_11/Subsquare.java:11
↓ 9 callersMethodprint
(byte[] output)
java/Chapter 17/Question17_10/QuestionString.java:197
↓ 9 callersMethodrandomArray
(int N, int min, int max)
java/CtCILibrary/CtCILibrary/AssortedMethods.java:33
↓ 9 callersFunctionrandomLinkedList
(length, min, max)
python/Chapter 2/classes/LinkedList.py:53
↓ 9 callersMethodrandomMatrix
(int M, int N, int min, int max)
java/CtCILibrary/CtCILibrary/AssortedMethods.java:23
↓ 9 callersMethodsort
(String s)
java/Chapter 1/Question1_3/Question.java:4
↓ 8 callersMethoddoTestFull
(Square s1, Square s2, Point start, Point end)
java/Chapter 7/Question7_5/Question.java:45
↓ 8 callersMethodfind
(int d)
java/CtCILibrary/CtCILibrary/TreeNode.java:75
↓ 8 callersMethodmiddle
()
java/Chapter 7/Question7_5/Square.java:17
↓ 8 callersMethodprint
()
java/Chapter 8/Question8_1/Card.java:36
↓ 8 callersMethodprintWhitespaces
(int count)
java/CtCILibrary/CtCILibrary/BTreePrinter.java:71
↓ 8 callersMethodremove
(Book b)
java/Chapter 8/Question8_5/Library.java:18
↓ 7 callersMethodPop
Remove the top element from the stack and return it's value If the stack is empty, return maxInt, error
Go/Chapter 3/Question3_2/Question.go:39
↓ 7 callersMethodPush
(val interface{})
go/chapter02/stack/stack.go:35
↓ 7 callersMethodString
()
Go/Chapter 3/Question3_7/Question.go:18
↓ 7 callersFunctionallunique
(s)
python/Chapter 1/Question1_1/alluniq.py:1
↓ 7 callersMethodbinPrint
(int i)
java/Chapter 5/Question5_3/Question.java:231
↓ 7 callersMethodmin
(Result r1, Result r2)
java/Chapter 17/Question17_14/Result.java:15
↓ 7 callersMethodnumToString
(int number)
java/Chapter 17/Question17_7/Question.java:11
↓ 7 callersMethodprint
(int[] path, int start, int end)
java/Chapter 4/Question4_9/Question.java:45
↓ 7 callersFunctionrevStr
(s)
python/Chapter 1/Question1_2/revstr.py:1
↓ 7 callersMethodset
Sets k-th most-significant bit.
java/Chapter 5/Question5_7/BitInteger.java:26
↓ 7 callersMethodsetPrevious
(LinkedListNode p)
java/CtCILibrary/CtCILibrary/LinkedListNode.java:26
↓ 6 callersMethodaddNode
(self,value)
python/Chapter 2/classes/LinkedList.py:16
↓ 6 callersMethodaddToQueue
(self,char)
python/Chapter 1/Question1_4/ChapQ1.4.py:11
↓ 6 callersFunctionanagram
(s1, s2)
python/Chapter 1/Question1_3/anagram.py:1
↓ 6 callersMethodcreateTreeFromArray
(int[] array)
java/CtCILibrary/CtCILibrary/AssortedMethods.java:181
↓ 6 callersMethodinsertValue
insertValue is a convenience wrapper for insert(&Element{Value: v}, at).
go/chapter02/list/list.go:114
↓ 6 callersMethodprint
()
java/Chapter 7/Question7_3/Line.java:14
↓ 6 callersMethodprintIntArray
(int[] array)
java/CtCILibrary/CtCILibrary/AssortedMethods.java:145
↓ 6 callersMethodrandomInt
(int n)
java/Chapter 7/Question7_4/Question.java:66
↓ 6 callersFunctionreplaceSpaces
(s)
python/Chapter 1/Question1_4/replace.py:1
↓ 5 callersMethodLen
Len returns the number of elements of list l. The complexity is O(1).
go/chapter02/list/list.go:76
↓ 5 callersFunctionNewCat
(s string)
Go/Chapter 3/Question3_7/Question.go:64
↓ 5 callersFunctionNewDog
(s string)
Go/Chapter 3/Question3_7/Question.go:61
↓ 5 callersMethodPush
Pushes/inserts a value at the end/tail of the queue. Note: this function does mutate the queue. go-routine safe.
go/chapter04/queue/queue.go:69
↓ 5 callersMethodaddAdjacent
(Node x)
java/Chapter 4/Question4_2/Node.java:14
↓ 5 callersMethodaddNode
(self, treenode)
python/Chapter 4/Question4_7/BinaryTreeNode.py:36
↓ 5 callersMethodcompareTo
( Object s )
java/Chapter 11/Question11_7/HtWt.java:8
↓ 5 callersFunctioncompress
(str_)
python/Chapter 1/Question1_5/compress.py:1
↓ 5 callersMethodconcat
(BiNode x, BiNode y)
java/Chapter 17/Question17_13/QuestionC.java:84
↓ 5 callersMethodcountOnes
(int i)
java/Chapter 5/Question5_3/Question.java:5
↓ 5 callersMethodfind_path
Return the path from (row, column) to (x - 1, y - 1)
python/Chapter 9/Question9_02/robot_paths.py:57
↓ 5 callersMethodgetBoard
()
java/Chapter 8/Question8_8/Game.java:25
↓ 5 callersMethodgetColor
()
java/Chapter 8/Question8_8/Piece.java:18
↓ 5 callersMethodgetFromUser
()
java/Chapter 8/Question8_7/AddRequest.java:22
↓ 5 callersMethodinsert
insert inserts e after at, increments l.len, and returns e.
go/chapter02/list/list.go:102
↓ 5 callersMethodisAce
()
java/Chapter 8/Question8_1/BlackJackCard.java:34
↓ 5 callersMethodmark_as_forbidden
Mark (x, y) as off-limits
python/Chapter 9/Question9_02/robot_paths.py:40
↓ 5 callersMethodpop
(self)
python/Chapter 3/Question3_2/ChapQ3.2.py:12
next →1–100 of 1,645, ranked by callers