Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ani03sha/RedQuarkTutorials
/ functions
Functions
377 in github.com/ani03sha/RedQuarkTutorials
⨍
Functions
377
◇
Types & classes
100
↓ 3 callers
Function
letterCombinations
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/LetterCombinationsOfAPhoneNumber.kt:3
↓ 3 callers
Method
letterCombinations
(String digits)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/LetterCombinationsOfAPhoneNumber.java:11
↓ 3 callers
Function
longestCommonPrefix
(strs: List[str])
LeetCode/Python/src/Longest_Common_Prefix.py:7
↓ 3 callers
Function
longestValidParentheses
(s)
LeetCode/JavaScript/src/longest_valid_parentheses.js:12
↓ 3 callers
Function
longestValidParentheses
(s: str)
LeetCode/Python/src/Longest_Valid_Parentheses.py:14
↓ 3 callers
Function
longestValidParentheses
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/LongestValidParentheses.kt:3
↓ 3 callers
Method
longestValidParentheses
@param s - string containing '(' and ')' @return length of the longest valid parentheses
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/LongestValidParentheses.java:20
↓ 3 callers
Function
mergeTwoLists
(l1, l2)
LeetCode/JavaScript/src/merge_two_sorted_lists.js:1
↓ 3 callers
Function
mergeTwoLists
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/MergeTwoSortedLists.kt:3
↓ 3 callers
Method
mergeTwoLists
(ListNode l1, ListNode l2)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/MergeTwoSortedLists.java:8
↓ 3 callers
Function
printList
(node)
LeetCode/JavaScript/src/swap_nodes_in_pairs.js:31
↓ 3 callers
Function
printList
(node)
LeetCode/JavaScript/src/remove_nth_node_from_end_of_list.js:34
↓ 3 callers
Function
printList
(node)
LeetCode/JavaScript/src/merge_two_sorted_lists.js:48
↓ 3 callers
Function
printList
(node: ListNode)
LeetCode/Python/src/Remove_Nth_Node_From_End_Of_List.py:12
↓ 3 callers
Function
printList
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/RemoveNthNodeFromEndOfList.kt:32
↓ 3 callers
Function
printList
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/MergeTwoSortedLists.kt:66
↓ 3 callers
Method
printList
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/SwapNodesInPairs.kt:30
↓ 3 callers
Method
printList
(ListNode mergedList)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/MergeTwoSortedLists.java:69
↓ 3 callers
Method
printList
(ListNode head)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/SwapNodesInPairs.java:33
↓ 3 callers
Function
removeNthFromEnd
(head, n)
LeetCode/JavaScript/src/remove_nth_node_from_end_of_list.js:1
↓ 3 callers
Function
removeNthFromEnd
(head: ListNode, n: int)
LeetCode/Python/src/Remove_Nth_Node_From_End_Of_List.py:19
↓ 3 callers
Function
removeNthFromEnd
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/RemoveNthNodeFromEndOfList.kt:3
↓ 3 callers
Method
removeNthFromEnd
(ListNode head, int n)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/RemoveNthNodeFromEndOfList.java:8
↓ 3 callers
Function
reverse
(x)
LeetCode/JavaScript/src/reverse_integer.js:4
↓ 3 callers
Function
reverse
(x: int)
LeetCode/Python/src/Reverse_Integer.py:7
↓ 3 callers
Method
rotate
(int N, int D)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/RotateBits.java:14
↓ 3 callers
Function
search
(nums, target)
LeetCode/JavaScript/src/search_in_rotated_sorted_array.js:4
↓ 3 callers
Function
search
(nums: List[int], target: int)
LeetCode/Python/src/Search_In_Rotated_Sorted_Array.py:7
↓ 3 callers
Function
search
* @author Anirudh Sharma */
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/SearchInRotatedSortedArray.kt:6
↓ 3 callers
Method
search
(int[] nums, int target)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/SearchInRotatedSortedArray.java:8
↓ 3 callers
Function
swapPairs
(head)
LeetCode/JavaScript/src/swap_nodes_in_pairs.js:1
↓ 3 callers
Method
swapPairs
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/SwapNodesInPairs.kt:5
↓ 3 callers
Method
swapPairs
(ListNode head)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/SwapNodesInPairs.java:8
↓ 3 callers
Function
threeSum
(nums: List[int])
LeetCode/Python/src/Three_Sum.py:7
↓ 3 callers
Function
threeSum
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/ThreeSum.kt:7
↓ 3 callers
Method
threeSum
(int[] nums)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ThreeSum.java:12
↓ 3 callers
Method
toggleBits
(int N, int L, int R)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/ToggleBitsInRange.java:13
↓ 2 callers
Method
convert
(String s, int numRows)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ZigZagConversion.java:8
↓ 2 callers
Method
count
(int n)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/CountTotalSetBits.java:8
↓ 2 callers
Method
countBitsFlip
(int a, int b)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/BitDifference.java:8
↓ 2 callers
Function
findIndices
* @author Anirudh Sharma * * We are given two strings "text" and "pattern" of size n and m respectively where m < n. * Find all the indices in text
ConceptOfTheDay/Kotlin/src/main/java/org/redquark/conceptoftheday/AnagramSubstringSearch.kt:9
↓ 2 callers
Method
findIndices
(String text, String pattern)
ConceptOfTheDay/Java/src/main/java/org/redquark/conceptoftheday/AnagramSubstringSearch.java:14
↓ 2 callers
Method
findSingle
(int[] nums)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/SingleNumber.java:9
↓ 2 callers
Function
find_indices
* @author Anirudh Sharna
ConceptOfTheDay/JavaScript/src/anagram_substring_search.js:4
↓ 2 callers
Function
find_indices
(text, patten)
ConceptOfTheDay/Python/src/anagram_substring_search.py:13
↓ 2 callers
Method
generate
(int[] S)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/GeneratePowerSet.java:8
↓ 2 callers
Method
getFirstSetBit
(int n)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/FindFirstSetBit.java:11
↓ 2 callers
Method
has
(K key)
Design/src/main/java/org/redquark/tutorials/design/caching/LRUCache.java:32
↓ 2 callers
Method
invalidate
()
Design/src/main/java/org/redquark/tutorials/design/caching/LFUCache.java:94
↓ 2 callers
Function
isCountEqual
(text_count, pattern_count)
ConceptOfTheDay/Python/src/anagram_substring_search.py:6
↓ 2 callers
Function
isCountEqual
ConceptOfTheDay/Kotlin/src/main/java/org/redquark/conceptoftheday/AnagramSubstringSearch.kt:42
↓ 2 callers
Method
isCountEqual
(int[] textCount, int[] patternCount)
ConceptOfTheDay/Java/src/main/java/org/redquark/conceptoftheday/AnagramSubstringSearch.java:47
↓ 2 callers
Method
isPowerOf4
(int n)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/PowerOf4And8.java:8
↓ 2 callers
Method
isPowerOf8
(int n)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/PowerOf4And8.java:12
↓ 2 callers
Method
isSparse
(int n)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/SparseNumber.java:9
↓ 2 callers
Function
longestCommonPrefix
(strs)
LeetCode/JavaScript/src/longest_common_prefix.js:1
↓ 2 callers
Function
longestCommonPrefix
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/LongestCommonPrefix.kt:3
↓ 2 callers
Method
longestCommonPrefix
@param strs - input array of strings @return longest common prefix
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/LongestCommonPrefix.java:12
↓ 2 callers
Method
maxConsecutiveOnes
(int N)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/LongestConsecutive1s.java:8
↓ 2 callers
Method
maximumSubsetXORValue
(int[] nums)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/MaximumSubsetXOR.java:9
↓ 2 callers
Function
merge
(left, right)
LeetCode/JavaScript/src/merge_k_sorted_lists.js:24
↓ 2 callers
Method
moveToFront
(Entry<K, V> entry)
Design/src/main/java/org/redquark/tutorials/design/caching/LRUCache.java:111
↓ 2 callers
Method
posOfRightMostDiffBit
(int m, int n)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/RightMostDifferentBit.java:8
↓ 2 callers
Method
printList
(self, head)
LeetCode/Python/src/Swap_Nodes_In_Pairs.py:36
↓ 2 callers
Function
removeDuplicates
(nums)
LeetCode/JavaScript/src/remove_duplicates_from_sorted_array.js:1
↓ 2 callers
Method
removeDuplicates
(self, nums: List[int])
LeetCode/Python/src/Remove_Duplicates_From_Sorted_Array.py:8
↓ 2 callers
Method
removeDuplicates
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/RemoveDuplicatesFromSortedArray.kt:5
↓ 2 callers
Method
removeDuplicates
(int[] nums)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/RemoveDuplicatesFromSortedArray.java:5
↓ 2 callers
Function
removeElement
(nums, val)
LeetCode/JavaScript/src/remove_element.js:1
↓ 2 callers
Method
removeElement
(nums: List[int], val: int)
LeetCode/Python/src/Remove_Element.py:9
↓ 2 callers
Method
removeElement
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/RemoveElement.kt:4
↓ 2 callers
Method
removeElement
(int[] nums, int val)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/RemoveElement.java:8
↓ 2 callers
Function
reverse
(nums, i, j)
LeetCode/JavaScript/src/next_permutation.js:51
↓ 2 callers
Function
reverse
(nums, i, j)
LeetCode/Python/src/Next_Permutation.py:15
↓ 2 callers
Method
reverse
(int[] nums, int i, int j)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/NextPermutation.java:60
↓ 2 callers
Method
reverse
(int n)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/ReverseBits.java:8
↓ 2 callers
Method
setKthBit
(int N, int K)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/SetKthBit.java:11
↓ 2 callers
Method
swap
(int[] nums, int i, int index)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/NextPermutation.java:68
↓ 2 callers
Method
swap
(int n)
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/SwapEvenOddBits.java:8
↓ 2 callers
Method
swapPairs
(self, head: ListNode)
LeetCode/Python/src/Swap_Nodes_In_Pairs.py:13
↓ 2 callers
Function
threeSum
(nums)
LeetCode/JavaScript/src/three_sum.js:1
↓ 2 callers
Function
threeSumClosest
(nums, target)
LeetCode/JavaScript/src/three_sum_closest.js:1
↓ 2 callers
Function
twoSum
(nums, target)
LeetCode/JavaScript/src/two_sum.js:5
↓ 2 callers
Function
twoSum
(nums: List[int], target: int)
LeetCode/Python/src/Two_Sum.py:7
↓ 2 callers
Function
twoSum
* @param nums - input array of numbers * @param target - the value of target * @return - array of indices of two numbers which will add up to targ
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/TwoSum.kt:8
↓ 2 callers
Method
twoSum
@param nums - input array of numbers @param target - the value of target @return - array of indices of two numbers which will add up to target
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/TwoSum.java:17
↓ 1 callers
Method
addNode
(Entry<K, V> entry)
Design/src/main/java/org/redquark/tutorials/design/caching/LRUCache.java:89
↓ 1 callers
Function
addTwoNumbers
(l1, l2)
LeetCode/JavaScript/src/add_two_numbers.js:5
↓ 1 callers
Function
addTwoNumbers
(l1: ListNode, l2: ListNode)
LeetCode/Python/src/Add_Two_Numbers.py:12
↓ 1 callers
Function
addTwoNumbers
* @author Anirudh Sharma */
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/AddTwoNumbers.kt:6
↓ 1 callers
Method
addTwoNumbers
@param l1 - head of the first linked list @param l2 - head of the second linked list @return - head of the list with the sum
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/AddTwoNumbers.java:13
↓ 1 callers
Method
evict
(K key)
Design/src/main/java/org/redquark/tutorials/design/caching/LFUCache.java:101
↓ 1 callers
Function
findCombinations
(combinations, digits, previous, index, lettersAndNumbersMappings)
LeetCode/JavaScript/src/letter_combinations_of_a_phone_number.js:25
↓ 1 callers
Function
findCombinations
(combinations, digits, previous, index, lettersAndNumbersMapping)
LeetCode/Python/src/Letter_Combinations_Of_A_Phone_Number.py:7
↓ 1 callers
Function
findCombinations
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/LetterCombinationsOfAPhoneNumber.kt:27
↓ 1 callers
Method
findCombinations
(List<String> combinations, String digits, StringBuilder previous, int index, String[] lettersAndNumbersMappin
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/LetterCombinationsOfAPhoneNumber.java:35
↓ 1 callers
Function
findFirstOccurrence
(nums, target)
LeetCode/JavaScript/src/find_first_and_last_position_of_element_in_sorted_array.js:8
↓ 1 callers
Function
findFirstOccurrence
(nums, target)
LeetCode/Python/src/Find_First_And_Last_Position_Of_Element_In_Sorted_Array.py:7
↓ 1 callers
Function
findFirstOccurrence
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/FindFirstAndLastPositionOfElementInSortedArray.kt:7
↓ 1 callers
Method
findFirstOccurrence
(int[] nums, int target)
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/FindFirstAndLastPositionOfElementInSortedArray.java:14
← previous
next →
101–200 of 377, ranked by callers