Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ani03sha/RedQuarkTutorials
/ types & classes
Types & classes
100 in github.com/ani03sha/RedQuarkTutorials
⨍
Functions
377
◇
Types & classes
100
↓ 17 callers
Class
ListNode
LeetCode/Python/src/Reverse_Nodes_In_K_Group.py:7
↓ 13 callers
Class
ListNode21
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/MergeTwoSortedLists.kt:75
↓ 12 callers
Class
ListNode
LeetCode/Python/src/Merge_Two_Sorted_Lists.py:6
↓ 9 callers
Class
ListNode
LeetCode/Python/src/Merge_K_Sorted_Lists.py:7
↓ 8 callers
Class
ListNode
LeetCode/Python/src/Add_Two_Numbers.py:6
↓ 8 callers
Class
ListNode
LeetCode/Python/src/Remove_Nth_Node_From_End_Of_List.py:6
↓ 8 callers
Class
ListNode
* This class represents each node in the linked list */
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/AddTwoNumbers.kt:71
↓ 8 callers
Class
ListNode19
* This class represents each node in the linked list */
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/RemoveNthNodeFromEndOfList.kt:60
↓ 6 callers
Class
ListNode
LeetCode/Python/src/Swap_Nodes_In_Pairs.py:6
↓ 1 callers
Class
DivideTwoIntegers
LeetCode/Python/src/Divide_Two_Integers.py:6
↓ 1 callers
Class
DivideTwoIntegers
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/DivideTwoIntegers.kt:3
↓ 1 callers
Class
ImplementStrStr
LeetCode/Python/src/Implement_StrStr.py:6
↓ 1 callers
Class
ImplementStrStr
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/ImplementStrStr.kt:3
↓ 1 callers
Class
ListNode
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/SwapNodesInPairs.kt:39
↓ 1 callers
Class
ListNode
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/MergeKSortedLists.kt:60
↓ 1 callers
Class
ListNode
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/ReverseNodesInKGroup.kt:64
↓ 1 callers
Class
MergeKSortedList
LeetCode/Python/src/Merge_K_Sorted_Lists.py:13
↓ 1 callers
Class
MergeKSortedLists
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/MergeKSortedLists.kt:3
↓ 1 callers
Class
NextPermutation
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/NextPermutation.kt:3
↓ 1 callers
Class
RemoveDuplicatesFromSortedArray
LeetCode/Python/src/Remove_Duplicates_From_Sorted_Array.py:7
↓ 1 callers
Class
RemoveDuplicatesFromSortedArray
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/RemoveDuplicatesFromSortedArray.kt:3
↓ 1 callers
Class
RemoveElement
LeetCode/Python/src/Remove_Element.py:7
↓ 1 callers
Class
RemoveElement
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/RemoveElement.kt:3
↓ 1 callers
Class
ReverseNodesInKGroup
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/ReverseNodesInKGroup.kt:3
↓ 1 callers
Class
ReverseNodesInKGroups
LeetCode/Python/src/Reverse_Nodes_In_K_Group.py:13
↓ 1 callers
Class
SubstringWithConcatenationOfAllWords
LeetCode/Python/src/Substring_With_Concatenation_Of_All_Words.py:7
↓ 1 callers
Class
SubstringWithConcatenationOfAllWords
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/SubstringWithConcatenationOfAllWords.kt:4
↓ 1 callers
Class
SwapNodesInPairs
LeetCode/Python/src/Swap_Nodes_In_Pairs.py:12
↓ 1 callers
Class
SwapNodesInPairs
LeetCode/Kotlin/src/main/kotlin/org/redquark/tutorials/leetcode/SwapNodesInPairs.kt:3
Class
LeetCode/JavaScript/src/add_two_numbers.js:49
Class
AddTwoNumbers
@author Anirudh
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/AddTwoNumbers.java:6
Class
AnagramSubstringSearch
@author Anirudh Sharma <p> We are given two strings "text" and "pattern" of size n and m respectively where m < n. Find all the indices in text where
ConceptOfTheDay/Java/src/main/java/org/redquark/conceptoftheday/AnagramSubstringSearch.java:12
Class
BitDifference
You are given two numbers A and B, count the number of bits needed to be flipped to convert A to B.
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/BitDifference.java:6
Class
CheckEvenOrOdd
Check if a given integer n is even or odd.
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/CheckEvenOrOdd.java:6
Class
CheckKthBit
Given a number n and a bit number k, check if kth bit of n is set or not. A bit is called set if it is 1. Position of set bit '1' should be indexed st
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/CheckKthBit.java:7
Class
CheckOppositeSign
Given two integers a and b, check if they have opposite signs
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/CheckOppositeSign.java:6
Class
ContainerWithMostWater
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ContainerWithMostWater.java:6
Class
CountSetBitsInANumber
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/CountSetBitsInANumber.java:3
Class
CountTotalSetBits
Given a number n, find the total count of set bits for all numbers from 1 to N(both inclusive).
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/CountTotalSetBits.java:6
Class
DivideTwoIntegers
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/DivideTwoIntegers.java:6
Class
Entry
This class represents one element in the cache
Design/src/main/java/org/redquark/tutorials/design/caching/LRUCache.java:126
Class
FindFirstAndLastPositionOfElementInSortedArray
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/FindFirstAndLastPositionOfElementInSortedArray.java:8
Class
FindFirstSetBit
Given an integer an N. The task is to return the position of first set bit found from the right side in the binary representation of the number. <p> N
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/FindFirstSetBit.java:9
Class
FourSum
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/FourSum.java:10
Class
GenerateParentheses
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/GenerateParentheses.java:9
Class
GeneratePowerSet
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/GeneratePowerSet.java:6
Class
ImplementStrStr
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ImplementStrStr.java:6
Class
IntegerToRoman
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/IntegerToRoman.java:6
Class
KadaneAlgorithm
@author Anirudh Sharma
ConceptOfTheDay/Java/src/main/java/org/redquark/conceptoftheday/KadaneAlgorithm.java:6
Class
Knapsack
@author Anirudh Sharma
ConceptOfTheDay/Java/src/main/java/org/redquark/conceptoftheday/Knapsack.java:6
Class
LFUCache
This class implements the least frequently used cache
Design/src/main/java/org/redquark/tutorials/design/caching/LFUCache.java:11
Class
LFUCacheTest
Design/src/test/java/org/redquark/tutorials/design/caching/LFUCacheTest.java:12
Class
LRUCache
This class represents the LRU cache implementation
Design/src/main/java/org/redquark/tutorials/design/caching/LRUCache.java:9
Class
LRUCacheTest
Design/src/test/java/org/redquark/tutorials/design/caching/LRUCacheTest.java:11
Class
LetterCombinationsOfAPhoneNumber
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/LetterCombinationsOfAPhoneNumber.java:9
Class
ListNode
LeetCode/JavaScript/src/add_two_numbers.js:49
Class
ListNode
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/MergeTwoSortedLists.java:77
Class
ListNode
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ReverseNodesInKGroup.java:93
Class
ListNode
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/RemoveNthNodeFromEndOfList.java:60
Class
ListNode
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/SwapNodesInPairs.java:55
Class
ListNode
This class represents each node in the linked list
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/AddTwoNumbers.java:61
Class
ListNode
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/MergeKSortedLists.java:82
Class
LongestCommonPrefix
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/LongestCommonPrefix.java:6
Class
LongestConsecutive1s
Given a number n, ind the length of the longest consecutive 1s in its binary representation.
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/LongestConsecutive1s.java:6
Class
LongestPalindromicSubstring
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/LongestPalindromicSubstring.java:6
Class
LongestSubstringWithoutRepeatingCharacters
@author Anirudh Sharma <p> Given a string s, find the length of the longest substring without repeating characters.
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/LongestSubstringWithoutRepeatingCharacters.java:11
Class
LongestValidParentheses
@author Anirudh Sharma <p> Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses s
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/LongestValidParentheses.java:14
Class
MaximumSubsetXOR
Given an array nums[] of n positive integers, find an integer denoting the maximum XOR subset value in the given array nums[].
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/MaximumSubsetXOR.java:7
Class
MaximumSumOfKElements
@author Anirudh Sharma <p> Find maximum sum of k consecutive elements in the array
ConceptOfTheDay/Java/src/main/java/org/redquark/conceptoftheday/MaximumSumOfKElements.java:8
Class
MedianOfTwoSortedArrays
@author Anirudh Sharma <p> Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. <p> Follo
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/MedianOfTwoSortedArrays.java:20
Class
MergeKSortedLists
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/MergeKSortedLists.java:6
Class
MergeTwoSortedLists
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/MergeTwoSortedLists.java:6
Class
NextPermutation
@author Anirudh Sharma <p> Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. <p> If
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/NextPermutation.java:21
Class
PalindromeNumber
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/PalindromeNumber.java:6
Class
PowerOf4And8
Given an integer, check if it is a power of 4 and 8 or not
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/PowerOf4And8.java:6
Class
PowerOfTwo
Given a non-negative integer N. The task is to check if N is a power of 2. More formally, check if N can be expressed as 2x for some x.
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/PowerOfTwo.java:7
Class
RegularExpressionMatching
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/RegularExpressionMatching.java:6
Class
RemoveDuplicatesFromSortedArray
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/RemoveDuplicatesFromSortedArray.java:3
Class
RemoveElement
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/RemoveElement.java:6
Class
RemoveNthNodeFromEndOfList
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/RemoveNthNodeFromEndOfList.java:6
Class
ReverseBits
Give an integer, reverse its bits. For e.g., if the input is 10011, then the output should be 11001.
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/ReverseBits.java:6
Class
ReverseInteger
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ReverseInteger.java:6
Class
ReverseNodesInKGroup
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ReverseNodesInKGroup.java:6
Class
RightMostDifferentBit
Given two numbers M and N, find the position of the rightmost different bit in the binary representation of numbers.
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/RightMostDifferentBit.java:6
Class
RomanToInteger
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/RomanToInteger.java:9
Class
RotateBits
@author Anirudh Sharma <p> Given an integer N and an integer D, rotate the binary representation of the integer N by D digits to the left as well as r
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/RotateBits.java:12
Class
SearchInRotatedSortedArray
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/SearchInRotatedSortedArray.java:6
Class
SetKthBit
@author Anirudh Sharma <p> Given a number N and a value K. From the right, set the Kth bit in the binary representation of N. The position of Least Si
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/SetKthBit.java:9
Class
SingleNumber
At a party of N people, each person is denoted by an integer. Couples are represented by the same number. Find out the only singe person in the party
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/SingleNumber.java:7
Class
SparseNumber
Given a number N, check whether it is sparse or not. A number is said to be a sparse number if no two or more consecutive bits are set in the binary r
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/SparseNumber.java:7
Class
StringToInteger
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/StringToInteger.java:6
Class
SubstringWithConcatenationOfAllWords
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/SubstringWithConcatenationOfAllWords.java:11
Class
SwapEvenOddBits
Given an unsigned integer n, swap all odd bits with even bits.
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/SwapEvenOddBits.java:6
Class
SwapNodesInPairs
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/SwapNodesInPairs.java:6
Class
ThreeSum
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ThreeSum.java:10
Class
ThreeSumClosest
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ThreeSumClosest.java:8
Class
ToggleBitsInRange
@author Anirudh Sharma <p> Given a non-negative number N and two values L and R, toggle the bits in the range L to R in the binary representation of N
ProblemSolving/src/main/java/org/redquark/tutorials/problemsolving/bitmagic/ToggleBitsInRange.java:11
Class
TwoSum
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/TwoSum.java:10
Class
ValidParentheses
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ValidParentheses.java:8
Class
ZigZagConversion
@author Anirudh Sharma
LeetCode/Java/src/main/java/org/redquark/tutorials/leetcode/ZigZagConversion.java:6