MCPcopy Create free account

hub / github.com/HarshCasper/NeoAlgo / functions

Functions5,549 in github.com/HarshCasper/NeoAlgo

↓ 1 callersFunctionCountSort
C-Plus-Plus/sort/counting_sort.cpp:39
↓ 1 callersFunctionCount_Inversion
(arr)
Python/other/Count_Inversion.py:64
↓ 1 callersFunctionCount_pairs_with_given_sum
(arr,k)
Python/other/count_pair_with_given_sum.py:17
↓ 1 callersFunctionCountingSort
CountingSort Algorithm Time Complexity : O(n + k) where k is the max element in the array
Go/sort/counting_sort/countingSort.go:51
↓ 1 callersFunctionCreate
C/ds/Merging_two_Linked_List.c:17
↓ 1 callersFunctionCreate2
C/ds/Merging_two_Linked_List.c:33
↓ 1 callersMethodCreateLoop
(self, idx, last)
Python/ds/loop_detection_in_LL.py:41
↓ 1 callersFunctionCreateTree
C-Plus-Plus/cp/total_subtrees.cpp:39
↓ 1 callersMethodCreateTree
CreateTree creates a new tree from level order array
Go/ds/binary_tree/inorder_traversal_binary_tree/inorder_traversal_binarytree.go:23
↓ 1 callersFunctionCreate_BST
C-Plus-Plus/ds/Searching_in_BST.cpp:51
↓ 1 callersFunctionDFS
(n, graph, pos, ans)
Python/graphs/Hamiltonian_Path.py:22
↓ 1 callersFunctionDFS
(graph, node, low, ids, visited, chk, stack, ans)
Python/graphs/SCC_Tarjan.py:33
↓ 1 callersFunctionDFS
(graph, node, visited, topo)
Python/graphs/Topological_Sort.py:27
↓ 1 callersFunctionDFS
(maze, src, des, way=1)
Python/Pathfinding/2D_DFS_Iterative.py:11
↓ 1 callersFunctionDFS
(maze, Dim, cur_pos, des, visited, path, moves)
Python/Pathfinding/2D_DFS_Recursive.py:12
↓ 1 callersFunctionDFS
C-Plus-Plus/cp/total_pairs_chosen.cpp:14
↓ 1 callersFunctionDFS
This is trhe depth first search function
Go/graphs/topological_sort/topological_sort.go:31
↓ 1 callersFunctionDFS_VISIT
This function calls the DFS recursively for adjacency list of a vertex
Go/graphs/topological_sort/topological_sort.go:15
↓ 1 callersFunctionDHDelete
Function to delete an element from the Hash Table.
C-Plus-Plus/ds/double-hashing.cpp:38
↓ 1 callersFunctionDHSearch
Function to search for an element.
C-Plus-Plus/ds/double-hashing.cpp:23
↓ 1 callersFunctionDecimalToBinary
(num)
Python/math/positive_decimal_to_binary.py:7
↓ 1 callersFunctionDelete
C-Plus-Plus/ds/Queue_all_operations_using_linkedlist.cpp:30
↓ 1 callersMethodDelete
To limit number of parameters
C-Sharp/dp/BinarySearchTree.cs:149
↓ 1 callersMethodDeleteNode
C-Plus-Plus/ds/LinkedList.cpp:92
↓ 1 callersFunctionDelete_At_End
-------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:194
↓ 1 callersFunctionDelete_At_Pos
C-Plus-Plus/ds/singly_linked_list.cpp:217
↓ 1 callersFunctionDfs
C/graphs/DFS.c:79
↓ 1 callersFunctionDiameter
Summary Line: This function helps us to calculate the diameter of our tree. Diameter is the number of nodes between the two farthest
Python/ds/DiameterOfBinaryTree.py:62
↓ 1 callersFunctionDiameter
C-Plus-Plus/graphs/Diameter_of_binary_tree.cpp:43
↓ 1 callersFunctionDice_Throw
(n, m, k)
Python/dp/Dice_Throw.py:38
↓ 1 callersFunctionDijkstra
(maze, src, des, way=1)
Python/Pathfinding/2D_Dijkstra.py:12
↓ 1 callersFunctionDisplay
C-Plus-Plus/ds/Stack_using_Array.cpp:132
↓ 1 callersFunctionDisplay
------------------------------------------------------------------------------
C-Plus-Plus/ds/Stack_using_LinkedList.cpp:111
↓ 1 callersFunctionDisplay
Time complexity:- O(n) Space Complexity:- O(n)*/
C-Plus-Plus/ds/Queue_all_operations_using_linkedlist.cpp:46
↓ 1 callersFunctionDisplay
----------------------------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:260
↓ 1 callersFunctionDisplay
C/ds/Merging_two_Linked_List.c:49
↓ 1 callersFunctionDisplay
C/ds/removeDuplicate.c:17
↓ 1 callersFunctionDisplaySafeSequence
C/operating_system/bankers.c:68
↓ 1 callersFunctionDisplayTime
Displays completion time,turn around time,waiting time,response time and also calculates total waiting and turn around time*/
C/operating_system/Round_Robin_Scheduling.c:139
↓ 1 callersFunctionDisplayTime
Displays completion time,turn around time,waiting time,response time and also calculates total waiting and turn around time*/
C/operating_system/priority_sjf.c:162
↓ 1 callersFunctionDisplay_All
------------------------------------------------------------------------------------
C-Plus-Plus/cp/Intersection_Point_of_Y_shaped_LinkedList.cpp:123
↓ 1 callersFunctionDisplay_BST
function to print Binary Search Tree
C-Plus-Plus/ds/ancestors_of_given_number_BST.cpp:43
↓ 1 callersFunctionDistinct_count
(array, window)
Python/other/Distinct_elements_count.py:5
↓ 1 callersMethodDuplicateElement
(int[] a, int n)
Java/cp/RemoveDuplicateElement.java:15
↓ 1 callersMethodEdge_exists
(self, source_key, destination_key)
Python/graphs/Prims_Algo_dynamic.py:23
↓ 1 callersFunctionEnglishToDigit
C-Plus-Plus/cp/ReconstructOriginalDigitsFromEnglish.cpp:18
↓ 1 callersFunctionEqualPartition
C-Plus-Plus/dp/Equal_sum_partition.cpp:25
↓ 1 callersFunctionEuclid_GCD
Recursive function to show Euclidean Algorithm
C/math/GCD_In_C.c:18
↓ 1 callersFunctionEuler_Totient
Function whuch counts number of integers between 1 to n which are co-prime to n
C/math/Euler's_Totient_function.c:24
↓ 1 callersFunctionEvalPostfix
C/ds/EvaluationOfPostfixExpression.c:18
↓ 1 callersFunctionEvaluate
C-Plus-Plus/stack/evaluate_postfix.cpp:188
↓ 1 callersFunctionExponentialSearch
C-Plus-Plus/search/exponential_search.cpp:33
↓ 1 callersFunctionExtended_gcd
(a, b, x, y)
Python/math/Extended_Euclidean_Algorithm.py:3
↓ 1 callersFunctionF
C-Plus-Plus/math/Euler's_Totient_function.cpp:5
↓ 1 callersFunctionFactorial
C-Plus-Plus/dp/factorial_bottom_up.cpp:10
↓ 1 callersFunctionFactorial
C-Plus-Plus/dp/factorial_top_down.cpp:10
↓ 1 callersFunctionFactorial
C-Plus-Plus/math/krishnamurthy_number.cpp:16
↓ 1 callersFunctionFactorial
Factorial is calculated using recursive formula : n! = n * (n-1)! Iteratively, it can be calculated by multiplying the current product by the next n
C-Plus-Plus/math/factorial_space_optimized.cpp:9
↓ 1 callersMethodFactorial
(int n, int[] arr, int[] str2)
Java/cp/Factorial_large_numbers.java:5
↓ 1 callersFunctionFibonacci
C-Plus-Plus/math/fibonacci_space_optimized.cpp:12
↓ 1 callersMethodFindDistinct
(int arr[], int size, int k)
Java/cp/Distinct_Element.java:4
↓ 1 callersFunctionFindHeightNonRecursive
Function to find Height of Binary Tree without using recursion
C-Plus-Plus/ds/Height_Of_Binary_Tree_Non_Recursive.cpp:75
↓ 1 callersFunctionFindIntersectionNode
(first, second)
Python/cp/find_intersection_of_two_linked_lists.py:68
↓ 1 callersFunctionFindLIS
(list, len)
JavaScript/Algorithms/LongestIncreasingSubsequenceDP.js:9
↓ 1 callersFunctionFindMax
C-Plus-Plus/other/Lazy_Propagation_in_Segment_Tree.cpp:102
↓ 1 callersMethodFindMax
To limit parameters
C-Sharp/dp/BinarySearchTree.cs:113
↓ 1 callersFunctionFindMaxHelp
C-Plus-Plus/other/Lazy_Propagation_in_Segment_Tree.cpp:64
↓ 1 callersFunctionFindMaxSum
Function to update level with maximum sum and its corresponding sum
C-Plus-Plus/ds/Max_Sum_Level_Of_Binary_Tree.cpp:78
↓ 1 callersMethodFindMin
To limit parameters
C-Sharp/dp/BinarySearchTree.cs:99
↓ 1 callersFunctionFindRoute
Find Route between two points in a graph
C/ds/FindRouteBetwnTwoNode.c:102
↓ 1 callersFunctionFindValidParenthesis
C-Plus-Plus/cp/generate_valid_parenthesis.cpp:19
↓ 1 callersFunctionFind_Intersection
-------------------------------------------------------------------------------------- Till now we have just work on intersecting two Linked List
C-Plus-Plus/cp/Intersection_Point_of_Y_shaped_LinkedList.cpp:228
↓ 1 callersFunctionFind_Path
(maze, src, des)
Python/Pathfinding/2D_DFS_Iterative.py:64
↓ 1 callersFunctionFind_Path
(maze, src, des)
Python/Pathfinding/2D_DFS_Recursive.py:44
↓ 1 callersFunctionFind_Path
(maze, src, des)
Python/Pathfinding/2D_Dijkstra.py:78
↓ 1 callersFunctionFindnPrintCommonAncestorNodes
Function to get ancestors of both nodes and print common of them
C-Plus-Plus/ds/Common_Ancestors_Of_Nodes_Of_Binary_Tree.cpp:119
↓ 1 callersFunctionFirst_positions
Finding first positions of an element
C-Plus-Plus/ds/Find_first_and_last_positions_of_an_element_in_a_sorted_array.cpp:32
↓ 1 callersFunctionFlightOfStairs
(n, k)
JavaScript/dp/flightOfStairs.js:6
↓ 1 callersFunctionFloydWarshall
(graph, row, col)
Python/graphs/Floyd_Warshall_Algorithm.py:17
↓ 1 callersFunctionGame
Function Code to Find Result of Game
C-Plus-Plus/cp/Space_Array.cpp:18
↓ 1 callersFunctionGanttChartFormation
C/operating_system/Round_Robin_Scheduling.c:71
↓ 1 callersFunctionGanttChartFormation
C/operating_system/priority_sjf.c:98
↓ 1 callersMethodGaussian_distribution
X: value of feature mean: the average value of feature stdev: the standard deviation of feature The function retu
Python/ml/Naive_Bayes_from_Scratch.py:65
↓ 1 callersFunctionGenerateLPS
Step 1: Pre-Processing: Time Complexity O(m) Making 'lps' Array (Length of longest Prfix which is also the suffix). Here lps[i] represent the length o
C-Plus-Plus/String_Algorithms/KMP_Algorithm.cpp:23
↓ 1 callersFunctionGeneratePaths
Utility Function to Generate paths
C-Plus-Plus/ds/Binary_Tree_Print_All_Root_To_Leaf_Paths.cpp:83
↓ 1 callersFunctionGeneratePaths
Utility Function to Generate paths and update maxsum variable
C-Plus-Plus/ds/Binary_Tree_Max_Root_To_Leaf_Path_Sum.cpp:85
↓ 1 callersFunctionGetSubsets
C-Plus-Plus/other/subsets.cpp:5
↓ 1 callersFunctionGetTriples
Function for computing Pythagorean Triples
C-Plus-Plus/math/Pythagorean_Triples.cpp:6
↓ 1 callersFunctionHailstoneSequence
C-Plus-Plus/math/Hailstone_sequence.cpp:13
↓ 1 callersFunctionHamiltonial_Cycle
(n, graph)
Python/backtracking/Hamiltonian_Cycle.py:50
↓ 1 callersFunctionHamiltonial_Path
(n, graph)
Python/graphs/Hamiltonian_Path.py:44
↓ 1 callersFunctionHappynumber
defining a boolean function to check whether the number is happy number or not
Kotlin/Maths/HappyNumber.kt:22
↓ 1 callersFunctionHasHigherPrecedence
Function to perform an operation and return output.
C-Plus-Plus/cp/infix_to_postfix.cpp:161
↓ 1 callersMethodHelper
(Node node, int data)
Java/ds/NodetoRootPath.java:108
↓ 1 callersFunctionIMergeSort
C/sort/Iterative_Merge_Sort.c:59
↓ 1 callersFunctionInOrderSuccessor
C-Plus-Plus/ds/BinarySearchTree.cpp:114
↓ 1 callersFunctionInOrderpredecssor
C-Plus-Plus/ds/BinarySearchTree.cpp:105
↓ 1 callersFunctionInToPost
function to convert infix to postfix
C/stack/Infix_to_Postfix.c:71
↓ 1 callersFunctionInfixToPostfix
Function to evaluate Postfix expression and return output
C-Plus-Plus/cp/infix_to_postfix.cpp:42
↓ 1 callersFunctionInfixToPostfix
C/ds/infix_to_postfix.c:94
← previousnext →701–800 of 5,549, ranked by callers