Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishruth-S/CompetitiveCode
/ functions
Functions
692 in github.com/Vishruth-S/CompetitiveCode
⨍
Functions
692
◇
Types & classes
136
↓ 73 callers
Function
max
Codeforces_problems/Two Platforms/solution.cpp:65
↓ 55 callers
Function
min
Codeforces_problems/Two Platforms/solution.cpp:61
↓ 32 callers
Function
abs
Codeforces_problems/Bargain/solution.cpp:55
↓ 17 callers
Method
sort
(int arr[])
Misc/Heap_Sort/solution.java:44
↓ 14 callers
Method
nextInt
()
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:51
↓ 13 callers
Function
fft
Codeforces_problems/Kevin and Grid/solution.cpp:55
↓ 13 callers
Function
sum
Function to answer queries in logN time,what we are doing here is we are traversing the whole tree and we are going to it's their child then if curren
CSES_Problems/Range-Sum Query 1/Range-Sum Query.cpp:18
↓ 12 callers
Method
min
(int x, int y)
Misc/Fibonacci_Search/solution.java:29
↓ 10 callers
Method
insert
LeetCode_problems/Insert Interval/solution.cpp:33
↓ 9 callers
Function
insert
(root,node)
LeetCode_problems/Invert Binary Tree/invert_binary_Tree.py:10
↓ 8 callers
Function
dfs
LeetCode_problems/Max Area of Island/solution.cpp:3
↓ 8 callers
Method
nextLine
()
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:66
↓ 7 callers
Function
fact
CodeChef_problems/AEIOUHW/solution.cpp:4
↓ 7 callers
Function
prod
Codeforces_problems/Kevin and Grid/solution.cpp:87
↓ 7 callers
Function
reverse
Spoj_problems/ADDREV/solution.cpp:11
↓ 5 callers
Method
enque
GeeksForGeeks/StackUsingQueus/solution.cpp:17
↓ 5 callers
Method
enque
oldest entered element is always at the top of stack 1
GeeksForGeeks/QueueUsingStacks/solution.cpp:17
↓ 4 callers
Function
HiveMaker
(sticks)
Misc/HiveMaker/solution_1.py:7
↓ 4 callers
Function
f
HackerEarth_problems/Shubham and Subarray Xor/solution.cpp:72
↓ 4 callers
Method
next
()
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:35
↓ 4 callers
Function
push
GeeksForGeeks/Detect Loop in Linked List/solution.cpp:11
↓ 3 callers
Method
dequeue
GeeksForGeeks/StackUsingQueus/solution.cpp:34
↓ 3 callers
Method
dequeue
deQueue operation just pops from stack1
GeeksForGeeks/QueueUsingStacks/solution.cpp:23
↓ 3 callers
Function
detectMiss
This function identifies the maximum value of AND operation by making cosideration of missing values in higher order n
Hackerrank_problems/Day 29 Bitwise AND Problem/solution.py:7
↓ 3 callers
Function
dfs
HackerEarth_problems/Hey! Please help Pradyumn!/Solution.cpp:43
↓ 3 callers
Function
factorial
Codeforces_problems/Dreamoon and WIFI/solution.cpp:23
↓ 3 callers
Method
indexOf
(int[] arr, int elem)
Hackerrank_problems/Sequence Equation/Solution.java:23
↓ 3 callers
Function
merge
GeeksForGeeks/Merge_Sort_for_Linked_List/Solution.cpp:43
↓ 3 callers
Method
nextDouble
()
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:61
↓ 3 callers
Function
palindromeCheck
This function checks if a string is a palindrome by comparing a string with it's reverse
GeeksForGeeks/Pallindrome String/solution2.py:6
↓ 3 callers
Function
reverse
check if its empty list or not
Hackerrank_problems/Reverse Linked List/solution.py:40
↓ 3 callers
Function
rtrim
Hackerrank_problems/Hackfest2020/StrictlyIncreasingSequence/strictlyIncreasingSequence.cpp:88
↓ 3 callers
Function
rtrim
Hackerrank_problems/diagonal-difference/solution.cpp:84
↓ 3 callers
Function
sumofdigits
Find sum of digits of a number
Misc/SumOfAllDigits/solution2.cpp:9
↓ 3 callers
Function
trieinsert
HackerEarth_problems/Shubham and Subarray Xor/solution.cpp:25
↓ 2 callers
Function
BeautyString
Codeforces_problems/Vasya and String/solution.cpp:11
↓ 2 callers
Function
bfs
HackerEarth_problems/Dhoom 4/solution.cpp:38
↓ 2 callers
Function
caesarCipherEncryptor
(string, key)
Misc/Caesar_Cipher_Encryptor/solution.py:7
↓ 2 callers
Function
cipher
this function ciphers a string using the caesar's cipher method string: the message to cipher key: the number of times to shift the lette
Misc/Caesar_Cipher_Encryptor/solution2.py:17
↓ 2 callers
Function
complete_seq
/
CodeChef_problems/ELEVTR/solution.cpp:31
↓ 2 callers
Function
double_n
project_euler_problems/integer right triangle/solution.cpp:41
↓ 2 callers
Function
factorial
(n)
project_euler_problems/lattice paths/solution.js:12
↓ 2 callers
Function
find
Function to find wether a node exists in a tree or not.
InterviewBit_problems/LeastCommonAncestor/solution.cpp:12
↓ 2 callers
Function
getSum
(num)
CodeChef_problems/Chef and Card game/solution.py:20
↓ 2 callers
Function
get_next_index
/
CodeChef_problems/ELEVTR/solution.cpp:18
↓ 2 callers
Method
heapify
(int arr[], int n, int i)
Misc/Heap_Sort/solution.java:67
↓ 2 callers
Function
inorder
(root)
LeetCode_problems/Invert Binary Tree/invert_binary_Tree.py:25
↓ 2 callers
Function
insert
HackerEarth_problems/Subarrays XOR/Solution.cpp:59
↓ 2 callers
Function
insert
HackerEarth_problems/Hey! Please help Pradyumn!/Solution.cpp:26
↓ 2 callers
Function
is_notpresent
Codeforces_problems/Mike And Cellphones 689A/solution.cpp:45
↓ 2 callers
Function
is_present
Codeforces_problems/Mike And Cellphones 689A/solution.cpp:38
↓ 2 callers
Function
ltrim
Hackerrank_problems/Hackfest2020/StrictlyIncreasingSequence/strictlyIncreasingSequence.cpp:77
↓ 2 callers
Function
ltrim
Hackerrank_problems/diagonal-difference/solution.cpp:73
↓ 2 callers
Function
newnode
HackerEarth_problems/Shubham and Subarray Xor/solution.cpp:18
↓ 2 callers
Method
normalize_head
(self)
Hackerrank_problems/Queue using Two Stacks/solution.py:13
↓ 2 callers
Function
print_fact
Spoj_problems/FCTRL2/solution.cpp:25
↓ 2 callers
Function
reverse
Reversing the second half of the linked list
GeeksForGeeks/Palindrome_Linked_List/Solution.cpp:89
↓ 2 callers
Function
rtrim
Hackerrank_problems/Hackfest2020/GameOfMaximization/gameOfMaximization.cpp:83
↓ 2 callers
Function
split_string
Hackerrank_problems/Divisible Sum Pairs/solution.cpp:65
↓ 2 callers
Function
subUnsort
(A)
InterviewBit_problems/Sorting/Max Unsorted SubArray/solution.py:12
↓ 2 callers
Function
sumDigits
(n)
Misc/SumOfAllDigits/solution1.py:4
↓ 2 callers
Function
summ
CodeChef_problems/CHEF AND CARD GAME/SOLUTION.cpp:3
↓ 1 callers
Function
DCTrees
(arr)
CodeChef_problems/A Problem on Sticks/solution2.py:26
↓ 1 callers
Function
DFS
Function that returns number of nodes in the connected component having vertex u
Hackerrank_problems/Journey to the moon/solution.cpp:20
↓ 1 callers
Function
EquilibriumPoint
Hackerrank_problems/EquilibriumPoint in array/solution.cpp:7
↓ 1 callers
Function
FindAdjacentMax
(arr)
CodeSignal_problems/AdjacentElementsProduct/solution1.py:11
↓ 1 callers
Function
FindValleys
(t, steps)
Hackerrank_problems/counting_valleys/solution1_CountingValleys.py:13
↓ 1 callers
Function
IsGood
(n)
LeetCode_problems/Rotate Digits/solution.js:1
↓ 1 callers
Function
Iscycle
(list)
LeetCode_problems/Cycle Detection in Linked List/Solution.py:24
↓ 1 callers
Function
REP
Codeforces_problems/Two Platforms/solution.cpp:81
↓ 1 callers
Function
Solve
Codeforces_problems/New Theatre Square/solution.cpp:13
↓ 1 callers
Function
Symm
InterviewBit_problems/CP_BinaryTree/Solution.cpp:15
↓ 1 callers
Method
addEdge
(self,u,v)
HackerEarth_problems/Edges on a path/solution.py:20
↓ 1 callers
Method
add_edge
HackerEarth_problems/New Friends/solution.cpp:59
↓ 1 callers
Function
angryProfessor
(k, a)
Hackerrank_problems/Angry Professor/solution.py:11
↓ 1 callers
Function
areMatchingBrackets
This function checks if pair of bracket are matching or not
GeeksForGeeks/Parenthesis_Checker/Solution.cpp:6
↓ 1 callers
Function
arrayManipulation
(n, queries)
Hackerrank_problems/Array Manipulation/Solution1.py:5
↓ 1 callers
Function
arrayManipulation
(n, queries)
Hackerrank_problems/Array Manipulation/solution.py:5
↓ 1 callers
Function
array_of_factorials
project_euler_problems/digit factorials/solution.cpp:60
↓ 1 callers
Function
beautifulDays
Hackerrank_problems/BeautifulDaysAtTheMovies/solution.cpp:18
↓ 1 callers
Function
beautifulDays
(i, j, k)
Hackerrank_problems/BeautifulDaysAtTheMovies/solution.py:14
↓ 1 callers
Method
biggerIsGreater
method to find the next lexicographical greater string @param w @return a new string
Hackerrank_problems/Bigger is Greater/BiggerIsGreater.java:20
↓ 1 callers
Function
breakDirection
(direction, previousInt, currentInt)
Misc/Monotonic_Array/solution2.py:24
↓ 1 callers
Method
breakingRecords
(int[] scores)
Hackerrank_problems/Breaking Records/solution.java:12
↓ 1 callers
Method
bridge
(self)
HackerEarth_problems/Edges on a path/solution.py:49
↓ 1 callers
Method
bridgeUtil
(self,u,visited,parent,low,disc)
HackerEarth_problems/Edges on a path/solution.py:25
↓ 1 callers
Function
build
Build tree :- We are builindg here a Tree by using an array,we have taken an dp[] array,if dp[i] denotes parent node then dp[2*i] & dp[2*i+1] will giv
CSES_Problems/Range-Sum Query 1/Range-Sum Query.cpp:7
↓ 1 callers
Function
build_list
Put the tree elements in a list with the inorder traversal approach.
Hackerrank_problems/Is This a Binary Search Tree/solution.py:8
↓ 1 callers
Function
calc
LeetCode_problems/Permutation Sequence/Solution.cpp:7
↓ 1 callers
Function
calc
(l,n)
Hackerrank_problems/Cut The Sticks/soloution.py:1
↓ 1 callers
Function
calc_fact
Spoj_problems/FCTRL2/solution.cpp:32
↓ 1 callers
Function
calcu
Codeforces_problems/Subset Mex/solutions.cpp:10
↓ 1 callers
Function
calculateMaxMin
calculateMaxMin is helper function for iterate k subArray that return max - min
Hackerrank_problems/Max_Min/solution.cpp:6
↓ 1 callers
Function
calculate_the_maximum
function definition
Hackerrank_problems/Bitwise_operator/SOLUTION.c:8
↓ 1 callers
Function
catAndMouse
(x, y, z)
Hackerrank_problems/Cats and a Mouse/solution.py:7
↓ 1 callers
Function
check
(arr,start,end,n1,max)
Hackerrank_problems/ElectronicShop/solution2.py:8
↓ 1 callers
Function
check
(i)
Hackerrank_problems/Modified Kaprekar Numbers/solution.py:1
↓ 1 callers
Method
checkPalindrome
(String s)
GeeksForGeeks/Pallindrome String/solution.java:34
↓ 1 callers
Function
check_range
/
CodeChef_problems/ELEVTR/solution.cpp:7
↓ 1 callers
Function
circularArrayRotation
(a, k, queries)
Hackerrank_problems/Circular Array Rotation/solution.py:10
next →
1–100 of 692, ranked by callers