Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishruth-S/CompetitiveCode
/ types & classes
Types & classes
136 in github.com/Vishruth-S/CompetitiveCode
⨍
Functions
692
◇
Types & classes
136
↓ 8 callers
Class
TreeNode
LeetCode_problems/Invert Binary Tree/invert_binary_Tree.py:3
↓ 6 callers
Class
Node
LeetCode_problems/Cycle Detection in Linked List/Solution.py:1
↓ 3 callers
Class
ListNode
LeetCode_problems/merge two sorted linked list/Solution.py:8
↓ 3 callers
Class
ListNode
LeetCode_problems/Add Two Numbers Linked List/solution.py:8
↓ 2 callers
Class
SinglyLinkedListNode
Hackerrank_problems/Cycle Detection/solution.py:9
↓ 1 callers
Class
Graph
HackerEarth_problems/Edges on a path/solution.py:10
↓ 1 callers
Class
LinkedList
LeetCode_problems/Cycle Detection in Linked List/Solution.py:6
↓ 1 callers
Class
Queue
A queue using two stacks (head and tail), the head stack keeps the elements in a queue order, it means ready to dequeue or print the top
Hackerrank_problems/Queue using Two Stacks/solution.py:1
↓ 1 callers
Class
SinglyLinkedList
Hackerrank_problems/Reverse Linked List/solution.py:14
↓ 1 callers
Class
SinglyLinkedList
Hackerrank_problems/Cycle Detection/solution.py:14
↓ 1 callers
Class
SinglyLinkedListNode
Hackerrank_problems/Reverse Linked List/solution.py:9
Class
BiggerIsGreater
Hackerrank_problems/Bigger is Greater/BiggerIsGreater.java:12
Enum
DayOfWeek
lets us use descriptive names for day of the week
project_euler_problems/CountingSundays/solution.cpp:14
Class
Dinic
HackerEarth_problems/New Friends/solution.cpp:44
Class
FastReader
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:24
Class
Fibonacci
Misc/Fibonacci_Search/solution.java:25
Class
FlowEdge
HackerEarth_problems/New Friends/solution.cpp:38
Class
HeapSort
Misc/Heap_Sort/solution.java:42
Class
HotelApartment
create an instance for hotel apartment
Hackerrank_problems/Hotel Price/solution.cpp:20
Class
HotelRoom
create an instance for hotel room
Hackerrank_problems/Hotel Price/solution.cpp:6
Class
Islands
GeeksForGeeks/Number of islands/Islands.java:1
Class
Main
Hackerrank_problems/2D Arrays/solution.java:3
Enum
Month
using enum here so that we can use descriptive month names instead of numbers 0, 1, ... 11 when accessing array of days per month
project_euler_problems/CountingSundays/solution.cpp:7
Class
Node
Link list node */
GeeksForGeeks/Detect Loop in Linked List/solution.cpp:5
Class
Node
Defining the structure
GeeksForGeeks/Palindrome_Linked_List/Solution.cpp:5
Class
Node
GeeksForGeeks/Palindrome_Linked_List/Solution.cpp:7
Class
Node
Defining the structure of the node created
GeeksForGeeks/Merge_Sort_for_Linked_List/Solution.cpp:18
Class
Node
GeeksForGeeks/Merge_Sort_for_Linked_List/Solution.cpp:20
Class
Node
HackerEarth_problems/Shubham and Subarray Xor/solution.cpp:11
Class
Queue
GeeksForGeeks/QueueUsingStacks/solution.cpp:11
Class
Result
Hackerrank_problems/counting_valleys/Solution.java:16
Class
Solution
GeeksForGeeks/Detect Loop in Linked List/Solution.java:13
Class
Solution
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:12
Class
Solution
LeetCode_problems/Roman to Integer/solution.cpp:78
Class
Solution
LeetCode_problems/first-bad-version/Solution.py:11
Class
Solution
LeetCode_problems/Reverse Integer/solution.cpp:66
Class
Solution
LeetCode_problems/Maximum Product Subarray/solution.py:6
Class
Solution
LOGIC: =================================================================================================== 1. We maintain two variables `surplus`, `de
LeetCode_problems/Gas Station/solution.cpp:26
Class
Solution
LeetCode_problems/Length of Last Word/solution.cpp:7
Class
Solution
LeetCode_problems/kth_factor_of_n/solution.py:2
Class
Solution
LeetCode_problems/XOR Operation in an Array/solution.py:1
Class
Solution
LeetCode_problems/Permutation Sequence/Solution.cpp:23
Class
Solution
Definition for singly-linked list. public class ListNode { int val; ListNode next; ListNode(int x) { val = x; } }
LeetCode_problems/Delete Node/Solution.java:9
Class
Solution
LeetCode_problems/Possible Bipartition/Solution.java:1
Class
Solution
LeetCode_problems/merge k sorted list/Solution.java:2
Class
Solution
LeetCode_problems/merge two sorted linked list/Solution.py:12
Class
Solution
LeetCode_problems/count-good-triplets/Solution.py:12
Class
Solution
LeetCode_problems/Range addition II/solution.cpp:1
Class
Solution
time complexity -O(n),space complexity -O(1)*/
LeetCode_problems/Next Permutation/solution.cpp:2
Class
Solution
LeetCode_problems/Find_the_Difference/solution.py:2
Class
Solution
LeetCode_problems/Number of Islands/solution1.cpp:1
Class
Solution
LeetCode_problems/Spiral Matrix/solution.py:12
Class
Solution
LeetCode_problems/H_Index/solution.py:60
Class
Solution
AUTHOR: github.com/Sanjay235 LOGIC: ========================================================================================== 1. As the set of interv
LeetCode_problems/Insert Interval/solution.cpp:31
Class
Solution
LeetCode_problems/Insert Interval/InsertInterval.java:1
Class
Solution
* Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * };
LeetCode_problems/Linked List Components/solution.cpp:52
Class
Solution
LeetCode_problems/Unique Paths III/solution.cpp:3
Class
Solution
LeetCode_problems/Spiral Matrix II/solution.java:26
Class
Solution
LeetCode_problems/Median_of_two_sorted_array/solution.cpp:1
Class
Solution
LeetCode_problems/Search Rotated Sorted Array/Solution.java:16
Class
Solution
AUTHOR: github.com/Sanjay235 LOGIC: ================================================================================================ 1. For every leve
LeetCode_problems/Compare Version Number/solution2.cpp:23
Class
Solution
LeetCode_problems/Compare Version Number/solution.cpp:15
Class
Solution
LeetCode_problems/Remove Nth Node from End/solution.cpp:62
Class
Solution
LeetCode_problems/Least Number of Unique Integers after K Removals/solution.py:1
Class
Solution
LeetCode_problems/Dungeon Game/solution.cpp:20
Class
Solution
Sort by k in ascending order so that people with 0 people ahead are first (a.second > b.second) If both have same k then make sure Larger Height is ah
LeetCode_problems/Queue Reconstruction by Height/Solution.cpp:6
Class
Solution
LeetCode_problems/UniqueMorseCode/solution.cpp:15
Class
Solution
LeetCode_problems/Monotonic Array/solution_1.py:1
Class
Solution
LeetCode_problems/add digits/solution.cpp:1
Class
Solution
LeetCode_problems/Add Two Numbers Linked List/solution.py:14
Class
Solution
LeetCode_problems/Predict the winner/Solution.py:75
Class
Solution
LeetCode_problems/Remove Covered Intervals/Solution.java:14
Class
Solution
LeetCode_problems/Wildcard_Matching/solution.py:7
Class
Solution
LeetCode_problems/Unique Paths II/solution1.cpp:1
Class
Solution
LeetCode_problems/Wriggle_Sort_2/solution.cpp:1
Class
Solution
LeetCode_problems/Count All Valid Pickup and Delivery Options/solution.cpp:23
Class
Solution
LeetCode_problems/Longest Substring Without Repeating Characters/Solution.cpp:1
Class
Solution
Definition for a binary tree node. public class TreeNode { int val; TreeNode left; TreeNode right; TreeNode() {} TreeNode(int val)
LeetCode_problems/Binary_Tree_level_Order_Traversal/sol.java:16
Class
Solution
LeetCode_problems/range-sum-of-bst/Solution.py:12
Class
Solution
LeetCode_problems/Jewels and Stones/solution.cpp:1
Class
Solution
LeetCode_problems/Jewels and Stones/solution.py:1
Class
Solution
LeetCode_problems/Remove Element/solution.cpp:6
Class
Solution
LeetCode_problems/Winner of an Array Game/solution.cpp:1
Class
Solution
LeetCode_problems/Running Sum of 1d Array/solution.py:1
Class
Solution
LeetCode_problems/Number_of_good_pairs/solution.cpp:11
Class
Solution
LeetCode_problems/add-binary/Solution.py:16
Class
Solution
LeetCode_problems/DecryptStringFromAlphabetToInteger/solution.cpp:18
Class
Solution
LeetCode_problems/graph clone/solution.cpp:1
Class
Solution
LeetCode_problems/Defanging an IP Address/solution.py:1
Class
Solution
LeetCode_problems/Trapping-rain-water/Solution.java:2
Class
Solution
LeetCode_problems/Minimum Path Sum/Solution.java:17
Class
Solution
* Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), l
LeetCode_problems/all elements in two binary search trees/solution.cpp:12
Class
Solution
LeetCode_problems/First_Unique_Character_in_a_String/solution.py:2
Class
Solution
LeetCode_problems/Majority Element/solution1.py:1
Class
Solution
* Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * L
LeetCode_problems/Reorder_List/solution.cpp:61
Class
Solution
time complexity-O(n*2^n) , space complexity(n*2^n)*/ 1-total number of subsets will be-(2^n)(where n is array size) 2-upper bound of a k bit number wi
LeetCode_problems/subsets/solution.cpp:6
Class
Solution
LeetCode_problems/kth-smallest-element-in-a-bst/Solution.py:12
Class
Solution
LeetCode_problems/Count Square Submatrices with All Ones/solution.java:1
Class
Solution
LeetCode_problems/Add Strings/Solution.py:15
Class
Solution
LeetCode_problems/Add Strings/solution.cpp:1
next →
1–100 of 136, ranked by callers