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
getMaxSum
(int[] a)
java/Chapter 17/Question17_8/Question.java:5
↓ 1 callers
Method
getMedian
()
java/Chapter 18/Question18_9/Question.java:35
↓ 1 callers
Method
getMinIndex
(int[] array)
java/Introduction/SwapMinMax/SwapMinMax.java:7
↓ 1 callers
Function
getMinimalBST
(arr []int, low int, high int)
go/chapter04/question4.3/question4_3.go:26
↓ 1 callers
Method
getNameCode
()
java/Chapter 17/Question17_10/Element.java:24
↓ 1 callers
Method
getNext
(int n)
java/Chapter 5/Question5_3/Question.java:73
↓ 1 callers
Method
getNextArith
(int n)
java/Chapter 5/Question5_3/Question.java:118
↓ 1 callers
Method
getNextPrime
(boolean[] flags, int prime)
java/Chapter 7/Introduction/SieveOfEratosthenes.java:15
↓ 1 callers
Method
getNextSlow
(int i)
java/Chapter 5/Question5_3/Question.java:49
↓ 1 callers
Method
getOneEditWords
(String word)
java/Chapter 18/Question18_10/Question.java:54
↓ 1 callers
Method
getOrder
()
java/Chapter 3/Question3_7/Animal.java:16
↓ 1 callers
Method
getOtherParticipant
(User primary)
java/Chapter 8/Question8_7/PrivateChat.java:9
↓ 1 callers
Method
getPath
(int x, int y, ArrayList<Point> path)
java/Chapter 9/Question9_2/QuestionDP.java:21
↓ 1 callers
Method
getPath
(int x, int y, ArrayList<Point> path)
java/Chapter 9/Question9_2/QuestionR.java:20
↓ 1 callers
Method
getPerms
(String str)
java/Chapter 9/Question9_5/Question.java:7
↓ 1 callers
Method
getPersonWithID
(int personID)
java/Chapter 10/Question10_2/Machine.java:9
↓ 1 callers
Method
getPrev
(int n)
java/Chapter 5/Question5_3/Question.java:148
↓ 1 callers
Method
getPrevArith
(int n)
java/Chapter 5/Question5_3/Question.java:203
↓ 1 callers
Method
getPrevSlow
(int i)
java/Chapter 5/Question5_3/Question.java:61
↓ 1 callers
Method
getScoreForColor
(Color c)
java/Chapter 8/Question8_8/Board.java:103
↓ 1 callers
Method
getSortedArray
(int size)
java/Chapter 9/Question9_3/QuestionB.java:46
↓ 1 callers
Method
getSubsets
(ArrayList<Integer> set, int index)
java/Chapter 9/Question9_4/Question.java:7
↓ 1 callers
Method
getSubsets2
(ArrayList<Integer> set)
java/Chapter 9/Question9_4/Question.java:39
↓ 1 callers
Method
getSuitFromValue
(int value)
java/Chapter 8/Question8_1/Suit.java:18
↓ 1 callers
Method
getTagCode
()
java/Chapter 17/Question17_10/Attribute.java:11
↓ 1 callers
Method
getTail
(BiNode node)
java/Chapter 17/Question17_13/QuestionB.java:24
↓ 1 callers
Method
getTrieDictionary
()
java/CtCILibrary/CtCILibrary/AssortedMethods.java:223
↓ 1 callers
Method
getValue
()
java/Chapter 8/Question8_10/Cell.java:28
↓ 1 callers
Method
getWinners
()
java/Chapter 8/Question8_1/BlackJackGameAutomator.java:65
↓ 1 callers
Method
getWord
(int i)
java/Chapter 18/Question18_13/WordGroup.java:29
↓ 1 callers
Method
getWords
()
java/Chapter 18/Question18_13/WordGroup.java:33
↓ 1 callers
Function
get_operator_indexes
Return a generator of the indexes where operators can be found. The returned generator yields, one by one, the indexes of 'str_' where there
python/Chapter 9/Question9_11/parenthesizing.py:35
↓ 1 callers
Function
getleftMostChild
(node *binarytree.Tree)
go/chapter04/question4.6/question4_6.go:69
↓ 1 callers
Method
hasCycle
(Hashtable<Integer, Boolean> touchedNodes)
java/Chapter 16/Question16_4/LockNode.java:34
↓ 1 callers
Method
hasCycle
(Hashtable<Integer, Boolean> touchedNodes, int[] resourcesInOrder)
java/Chapter 16/Question16_4/LockFactory.java:38
↓ 1 callers
Method
hasNextToken
(String expectedToken)
java/Chapter 17/Question17_10/QuestionString.java:103
↓ 1 callers
Method
hasValidNext
(int i)
java/Chapter 5/Question5_3/Question.java:20
↓ 1 callers
Method
hasValidPrev
(int i)
java/Chapter 5/Question5_3/Question.java:39
↓ 1 callers
Method
hasWon1
(Piece[][] board)
java/Chapter 17/Question17_2/QuestionB.java:44
↓ 1 callers
Method
hasWon2
(Piece[][] board)
java/Chapter 17/Question17_2/QuestionB.java:63
↓ 1 callers
Method
hasWon3
(Piece[][] board)
java/Chapter 17/Question17_2/QuestionB.java:95
↓ 1 callers
Method
hasWon4
(Piece[][] board)
java/Chapter 17/Question17_2/QuestionB.java:156
↓ 1 callers
Method
height
Return the height of a valid stack of Boxes. The Boxes must be given in a sorted sequence, where the first element is the bottom of
python/Chapter 9/Question9_10/tallest_stack.py:61
↓ 1 callers
Method
height
()
java/CtCILibrary/CtCILibrary/TreeNode.java:69
↓ 1 callers
Function
in_order_check
(btree)
python/Chapter 4/Question4_6/ChapQ4.6.py:53
↓ 1 callers
Function
in_order_search
(btree)
python/Chapter 4/Question4_5/ChapQ4.5.py:26
↓ 1 callers
Method
incrementRank
()
java/Chapter 8/Question8_2/Call.java:39
↓ 1 callers
Method
init
(boolean[] flags)
java/Chapter 7/Introduction/SieveOfEratosthenes.java:23
↓ 1 callers
Method
initialize
(int count)
java/Chapter 16/Question16_4/LockFactory.java:31
↓ 1 callers
Method
initialize
(int n, int missing)
java/Chapter 5/Question5_7/Question.java:8
↓ 1 callers
Method
initialize
()
java/Chapter 11/Question11_7/Question.java:56
↓ 1 callers
Method
initializeDeck
()
java/Chapter 8/Question8_1/BlackJackGameAutomator.java:83
↓ 1 callers
Function
inorderSucc
(treenode)
python/Chapter 4/Question4_6/ChapQ4.6.py:104
↓ 1 callers
Method
inorderSucc
(TreeNode n)
java/Chapter 4/Question4_6/Question.java:7
↓ 1 callers
Function
insert
Inserts a node into the BST
go/chapter04/binarytree/binarytree.go:122
↓ 1 callers
Method
insert
(int d)
java/Chapter 11/Question11_8/RankNode.java:12
↓ 1 callers
Function
insertBefore
(node, value)
python/Chapter 2/Question2_5.py:73
↓ 1 callers
Method
insertCharAt
(String word, char c, int i)
java/Chapter 9/Question9_5/Question.java:29
↓ 1 callers
Method
insertInside
(String str, int leftIndex)
java/Chapter 9/Question9_6/QuestionA.java:7
↓ 1 callers
Method
insertLine
(HashMap<Double, ArrayList<Line>> linesBySlope, Line line)
java/Chapter 7/Question7_6/Question.java:36
↓ 1 callers
Method
insertParensAround
(String expression, int ind)
java/Chapter 9/Question9_11/Question.java:94
↓ 1 callers
Method
insertResults
(String query, String[] results)
java/Chapter 10/Question10_7/Cache.java:78
↓ 1 callers
Method
insertString
(String s, int index)
java/Chapter 18/Question18_8/SuffixTreeNode.java:13
↓ 1 callers
Method
intersect
(Line line2)
java/Chapter 7/Question7_3/Line.java:18
↓ 1 callers
Method
isAllElementsNull
(List<T> list)
java/CtCILibrary/CtCILibrary/BTreePrinter.java:83
↓ 1 callers
Function
isAllNodeAvailableInT1
(t1, t2 *binarytree.Tree)
go/chapter04/question4.8/question4_8.go:53
↓ 1 callers
Method
isAvailable
()
java/Chapter 8/Question8_4/ParkingSpot.java:17
↓ 1 callers
Method
isBST
()
java/CtCILibrary/CtCILibrary/TreeNode.java:53
↓ 1 callers
Function
isBalanced
(t *binarytree.Tree)
go/chapter04/question4.1/question4_1.go:41
↓ 1 callers
Method
isBefore
(HtWt other)
java/Chapter 11/Question11_7/HtWt.java:25
↓ 1 callers
Method
isBlackJack
()
java/Chapter 8/Question8_1/BlackJackHand.java:57
↓ 1 callers
Method
isComplete
(int l, int h, WordGroup groupList)
java/Chapter 18/Question18_13/Rectangle.java:42
↓ 1 callers
Function
isEqual
(L1,L2)
python/Chapter 2/Question2_7.py:89
↓ 1 callers
Method
isEquivalent
(double a, double b)
java/Chapter 7/Question7_6/Line.java:20
↓ 1 callers
Method
isFree
(int x, int y)
java/Chapter 9/Question9_2/QuestionR.java:12
↓ 1 callers
Method
isFull
()
java/Chapter 3/Question3_3/Stack.java:13
↓ 1 callers
Function
isInc
(r1, r2)
python/Chapter 4/Question4_8/ChapQ4.8.py:147
↓ 1 callers
Method
isOlder
(other Being)
Go/Chapter 3/Question3_7/Question.go:22
↓ 1 callers
Method
isOperator
(char c)
java/Chapter 9/Question9_11/Question.java:83
↓ 1 callers
Method
isOver
()
java/Chapter 8/Question8_8/Automator.java:78
↓ 1 callers
Function
isPalindrome
(L1)
python/Chapter 2/Question2_7.py:77
↓ 1 callers
Function
isPalindrome
* func reverseList1(current *list.Element) { if (current == nil) { return } if (current.Next()==nil) { head = current return } reverseList
go/chapter02/question2.7/question2_7.go:78
↓ 1 callers
Method
isPalindrome
(LinkedListNode head)
java/Chapter 2/Question2_7/Question.java:33
↓ 1 callers
Method
isPalindrome
(LinkedListNode head)
java/Chapter 2/Question2_7/QuestionB.java:8
↓ 1 callers
Method
isPalindromeRecurse
(LinkedListNode head, int length)
java/Chapter 2/Question2_7/Question.java:15
↓ 1 callers
Function
isPalindromeUsingStack
APPROACH - II
go/chapter02/question2.7/question2_7.go:90
↓ 1 callers
Function
isPalindrome_recu_helper
(current, length)
python/Chapter 2/Question2_7.py:33
↓ 1 callers
Method
isPartialOK
(int l, Trie trie)
java/Chapter 18/Question18_13/Rectangle.java:57
↓ 1 callers
Function
isPathAvailable
(t1 *tree.Tree, t2 *tree.Tree)
go/chapter04/question4.2/question4_2.go:37
↓ 1 callers
Function
isPermutation
(str1, str2 string)
go/chapter01/question1.3/question1_3.go:35
↓ 1 callers
Function
isRotatedString
Function to verify whether the first string is the left rotation of the string
go/chapter01/question1.8/question1_8.go:31
↓ 1 callers
Function
isRotation
(s1, s2 string)
Go/Chapter 1/Question1_8/Question.go:14
↓ 1 callers
Method
isSameAs
(int r, int c)
java/Chapter 8/Question8_8/Location.java:11
↓ 1 callers
Method
isSquare
(SquareCell[][] matrix, int row, int col, int size)
java/Chapter 18/Question18_11/QuestionEff.java:40
↓ 1 callers
Method
isSquare
(int[][] matrix, int row, int col, int size)
java/Chapter 18/Question18_11/Question.java:38
↓ 1 callers
Function
isSubstring
(s1,s2)
python/Chapter 1/Question1_8/ChapQ1.8.py:5
↓ 1 callers
Method
isSubstring
(String big, String small)
java/Chapter 1/Question1_8/Question.java:4
↓ 1 callers
Function
isT2PresentInT1
(t1, t2 *binarytree.Tree)
go/chapter04/question4.8/question4_8.go:38
↓ 1 callers
Function
isUnique
(str string)
go/chapter01/question1.1/question1_1.go:28
↓ 1 callers
Function
isUniqueChars
using a bitvector
Go/Chapter 1/Question1_1/Question.go:4
← previous
next →
601–700 of 1,645, ranked by callers