MCPcopy Create free account

hub / github.com/Vishruth-S/CompetitiveCode / functions

Functions692 in github.com/Vishruth-S/CompetitiveCode

↓ 73 callersFunctionmax
Codeforces_problems/Two Platforms/solution.cpp:65
↓ 55 callersFunctionmin
Codeforces_problems/Two Platforms/solution.cpp:61
↓ 32 callersFunctionabs
Codeforces_problems/Bargain/solution.cpp:55
↓ 17 callersMethodsort
(int arr[])
Misc/Heap_Sort/solution.java:44
↓ 14 callersMethodnextInt
()
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:51
↓ 13 callersFunctionfft
Codeforces_problems/Kevin and Grid/solution.cpp:55
↓ 13 callersFunctionsum
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 callersMethodmin
(int x, int y)
Misc/Fibonacci_Search/solution.java:29
↓ 10 callersMethodinsert
LeetCode_problems/Insert Interval/solution.cpp:33
↓ 9 callersFunctioninsert
(root,node)
LeetCode_problems/Invert Binary Tree/invert_binary_Tree.py:10
↓ 8 callersFunctiondfs
LeetCode_problems/Max Area of Island/solution.cpp:3
↓ 8 callersMethodnextLine
()
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:66
↓ 7 callersFunctionfact
CodeChef_problems/AEIOUHW/solution.cpp:4
↓ 7 callersFunctionprod
Codeforces_problems/Kevin and Grid/solution.cpp:87
↓ 7 callersFunctionreverse
Spoj_problems/ADDREV/solution.cpp:11
↓ 5 callersMethodenque
GeeksForGeeks/StackUsingQueus/solution.cpp:17
↓ 5 callersMethodenque
oldest entered element is always at the top of stack 1
GeeksForGeeks/QueueUsingStacks/solution.cpp:17
↓ 4 callersFunctionHiveMaker
(sticks)
Misc/HiveMaker/solution_1.py:7
↓ 4 callersFunctionf
HackerEarth_problems/Shubham and Subarray Xor/solution.cpp:72
↓ 4 callersMethodnext
()
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:35
↓ 4 callersFunctionpush
GeeksForGeeks/Detect Loop in Linked List/solution.cpp:11
↓ 3 callersMethoddequeue
GeeksForGeeks/StackUsingQueus/solution.cpp:34
↓ 3 callersMethoddequeue
deQueue operation just pops from stack1
GeeksForGeeks/QueueUsingStacks/solution.cpp:23
↓ 3 callersFunctiondetectMiss
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 callersFunctiondfs
HackerEarth_problems/Hey! Please help Pradyumn!/Solution.cpp:43
↓ 3 callersFunctionfactorial
Codeforces_problems/Dreamoon and WIFI/solution.cpp:23
↓ 3 callersMethodindexOf
(int[] arr, int elem)
Hackerrank_problems/Sequence Equation/Solution.java:23
↓ 3 callersFunctionmerge
GeeksForGeeks/Merge_Sort_for_Linked_List/Solution.cpp:43
↓ 3 callersMethodnextDouble
()
CodeChef_problems/Chef Wars - Return of the Jedi/Solution.java:61
↓ 3 callersFunctionpalindromeCheck
This function checks if a string is a palindrome by comparing a string with it's reverse
GeeksForGeeks/Pallindrome String/solution2.py:6
↓ 3 callersFunctionreverse
check if its empty list or not
Hackerrank_problems/Reverse Linked List/solution.py:40
↓ 3 callersFunctionrtrim
Hackerrank_problems/Hackfest2020/StrictlyIncreasingSequence/strictlyIncreasingSequence.cpp:88
↓ 3 callersFunctionrtrim
Hackerrank_problems/diagonal-difference/solution.cpp:84
↓ 3 callersFunctionsumofdigits
Find sum of digits of a number
Misc/SumOfAllDigits/solution2.cpp:9
↓ 3 callersFunctiontrieinsert
HackerEarth_problems/Shubham and Subarray Xor/solution.cpp:25
↓ 2 callersFunctionBeautyString
Codeforces_problems/Vasya and String/solution.cpp:11
↓ 2 callersFunctionbfs
HackerEarth_problems/Dhoom 4/solution.cpp:38
↓ 2 callersFunctioncaesarCipherEncryptor
(string, key)
Misc/Caesar_Cipher_Encryptor/solution.py:7
↓ 2 callersFunctioncipher
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 callersFunctioncomplete_seq
/
CodeChef_problems/ELEVTR/solution.cpp:31
↓ 2 callersFunctiondouble_n
project_euler_problems/integer right triangle/solution.cpp:41
↓ 2 callersFunctionfactorial
(n)
project_euler_problems/lattice paths/solution.js:12
↓ 2 callersFunctionfind
Function to find wether a node exists in a tree or not.
InterviewBit_problems/LeastCommonAncestor/solution.cpp:12
↓ 2 callersFunctiongetSum
(num)
CodeChef_problems/Chef and Card game/solution.py:20
↓ 2 callersFunctionget_next_index
/
CodeChef_problems/ELEVTR/solution.cpp:18
↓ 2 callersMethodheapify
(int arr[], int n, int i)
Misc/Heap_Sort/solution.java:67
↓ 2 callersFunctioninorder
(root)
LeetCode_problems/Invert Binary Tree/invert_binary_Tree.py:25
↓ 2 callersFunctioninsert
HackerEarth_problems/Subarrays XOR/Solution.cpp:59
↓ 2 callersFunctioninsert
HackerEarth_problems/Hey! Please help Pradyumn!/Solution.cpp:26
↓ 2 callersFunctionis_notpresent
Codeforces_problems/Mike And Cellphones 689A/solution.cpp:45
↓ 2 callersFunctionis_present
Codeforces_problems/Mike And Cellphones 689A/solution.cpp:38
↓ 2 callersFunctionltrim
Hackerrank_problems/Hackfest2020/StrictlyIncreasingSequence/strictlyIncreasingSequence.cpp:77
↓ 2 callersFunctionltrim
Hackerrank_problems/diagonal-difference/solution.cpp:73
↓ 2 callersFunctionnewnode
HackerEarth_problems/Shubham and Subarray Xor/solution.cpp:18
↓ 2 callersMethodnormalize_head
(self)
Hackerrank_problems/Queue using Two Stacks/solution.py:13
↓ 2 callersFunctionprint_fact
Spoj_problems/FCTRL2/solution.cpp:25
↓ 2 callersFunctionreverse
Reversing the second half of the linked list
GeeksForGeeks/Palindrome_Linked_List/Solution.cpp:89
↓ 2 callersFunctionrtrim
Hackerrank_problems/Hackfest2020/GameOfMaximization/gameOfMaximization.cpp:83
↓ 2 callersFunctionsplit_string
Hackerrank_problems/Divisible Sum Pairs/solution.cpp:65
↓ 2 callersFunctionsubUnsort
(A)
InterviewBit_problems/Sorting/Max Unsorted SubArray/solution.py:12
↓ 2 callersFunctionsumDigits
(n)
Misc/SumOfAllDigits/solution1.py:4
↓ 2 callersFunctionsumm
CodeChef_problems/CHEF AND CARD GAME/SOLUTION.cpp:3
↓ 1 callersFunctionDCTrees
(arr)
CodeChef_problems/A Problem on Sticks/solution2.py:26
↓ 1 callersFunctionDFS
Function that returns number of nodes in the connected component having vertex u
Hackerrank_problems/Journey to the moon/solution.cpp:20
↓ 1 callersFunctionEquilibriumPoint
Hackerrank_problems/EquilibriumPoint in array/solution.cpp:7
↓ 1 callersFunctionFindAdjacentMax
(arr)
CodeSignal_problems/AdjacentElementsProduct/solution1.py:11
↓ 1 callersFunctionFindValleys
(t, steps)
Hackerrank_problems/counting_valleys/solution1_CountingValleys.py:13
↓ 1 callersFunctionIsGood
(n)
LeetCode_problems/Rotate Digits/solution.js:1
↓ 1 callersFunctionIscycle
(list)
LeetCode_problems/Cycle Detection in Linked List/Solution.py:24
↓ 1 callersFunctionREP
Codeforces_problems/Two Platforms/solution.cpp:81
↓ 1 callersFunctionSolve
Codeforces_problems/New Theatre Square/solution.cpp:13
↓ 1 callersFunctionSymm
InterviewBit_problems/CP_BinaryTree/Solution.cpp:15
↓ 1 callersMethodaddEdge
(self,u,v)
HackerEarth_problems/Edges on a path/solution.py:20
↓ 1 callersMethodadd_edge
HackerEarth_problems/New Friends/solution.cpp:59
↓ 1 callersFunctionangryProfessor
(k, a)
Hackerrank_problems/Angry Professor/solution.py:11
↓ 1 callersFunctionareMatchingBrackets
This function checks if pair of bracket are matching or not
GeeksForGeeks/Parenthesis_Checker/Solution.cpp:6
↓ 1 callersFunctionarrayManipulation
(n, queries)
Hackerrank_problems/Array Manipulation/Solution1.py:5
↓ 1 callersFunctionarrayManipulation
(n, queries)
Hackerrank_problems/Array Manipulation/solution.py:5
↓ 1 callersFunctionarray_of_factorials
project_euler_problems/digit factorials/solution.cpp:60
↓ 1 callersFunctionbeautifulDays
Hackerrank_problems/BeautifulDaysAtTheMovies/solution.cpp:18
↓ 1 callersFunctionbeautifulDays
(i, j, k)
Hackerrank_problems/BeautifulDaysAtTheMovies/solution.py:14
↓ 1 callersMethodbiggerIsGreater
method to find the next lexicographical greater string @param w @return a new string
Hackerrank_problems/Bigger is Greater/BiggerIsGreater.java:20
↓ 1 callersFunctionbreakDirection
(direction, previousInt, currentInt)
Misc/Monotonic_Array/solution2.py:24
↓ 1 callersMethodbreakingRecords
(int[] scores)
Hackerrank_problems/Breaking Records/solution.java:12
↓ 1 callersMethodbridge
(self)
HackerEarth_problems/Edges on a path/solution.py:49
↓ 1 callersMethodbridgeUtil
(self,u,visited,parent,low,disc)
HackerEarth_problems/Edges on a path/solution.py:25
↓ 1 callersFunctionbuild
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 callersFunctionbuild_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 callersFunctioncalc
LeetCode_problems/Permutation Sequence/Solution.cpp:7
↓ 1 callersFunctioncalc
(l,n)
Hackerrank_problems/Cut The Sticks/soloution.py:1
↓ 1 callersFunctioncalc_fact
Spoj_problems/FCTRL2/solution.cpp:32
↓ 1 callersFunctioncalcu
Codeforces_problems/Subset Mex/solutions.cpp:10
↓ 1 callersFunctioncalculateMaxMin
calculateMaxMin is helper function for iterate k subArray that return max - min
Hackerrank_problems/Max_Min/solution.cpp:6
↓ 1 callersFunctioncalculate_the_maximum
function definition
Hackerrank_problems/Bitwise_operator/SOLUTION.c:8
↓ 1 callersFunctioncatAndMouse
(x, y, z)
Hackerrank_problems/Cats and a Mouse/solution.py:7
↓ 1 callersFunctioncheck
(arr,start,end,n1,max)
Hackerrank_problems/ElectronicShop/solution2.py:8
↓ 1 callersFunctioncheck
(i)
Hackerrank_problems/Modified Kaprekar Numbers/solution.py:1
↓ 1 callersMethodcheckPalindrome
(String s)
GeeksForGeeks/Pallindrome String/solution.java:34
↓ 1 callersFunctioncheck_range
/
CodeChef_problems/ELEVTR/solution.cpp:7
↓ 1 callersFunctioncircularArrayRotation
(a, k, queries)
Hackerrank_problems/Circular Array Rotation/solution.py:10
next →1–100 of 692, ranked by callers