Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HarshCasper/NeoAlgo
/ functions
Functions
5,549 in github.com/HarshCasper/NeoAlgo
⨍
Functions
5,549
◇
Types & classes
1,056
↓ 1 callers
Function
CountSort
C-Plus-Plus/sort/counting_sort.cpp:39
↓ 1 callers
Function
Count_Inversion
(arr)
Python/other/Count_Inversion.py:64
↓ 1 callers
Function
Count_pairs_with_given_sum
(arr,k)
Python/other/count_pair_with_given_sum.py:17
↓ 1 callers
Function
CountingSort
CountingSort Algorithm Time Complexity : O(n + k) where k is the max element in the array
Go/sort/counting_sort/countingSort.go:51
↓ 1 callers
Function
Create
C/ds/Merging_two_Linked_List.c:17
↓ 1 callers
Function
Create2
C/ds/Merging_two_Linked_List.c:33
↓ 1 callers
Method
CreateLoop
(self, idx, last)
Python/ds/loop_detection_in_LL.py:41
↓ 1 callers
Function
CreateTree
C-Plus-Plus/cp/total_subtrees.cpp:39
↓ 1 callers
Method
CreateTree
CreateTree creates a new tree from level order array
Go/ds/binary_tree/inorder_traversal_binary_tree/inorder_traversal_binarytree.go:23
↓ 1 callers
Function
Create_BST
C-Plus-Plus/ds/Searching_in_BST.cpp:51
↓ 1 callers
Function
DFS
(n, graph, pos, ans)
Python/graphs/Hamiltonian_Path.py:22
↓ 1 callers
Function
DFS
(graph, node, low, ids, visited, chk, stack, ans)
Python/graphs/SCC_Tarjan.py:33
↓ 1 callers
Function
DFS
(graph, node, visited, topo)
Python/graphs/Topological_Sort.py:27
↓ 1 callers
Function
DFS
(maze, src, des, way=1)
Python/Pathfinding/2D_DFS_Iterative.py:11
↓ 1 callers
Function
DFS
(maze, Dim, cur_pos, des, visited, path, moves)
Python/Pathfinding/2D_DFS_Recursive.py:12
↓ 1 callers
Function
DFS
C-Plus-Plus/cp/total_pairs_chosen.cpp:14
↓ 1 callers
Function
DFS
This is trhe depth first search function
Go/graphs/topological_sort/topological_sort.go:31
↓ 1 callers
Function
DFS_VISIT
This function calls the DFS recursively for adjacency list of a vertex
Go/graphs/topological_sort/topological_sort.go:15
↓ 1 callers
Function
DHDelete
Function to delete an element from the Hash Table.
C-Plus-Plus/ds/double-hashing.cpp:38
↓ 1 callers
Function
DHSearch
Function to search for an element.
C-Plus-Plus/ds/double-hashing.cpp:23
↓ 1 callers
Function
DecimalToBinary
(num)
Python/math/positive_decimal_to_binary.py:7
↓ 1 callers
Function
Delete
C-Plus-Plus/ds/Queue_all_operations_using_linkedlist.cpp:30
↓ 1 callers
Method
Delete
To limit number of parameters
C-Sharp/dp/BinarySearchTree.cs:149
↓ 1 callers
Method
DeleteNode
C-Plus-Plus/ds/LinkedList.cpp:92
↓ 1 callers
Function
Delete_At_End
-------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:194
↓ 1 callers
Function
Delete_At_Pos
C-Plus-Plus/ds/singly_linked_list.cpp:217
↓ 1 callers
Function
Dfs
C/graphs/DFS.c:79
↓ 1 callers
Function
Diameter
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 callers
Function
Diameter
C-Plus-Plus/graphs/Diameter_of_binary_tree.cpp:43
↓ 1 callers
Function
Dice_Throw
(n, m, k)
Python/dp/Dice_Throw.py:38
↓ 1 callers
Function
Dijkstra
(maze, src, des, way=1)
Python/Pathfinding/2D_Dijkstra.py:12
↓ 1 callers
Function
Display
C-Plus-Plus/ds/Stack_using_Array.cpp:132
↓ 1 callers
Function
Display
------------------------------------------------------------------------------
C-Plus-Plus/ds/Stack_using_LinkedList.cpp:111
↓ 1 callers
Function
Display
Time complexity:- O(n) Space Complexity:- O(n)*/
C-Plus-Plus/ds/Queue_all_operations_using_linkedlist.cpp:46
↓ 1 callers
Function
Display
----------------------------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:260
↓ 1 callers
Function
Display
C/ds/Merging_two_Linked_List.c:49
↓ 1 callers
Function
Display
C/ds/removeDuplicate.c:17
↓ 1 callers
Function
DisplaySafeSequence
C/operating_system/bankers.c:68
↓ 1 callers
Function
DisplayTime
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 callers
Function
DisplayTime
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 callers
Function
Display_All
------------------------------------------------------------------------------------
C-Plus-Plus/cp/Intersection_Point_of_Y_shaped_LinkedList.cpp:123
↓ 1 callers
Function
Display_BST
function to print Binary Search Tree
C-Plus-Plus/ds/ancestors_of_given_number_BST.cpp:43
↓ 1 callers
Function
Distinct_count
(array, window)
Python/other/Distinct_elements_count.py:5
↓ 1 callers
Method
DuplicateElement
(int[] a, int n)
Java/cp/RemoveDuplicateElement.java:15
↓ 1 callers
Method
Edge_exists
(self, source_key, destination_key)
Python/graphs/Prims_Algo_dynamic.py:23
↓ 1 callers
Function
EnglishToDigit
C-Plus-Plus/cp/ReconstructOriginalDigitsFromEnglish.cpp:18
↓ 1 callers
Function
EqualPartition
C-Plus-Plus/dp/Equal_sum_partition.cpp:25
↓ 1 callers
Function
Euclid_GCD
Recursive function to show Euclidean Algorithm
C/math/GCD_In_C.c:18
↓ 1 callers
Function
Euler_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 callers
Function
EvalPostfix
C/ds/EvaluationOfPostfixExpression.c:18
↓ 1 callers
Function
Evaluate
C-Plus-Plus/stack/evaluate_postfix.cpp:188
↓ 1 callers
Function
ExponentialSearch
C-Plus-Plus/search/exponential_search.cpp:33
↓ 1 callers
Function
Extended_gcd
(a, b, x, y)
Python/math/Extended_Euclidean_Algorithm.py:3
↓ 1 callers
Function
F
C-Plus-Plus/math/Euler's_Totient_function.cpp:5
↓ 1 callers
Function
Factorial
C-Plus-Plus/dp/factorial_bottom_up.cpp:10
↓ 1 callers
Function
Factorial
C-Plus-Plus/dp/factorial_top_down.cpp:10
↓ 1 callers
Function
Factorial
C-Plus-Plus/math/krishnamurthy_number.cpp:16
↓ 1 callers
Function
Factorial
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 callers
Method
Factorial
(int n, int[] arr, int[] str2)
Java/cp/Factorial_large_numbers.java:5
↓ 1 callers
Function
Fibonacci
C-Plus-Plus/math/fibonacci_space_optimized.cpp:12
↓ 1 callers
Method
FindDistinct
(int arr[], int size, int k)
Java/cp/Distinct_Element.java:4
↓ 1 callers
Function
FindHeightNonRecursive
Function to find Height of Binary Tree without using recursion
C-Plus-Plus/ds/Height_Of_Binary_Tree_Non_Recursive.cpp:75
↓ 1 callers
Function
FindIntersectionNode
(first, second)
Python/cp/find_intersection_of_two_linked_lists.py:68
↓ 1 callers
Function
FindLIS
(list, len)
JavaScript/Algorithms/LongestIncreasingSubsequenceDP.js:9
↓ 1 callers
Function
FindMax
C-Plus-Plus/other/Lazy_Propagation_in_Segment_Tree.cpp:102
↓ 1 callers
Method
FindMax
To limit parameters
C-Sharp/dp/BinarySearchTree.cs:113
↓ 1 callers
Function
FindMaxHelp
C-Plus-Plus/other/Lazy_Propagation_in_Segment_Tree.cpp:64
↓ 1 callers
Function
FindMaxSum
Function to update level with maximum sum and its corresponding sum
C-Plus-Plus/ds/Max_Sum_Level_Of_Binary_Tree.cpp:78
↓ 1 callers
Method
FindMin
To limit parameters
C-Sharp/dp/BinarySearchTree.cs:99
↓ 1 callers
Function
FindRoute
Find Route between two points in a graph
C/ds/FindRouteBetwnTwoNode.c:102
↓ 1 callers
Function
FindValidParenthesis
C-Plus-Plus/cp/generate_valid_parenthesis.cpp:19
↓ 1 callers
Function
Find_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 callers
Function
Find_Path
(maze, src, des)
Python/Pathfinding/2D_DFS_Iterative.py:64
↓ 1 callers
Function
Find_Path
(maze, src, des)
Python/Pathfinding/2D_DFS_Recursive.py:44
↓ 1 callers
Function
Find_Path
(maze, src, des)
Python/Pathfinding/2D_Dijkstra.py:78
↓ 1 callers
Function
FindnPrintCommonAncestorNodes
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 callers
Function
First_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 callers
Function
FlightOfStairs
(n, k)
JavaScript/dp/flightOfStairs.js:6
↓ 1 callers
Function
FloydWarshall
(graph, row, col)
Python/graphs/Floyd_Warshall_Algorithm.py:17
↓ 1 callers
Function
Game
Function Code to Find Result of Game
C-Plus-Plus/cp/Space_Array.cpp:18
↓ 1 callers
Function
GanttChartFormation
C/operating_system/Round_Robin_Scheduling.c:71
↓ 1 callers
Function
GanttChartFormation
C/operating_system/priority_sjf.c:98
↓ 1 callers
Method
Gaussian_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 callers
Function
GenerateLPS
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 callers
Function
GeneratePaths
Utility Function to Generate paths
C-Plus-Plus/ds/Binary_Tree_Print_All_Root_To_Leaf_Paths.cpp:83
↓ 1 callers
Function
GeneratePaths
Utility Function to Generate paths and update maxsum variable
C-Plus-Plus/ds/Binary_Tree_Max_Root_To_Leaf_Path_Sum.cpp:85
↓ 1 callers
Function
GetSubsets
C-Plus-Plus/other/subsets.cpp:5
↓ 1 callers
Function
GetTriples
Function for computing Pythagorean Triples
C-Plus-Plus/math/Pythagorean_Triples.cpp:6
↓ 1 callers
Function
HailstoneSequence
C-Plus-Plus/math/Hailstone_sequence.cpp:13
↓ 1 callers
Function
Hamiltonial_Cycle
(n, graph)
Python/backtracking/Hamiltonian_Cycle.py:50
↓ 1 callers
Function
Hamiltonial_Path
(n, graph)
Python/graphs/Hamiltonian_Path.py:44
↓ 1 callers
Function
Happynumber
defining a boolean function to check whether the number is happy number or not
Kotlin/Maths/HappyNumber.kt:22
↓ 1 callers
Function
HasHigherPrecedence
Function to perform an operation and return output.
C-Plus-Plus/cp/infix_to_postfix.cpp:161
↓ 1 callers
Method
Helper
(Node node, int data)
Java/ds/NodetoRootPath.java:108
↓ 1 callers
Function
IMergeSort
C/sort/Iterative_Merge_Sort.c:59
↓ 1 callers
Function
InOrderSuccessor
C-Plus-Plus/ds/BinarySearchTree.cpp:114
↓ 1 callers
Function
InOrderpredecssor
C-Plus-Plus/ds/BinarySearchTree.cpp:105
↓ 1 callers
Function
InToPost
function to convert infix to postfix
C/stack/Infix_to_Postfix.c:71
↓ 1 callers
Function
InfixToPostfix
Function to evaluate Postfix expression and return output
C-Plus-Plus/cp/infix_to_postfix.cpp:42
↓ 1 callers
Function
InfixToPostfix
C/ds/infix_to_postfix.c:94
← previous
next →
701–800 of 5,549, ranked by callers