MCPcopy Create free account

hub / github.com/anupam-kumar-krishnan/Competitive_Programming / functions

Functions2,161 in github.com/anupam-kumar-krishnan/Competitive_Programming

↓ 1 callersFunctionprintPairs
Accolite/find target pair in array.cpp:5
↓ 1 callersFunctionprintPascalsTriangle
Basic Programming/All_Patterns.c:66
↓ 1 callersFunctionprintPreorder
DSA 450/Binary Trees/PreorderTransversal.cpp:14
↓ 1 callersFunctionprintRepeating
All Data Structures/Arrays/11) Find the Duplicate Number.cpp:4
↓ 1 callersFunctionprintRhombus
Basic Programming/All_Patterns.c:106
↓ 1 callersFunctionprintRightHalfPyramid
Basic Programming/All_Patterns.c:3
↓ 1 callersMethodprintSCCs
All Data Structures/GRAPHS/kosaraju's_algo.cpp:83
↓ 1 callersFunctionprintSolution
All Data Structures/GRAPHS/dijkstra.cpp:23
↓ 1 callersFunctionprintSolution
All Algorithms/Graph Algorithm/Dijkstra's Algorithm.cpp:18
↓ 1 callersFunctionprintTillN
* Print 1 to n number without loop. */
Coding Platforms(codechef,codeforces,etc)/GeeksforGeeks/Print_n_number_without_Loop.cpp:22
↓ 1 callersFunctionprintTriangleDownwards
* Given string str of a constant length, print a triangle out of it. The triangle should start with the first character of the string and keep growing
Coding Platforms(codechef,codeforces,etc)/GeeksforGeeks/Triangle_growing_downwards.cpp:22
↓ 1 callersFunctionprintVerticalOrder
DSA 450/Binary Trees/Vertical order traversal.cpp:40
↓ 1 callersFunctionprint_N_mostFrequentNumber
Function to print the k numbers with most occurrences
All Data Structures/Sorting/Top_K_Frequent_elements.cpp:23
↓ 1 callersFunctionprint_all_left_child_elements
print all the left child elements in binary tree
DSA 450/Binary Trees/print_all_left_child_elements.cpp:60
↓ 1 callersFunctionprint_singly_linked_list
Coding Platforms(codechef,codeforces,etc)/HackerRank/insert_node_at_tail.cpp:29
↓ 1 callersFunctionprint_singly_linked_list
Coding Platforms(codechef,codeforces,etc)/HackerRank/insert_node_at_head.cpp:31
↓ 1 callersFunctionprint_singly_linked_list
Coding Platforms(codechef,codeforces,etc)/HackerRank/delete_a_node.cpp:47
↓ 1 callersFunctionprintelement
All Algorithms/Sorting Algorithm/Randomized_Quicksort.c:41
↓ 1 callersMethodpush
push element x into the stack*/
All Data Structures/Stack/Get_minimum_element_from_stack.cpp:59
↓ 1 callersMethodpushNode
(int data)
DSA 450/Linked List/middle of linked list.java:15
↓ 1 callersMethodputdata
Coding Platforms(codechef,codeforces,etc)/HackerRank/Virtual_Functions.cpp:50
↓ 1 callersFunctionquickSort
All Algorithms/Sorting Algorithm/quick_sort.cpp:30
↓ 1 callersFunctionquick_sort
(nums)
All Algorithms/Sorting Algorithm in Python/quickSort.py:27
↓ 1 callersMethodrInsert
All Data Structures/TREE/DeletionAVL.cpp:155
↓ 1 callersMethodrSearch
All Data Structures/TREE/BST.cpp:139
↓ 1 callersFunctionrabinKarp
All Algorithms/Searching Algorithm/rabinKarp_search.cpp:5
↓ 1 callersFunctionradix_sort
All Algorithms/Sorting Algorithm/RadixSort.cpp:2
↓ 1 callersMethodradixsort
(int arr[], int n)
All Algorithms/Sorting Algorithm/radix_sort.java:51
↓ 1 callersFunctionrandomPartition
All Data Structures/Arrays/3) Kth smallest Element.cpp:73
↓ 1 callersFunctionrandomizedpartion
All Algorithms/Sorting Algorithm/Randomized_Quicksort.c:10
↓ 1 callersFunctionrandomizedquicksort
All Algorithms/Sorting Algorithm/Randomized_Quicksort.c:29
↓ 1 callersFunctionrear
Function to get rear of queue
Basic Programming/queue.c:78
↓ 1 callersFunctionrearrange
All Data Structures/Arrays/20) Rearrange array in alternating positive & negative items.cpp:13
↓ 1 callersFunctionrearrange
All Data Structures/Arrays/5) Move All Negative Elements To One Side of The Array.cpp:4
↓ 1 callersFunctionrearrange
DSA 450/Arrays/20.Rearrange array in alternating positive & negative.cpp:13
↓ 1 callersFunctionrearrange
DSA 450/Arrays/5. Move all negative numbers to beginning.cpp:4
↓ 1 callersFunctionrearrange
* Given an unsorted array Arr of N positive and negative numbers. Your task is to create an array of alternate positive and negative numbers without c
Coding Platforms(codechef,codeforces,etc)/GeeksforGeeks/Alternative_positive_negative.cpp:22
↓ 1 callersFunctionrecalculateHash
All Algorithms/String algorithms/rabinKarpAlgorithm.cpp:19
↓ 1 callersFunctionrecursive_sort
(array, n)
All Algorithms/Sorting Algorithm in Python/Recursive_Algorithms/Bubble_sort.py:1
↓ 1 callersFunctionremove_Duplicates_In_LinkedList
All Data Structures/Singly_LL/menu_based_singly_linked_list.cpp:537
↓ 1 callersMethodreverse
(Queue q1)
DSA 450/Queue/ReverseQueUsingStack.java:8
↓ 1 callersFunctionreverseInGroups
* Given an array arr[] of positive integers of size N. Reverse every sub-array group of size K. */
Coding Platforms(codechef,codeforces,etc)/GeeksforGeeks/Reverse_array_groups.cpp:22
↓ 1 callersFunctionreverseStack
All Data Structures/Stack/reverseStack.cpp:17
↓ 1 callersFunctionreverseTreePath
Reverse Tree path
All Data Structures/TREE/Reverse tree path.cpp:65
↓ 1 callersFunctionreverseTreePathUtil
'data' is input. We need to reverse path from root to data. 'level' is current level. 'temp' that stores path nodes. 'nextpos' used to pick next item
All Data Structures/TREE/Reverse tree path.cpp:16
↓ 1 callersFunctionreverseVowels
Coding Platforms(codechef,codeforces,etc)/GeeksforGeeks/Reversing_the_vowels.cpp:26
↓ 1 callersFunctionreverseWord
* */
Coding Platforms(codechef,codeforces,etc)/GeeksforGeeks/Reverse_a_string.cpp:22
↓ 1 callersFunctionreverse_By_Iteration
All Data Structures/Singly_LL/menu_based_singly_linked_list.cpp:355
↓ 1 callersFunctionreverse_By_Recursion
All Data Structures/Singly_LL/menu_based_singly_linked_list.cpp:389
↓ 1 callersFunctionreverse_Using_Sliding_Pointers
All Data Structures/Singly_LL/menu_based_singly_linked_list.cpp:554
↓ 1 callersFunctionrightrotate
All Data Structures/Arrays/20) Rearrange array in alternating positive & negative items.cpp:5
↓ 1 callersFunctionrightrotate
DSA 450/Arrays/20.Rearrange array in alternating positive & negative.cpp:5
↓ 1 callersFunctionrotate
All Data Structures/Arrays/7) Cyclically rotate an array by one.cpp:24
↓ 1 callersFunctionrotate
DSA 450/Arrays/7. Cyclically rotate an array by one.cpp:3
↓ 1 callersFunctionrotate
* Given an array, rotate the array by one position in clock-wise direction. */
Coding Platforms(codechef,codeforces,etc)/GeeksforGeeks/Cyclically_rotate_an_array_by_one.cpp:22
↓ 1 callersMethodrotate
Function to rotate a linked list.
All Data Structures/Singly_LL/Rotate_A_Linked_List.cpp:34
↓ 1 callersFunctionrotateBy90
* Given a square matrix of size N x N. The task is to rotate it by 90 degrees in anti-clockwise direction without using any extra space. */
Coding Platforms(codechef,codeforces,etc)/GeeksforGeeks/Rotate_by_degree.cpp:22
↓ 1 callersFunctionrotateLeft
Coding Platforms(codechef,codeforces,etc)/HackerRank/leftRotation.cpp:9
↓ 1 callersFunctionrvereseArray
All Data Structures/Arrays/1) Reverse the Array.cpp:5
↓ 1 callersFunctionrvereseArray
DSA 450/Arrays/1. Reverse the Array.cpp:4
↓ 1 callersFunctionsate_array
DSA 450/Arrays/ArrayRotation.cpp:3
↓ 1 callersFunctionsearch
function to search the value in an array using interpolation search
All Algorithms/Searching Algorithm/interpolation_search.cpp:4
↓ 1 callersMethodsearch
Searching
All Data Structures/Trie/trie.h:44
↓ 1 callersFunctionsearch_In_LinkedList
All Data Structures/Singly_LL/menu_based_singly_linked_list.cpp:476
↓ 1 callersFunctionsearchnode
DSA 450/Binary Search Tree/Bst-implementaion.cpp:141
↓ 1 callersFunctionsegregateElements
* Given an unsorted array arr[] of size N having both negative and positive integers. The task is place all negative element at the end of array witho
Coding Platforms(codechef,codeforces,etc)/GeeksforGeeks/Move_all_negative_elements_to_end.cpp:22
↓ 1 callersFunctionseive
Coding Platforms(codechef,codeforces,etc)/CodeChef/Starters 16 (Rated for Div 3)/CHEFMGX.cpp:8
↓ 1 callersFunctionselectionSort
All Data Structures/Sorting/selectionsort.cpp:14
↓ 1 callersFunctionselectionSort
(sortingList)
All Algorithms/Sorting Algorithm in Python/selectionSort.py:25
↓ 1 callersFunctionselection_sort
All Algorithms/Sorting Algorithm/selection_sort.c:8
↓ 1 callersFunctionselection_sort
Basic Programming/selection_sort.cpp:8
↓ 1 callersFunctionshortestPath
All Data Structures/GRAPHS/ShortestPathBFS.cpp:4
↓ 1 callersMethodshow
All Data Structures/TREE/AVL.cpp:106
↓ 1 callersFunctionsiv
Coding Platforms(codechef,codeforces,etc)/spoj/Finding the Kth Prime.cpp:21
↓ 1 callersFunctionsolution
Coding Platforms(codechef,codeforces,etc)/Codeforces/978C.cpp:22
↓ 1 callersFunctionsolve
All Data Structures/TREE/fenwickTree_countInversion.cpp:30
↓ 1 callersFunctionsolve
All Data Structures/Segment Tree/segment_tree.cpp:193
↓ 1 callersFunctionsolve
All Algorithms/Graph Algorithm/SegmentTree(max-query).cpp:141
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/CodeChef/April Long Challenge 2021/Worthy Matrix.cpp:3
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/CodeChef/July Cook-off/Chef_in_Infinite_plane.cpp:40
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/CodeChef/July Cook-off/XOR-ORED.cpp:40
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/CodeChef/July Cook-off/Shoe_fit.cpp:43
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/CodeChef/July Long Challenge/XxOoRr.cpp:5
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/CodeChef/Practice/odd_pairs.cpp:5
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/CodeChef/Practice/Arranging The Sheep.cpp:5
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/D_1692.cpp:8
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/1551C Interesting Story.cpp:49
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/C_1692.cpp:8
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/A.2_3 moves.cpp:5
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/1749A.cpp:16
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/make_them_equal.cpp:7
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/C_1697.cpp:11
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/C_Sum_of_Cubes.cpp:7
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/676C Problem C.cpp:29
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/A_1709.cpp:13
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/A_1668.cpp:6
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/Three Indices.cpp:4
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/1579E1 Permutation Minimization by Deque.cpp:6
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/676C.cpp:29
↓ 1 callersFunctionsolve
Coding Platforms(codechef,codeforces,etc)/Codeforces/B_1647.cpp:11
← previousnext →601–700 of 2,161, ranked by callers