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
↓ 1 callers
Function
compareLists
Comparing the first and the second half of the linked list
GeeksForGeeks/Palindrome_Linked_List/Solution.cpp:106
↓ 1 callers
Method
convert
(String s)
LeetCode_problems/Convert Roman number to Integer/solution.java:21
↓ 1 callers
Function
countApplesAndOranges
(s, t, a, b, m, n, apples, oranges)
Hackerrank_problems/Apple and Orange/solution1.py:3
↓ 1 callers
Function
countPaths
(gridSize)
project_euler_problems/lattice paths/solution.js:25
↓ 1 callers
Function
count_substring
(string, sub_string)
Hackerrank_problems/Find_a_String/Solution.py:8
↓ 1 callers
Function
countingValleys
(n, s)
Hackerrank_problems/counting_valleys/solution.py:13
↓ 1 callers
Method
countingValleys
(int steps, String path)
Hackerrank_problems/counting_valleys/Solution.java:27
↓ 1 callers
Function
cp
Hackerrank_problems/Non_divisible_Subset/solution.cpp:8
↓ 1 callers
Function
create_nested_list
(dice_amount, list)
Codewars_problems/Probabilities for Sums in Rolling Cubic Dice/solution.py:16
↓ 1 callers
Function
credit_card_check
(string)
Hackerrank_problems/CreditCardValid/solution.py:16
↓ 1 callers
Function
dayOfProgrammer
(year)
Hackerrank_problems/day_of_the_programmer/solution.py:17
↓ 1 callers
Function
day_of_programmer
(year)
Hackerrank_problems/Day_Of_The_Programmer/solution.rb:12
↓ 1 callers
Function
dejavu
(string)
Misc/Deja_vu/solution1.py:7
↓ 1 callers
Method
dequeue
(self)
Hackerrank_problems/Queue using Two Stacks/solution.py:21
↓ 1 callers
Function
detectLoop
GeeksForGeeks/Detect Loop in Linked List/solution.cpp:26
↓ 1 callers
Function
dfs
Function that traverses a node via depth first traversal and returns the number of connected components
Hackerrank_problems/Road and Libraries/solution.cpp:27
↓ 1 callers
Method
dfs
(List<Integer>[] graph, int src, int group, int[] groupMap)
LeetCode_problems/Possible Bipartition/Solution.java:21
↓ 1 callers
Method
dfsUtil
(ArrayList<ArrayList<Integer>> A, int i, int j)
GeeksForGeeks/Number of islands/Islands.java:20
↓ 1 callers
Function
diagonalDifference
Hackerrank_problems/diagonal-difference/solution.cpp:16
↓ 1 callers
Function
diagonalDifference
(arr)
Hackerrank_problems/diagonal-difference/solution.py:11
↓ 1 callers
Method
diagonalDifference
(int n,int[][] arr)
Hackerrank_problems/diagonal-difference/solution.java:24
↓ 1 callers
Function
disemvowel
Codewars_problems/Disemvowel Trolls/solution.c:39
↓ 1 callers
Function
divisibleSumPairs
Complete the divisibleSumPairs function below
Hackerrank_problems/Divisible Sum Pairs/solution.cpp:8
↓ 1 callers
Function
duplicateSandwich
(input)
Codewars_problems/Duplicate sandwich/solution.js:1
↓ 1 callers
Function
elevatr
/
CodeChef_problems/ELEVTR/solution.cpp:145
↓ 1 callers
Method
enqueue
(self, element)
Hackerrank_problems/Queue using Two Stacks/solution.py:18
↓ 1 callers
Function
factorial
project_euler_problems/digit factorials/solution.cpp:34
↓ 1 callers
Function
factorial_digit_sum
project_euler_problems/digit factorials/solution.cpp:48
↓ 1 callers
Method
fibMonaccianSearch
(int arr[], int x, int n)
Misc/Fibonacci_Search/solution.java:33
↓ 1 callers
Function
fibonacci
(n, sequence=(0, 1))
Hackerrank_problems/Recursion_Fibonacci_Numbers/solution.py:1
↓ 1 callers
Function
findDigits
Complete the findDigits function below.
Hackerrank_problems/Find_digits/solution.cpp:6
↓ 1 callers
Method
findMinSum
CodeChef_problems/MINDSUM/solution.cpp:66
↓ 1 callers
Function
findPoint
(px, py, qx, qy)
Hackerrank_problems/Find_a_point/solution.py:10
↓ 1 callers
Function
findPos
(x1, v1, x2, v2)
Hackerrank_problems/kangaroo/solution1.py:12
↓ 1 callers
Function
find_max_xor
HackerEarth_problems/Subarrays XOR/Solution.cpp:85
↓ 1 callers
Function
findsum
This function finds whether the amount can be given to Mila or not i.e. if any sum of coins with gila equals amount to be distributed(x) */
GeeksForGeeks/Sister_and_Coins/Solution.cpp:7
↓ 1 callers
Function
fizzbuzz
(x)
Hackerrank_problems/FizzBuzz/Solution2.py:1
↓ 1 callers
Method
flow
HackerEarth_problems/New Friends/solution.cpp:103
↓ 1 callers
Function
fun
CodeChef_problems/POTATOES/Solution.cpp:8
↓ 1 callers
Function
func
(n)
CodeChef_problems/FIBEASY/solution.py:16
↓ 1 callers
Function
func
Takes two parameters both are lists of int type None return type; finally it prints the points for Alice and Bob.
Hackerrank_problems/Compare The Triplets/compare_the_triplets.py:2
↓ 1 callers
Function
g
HackerEarth_problems/benny and broken odometer/Solution.cpp:14
↓ 1 callers
Function
gcd
Codeforces_problems/Bargain/solution.cpp:56
↓ 1 callers
Function
getMoneySpent
(keyboards, drives, b)
Hackerrank_problems/ElectronicShop/solution2.py:26
↓ 1 callers
Function
getMoneySpent
(keyboards, drives, b)
Hackerrank_problems/ElectronicShop/solution.py:8
↓ 1 callers
Function
getPairsCount
(arr, n, sum)
GeeksForGeeks/SumOfPairs/solution2.py:5
↓ 1 callers
Method
get_price
function to calculate the price of Hotel Room
Hackerrank_problems/Hotel Price/solution.cpp:11
↓ 1 callers
Function
get_volume
Hackerrank_problems/Boxes_Through_a_Tunnel/Solution.c:23
↓ 1 callers
Function
getht
Codeforces_problems/Mike And Cellphones 689A/solution.cpp:31
↓ 1 callers
Function
getlvl
Problem Name - Mike and Cellphone Problem Code - 869A Input is a string that Mike will enter in his 9 key keyboard. We need to find if the pattern c
Codeforces_problems/Mike And Cellphones 689A/solution.cpp:25
↓ 1 callers
Function
halloweenParty
first square the amount times then divide it with the 2 squares (or 4) *don't forget to round down the float
Hackerrank_problems/Halloween Party/solution.py:6
↓ 1 callers
Function
has_cycle
Function implemented to identify the cycles in a linked list
Hackerrank_problems/Cycle Detection/solution.py:39
↓ 1 callers
Function
highAndLow
(numbers)
Codewars_problems/Highest and Lowest/solution.js:1
↓ 1 callers
Function
hotel
(arrive, depart, K)
InterviewBit_problems/Sorting/Hotel Booking/solution.py:13
↓ 1 callers
Method
inorder
(self,root,output)
LeetCode_problems/range-sum-of-bst/Solution.py:21
↓ 1 callers
Method
inorder
(self,root,output)
LeetCode_problems/kth-smallest-element-in-a-bst/Solution.py:13
↓ 1 callers
Function
insert
HackerEarth_problems/Prasanjeet verma and his sorrow/Solution.cpp:23
↓ 1 callers
Method
insert_node
(self, node_data)
Hackerrank_problems/Reverse Linked List/solution.py:19
↓ 1 callers
Method
insert_node
(self, node_data)
Hackerrank_problems/Cycle Detection/solution.py:19
↓ 1 callers
Function
invertTree
(root)
LeetCode_problems/Invert Binary Tree/invert_binary_Tree.py:35
↓ 1 callers
Function
isBlumInteger
(n)
GeeksForGeeks/Blum Integer/solution.py:2
↓ 1 callers
Function
isEven
(nb)
project_euler_problems/summation of primes/solution.js:6
↓ 1 callers
Function
isEven
project_euler_problems/summation of primes/solution.c:12
↓ 1 callers
Function
isEven
(nb)
project_euler_problems/summation of primes/solution.py:7
↓ 1 callers
Function
isEven
(nb)
project_euler_problems/10001st prime/solution.js:5
↓ 1 callers
Function
isEven
project_euler_problems/10001st prime/solution.c:11
↓ 1 callers
Function
isEven
(nb)
project_euler_problems/10001st prime/solution.py:6
↓ 1 callers
Function
isPaired
isPaired will define whenever the array has paired that equal to k
CodeChef_problems/CSUM/solution.cpp:5
↓ 1 callers
Function
isPalindrome
GeeksForGeeks/Palindrome_Linked_List/Solution.cpp:49
↓ 1 callers
Function
isPrime
(nb)
project_euler_problems/summation of primes/solution.js:16
↓ 1 callers
Function
isPrime
** A prime number is a number that can only be divisible by 1 or itself ** Facts about prime numbers: ** - 1 is not a prime. ** - All primes ex
project_euler_problems/summation of primes/solution.c:22
↓ 1 callers
Function
isPrime
(nb)
project_euler_problems/summation of primes/solution.py:15
↓ 1 callers
Function
isPrime
(nb)
project_euler_problems/10001st prime/solution.js:15
↓ 1 callers
Function
isPrime
** A prime number is a number that can only be divisible by 1 or itself ** Facts about prime numbers: ** - 1 is not a prime. ** - All primes ex
project_euler_problems/10001st prime/solution.c:21
↓ 1 callers
Function
isPrime
(nb)
project_euler_problems/10001st prime/solution.py:14
↓ 1 callers
Function
isValid
(s)
Hackerrank_problems/Sherlock and valid strings/solution2.py:2
↓ 1 callers
Function
is_factorion
project_euler_problems/digit factorials/solution.cpp:76
↓ 1 callers
Function
is_int
project_euler_problems/integer right triangle/solution.cpp:46
↓ 1 callers
Function
is_lower_than_max_height
Hackerrank_problems/Boxes_Through_a_Tunnel/Solution.c:27
↓ 1 callers
Function
is_prime
(n)
Codeforces_problems/Number Game/solution.py:2
↓ 1 callers
Function
jumpingOnClouds
(c)
Hackerrank_problems/Jumping on the Clouds/solution.py:2
↓ 1 callers
Function
kangaroo
(x1, v1, x2, v2)
Hackerrank_problems/kangaroo/solution4.py:8
↓ 1 callers
Function
kangaroo
(x1, v1, x2, v2)
Hackerrank_problems/kangaroo/kangaroo_solution3.py:16
↓ 1 callers
Function
kangaroo
Complete the kangaroo function below.
Hackerrank_problems/kangaroo/solution5.cpp:26
↓ 1 callers
Function
kangaroo
(x1, v1, x2, v2)
Hackerrank_problems/kangaroo/solution.py:7
↓ 1 callers
Function
kaprekarNumbers
(p, q)
Hackerrank_problems/Modified Kaprekar Numbers/solution.py:8
↓ 1 callers
Function
knapSack
(W, wt, val, n)
Misc/Dynamic_Programming_Knapsack_Problem/Solution.py:1
↓ 1 callers
Function
largestRectangleArea
helper function
InterviewBit_problems/Stack and Queues/Largest Rectangle in Histogram/solution.cpp:25
↓ 1 callers
Function
leastLarger
(array, n)
Codewars_problems/Least Larger/solution.js:1
↓ 1 callers
Function
libraryFine
(d1, m1, y1, d2, m2, y2)
Hackerrank_problems/Library Fine/solution.py:10
↓ 1 callers
Function
ltrim
Hackerrank_problems/Hackfest2020/GameOfMaximization/gameOfMaximization.cpp:72
↓ 1 callers
Function
main
()
Codeforces_problems/Theatre Square/solution.py:8
↓ 1 callers
Function
majorityElement
LeetCode_problems/Majority Element/solution2.cpp:38
↓ 1 callers
Function
makeAnagram
Complete the makeAnagram function below.
Hackerrank_problems/Making Anagrams/solution.cpp:6
↓ 1 callers
Function
matchingStrings
(strings, queries)
Hackerrank_problems/Sparse Array/Solution.py:10
↓ 1 callers
Function
maxHistogram
GeeksForGeeks/Largest Histogram/solution.cpp:11
↓ 1 callers
Function
maxMin
Complete the maxMin function below.
Hackerrank_problems/Max_Min/solution.cpp:19
↓ 1 callers
Function
maxSubArray
(A)
InterviewBit_problems/Sorting/Max Sum Contiguous SubArray/solution.py:12
↓ 1 callers
Function
maximumDraws
(n)
Hackerrank_problems/Maximum_draws/solution.py:6
↓ 1 callers
Function
maximumStones
Hackerrank_problems/Hackfest2020/GameOfMaximization/gameOfMaximization.cpp:16
← previous
next →
101–200 of 692, ranked by callers