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
InfixtoPostfix
(infixstring)
JavaScript/ds/infixevaluator.js:113
↓ 1 callers
Function
InfixtoPostfix
(infixval)
JavaScript/ds/infixtopostfix.js:66
↓ 1 callers
Function
InfixtoPrefix
(infixval)
JavaScript/ds/infixtoprefix.js:67
↓ 1 callers
Function
Initialize
C/ds/FindRouteBetwnTwoNode.c:75
↓ 1 callers
Function
Inorder
Function to print inorder traversal of tree
C-Plus-Plus/ds/BST_from_Preorder_Traversal.cpp:61
↓ 1 callers
Method
InorderTraversal
InorderTraversal prints the Inorder traversal of tree
Go/ds/binary_tree/inorder_traversal_binary_tree/inorder_traversal_binarytree.go:39
↓ 1 callers
Function
Insert
C-Plus-Plus/ds/DoublyLinkedList.cpp:59
↓ 1 callers
Function
Insert
Function for Inserting Nodes in a Tree */
C/ds/Morris.c:27
↓ 1 callers
Method
InsertNode
C-Plus-Plus/ds/LinkedList.cpp:66
↓ 1 callers
Function
Insert_1
C-Plus-Plus/cp/Intersection_Point_of_Y_shaped_LinkedList.cpp:77
↓ 1 callers
Function
Insert_2
----------------------------------------------------------------------------------
C-Plus-Plus/cp/Intersection_Point_of_Y_shaped_LinkedList.cpp:100
↓ 1 callers
Function
Insert_At_End
-------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:92
↓ 1 callers
Function
Insert_At_Pos
-------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:140
↓ 1 callers
Function
Insert_into_bst
C-Plus-Plus/ds/Searching_in_BST.cpp:33
↓ 1 callers
Function
InsertionSort
(&$arr)
PHP/sort/InsertionSort.php:2
↓ 1 callers
Function
InsertionSort
InsertionSort Algorithm Time Complexity : O(n^2)
Go/sort/insertion_sort/insertionSort.go:46
↓ 1 callers
Function
Insertion_Sort
to sort the individual bucket
C-Plus-Plus/sort/bucket_sort.cpp:14
↓ 1 callers
Function
IntegerToRoman
C-Plus-Plus/math/int_to_roman.cpp:16
↓ 1 callers
Function
Intersect
--------------------------------------------------------------------------------------
C-Plus-Plus/cp/Intersection_Point_of_Y_shaped_LinkedList.cpp:143
↓ 1 callers
Function
Intersection
C-Plus-Plus/other/Union_and_Intersection_of_arrays.cpp:11
↓ 1 callers
Function
IntervalList
C-Plus-Plus/cp/Interval_list_Intersection.cpp:17
↓ 1 callers
Function
Inverse_of_Factorial
Function to Find Inverse of factorial*/
C-Plus-Plus/cp/Max_Topology_short.cpp:34
↓ 1 callers
Function
Inverse_of_Number
Function to Find Inverse of A Number
C-Plus-Plus/cp/Max_Topology_short.cpp:26
↓ 1 callers
Function
Invert
Invert the given tree
C-Plus-Plus/ds/Invert_Binary_Tree.cpp:99
↓ 1 callers
Function
IsAVLTree
Function to determine whether given Tree is AVL Tree or not
C-Plus-Plus/ds/AVL_Tree_or_not.cpp:63
↓ 1 callers
Function
IsClosingParentheses
C-Plus-Plus/cp/infix_to_postfix.cpp:126
↓ 1 callers
Function
IsOperand
Function to verify whether a character is english letter or numeric digit. We are assuming in this solution that operand will be a single character
C-Plus-Plus/cp/infix_to_postfix.cpp:102
↓ 1 callers
Function
IsOperator
Function to verify whether a character is operator symbol or not.
C-Plus-Plus/cp/infix_to_postfix.cpp:111
↓ 1 callers
Method
IsQueueEmpty
()
Java/Operating-System/CPU_Scheduling_RR.java:38
↓ 1 callers
Function
IsRightAssociative
Function to verify whether an operator is right associative or not.
C-Plus-Plus/cp/infix_to_postfix.cpp:133
↓ 1 callers
Function
IsStructurallyIdentical
Function to check whether given two binary trees are structurally identical or not
C-Plus-Plus/ds/Structurally_Identical_Binary_Trees.cpp:70
↓ 1 callers
Function
IsValidBST
Function to check if it is a valid binary tree
C-Plus-Plus/ds/Binary_Search_Tree_Validation.cpp:97
↓ 1 callers
Function
IsValidBSTUtil
Utility function which keeps checking , three essential conditions to be a BST Returns true if the given tree is a BST and its values are >= min and <
C-Plus-Plus/ds/Binary_Search_Tree_Validation.cpp:81
↓ 1 callers
Function
Is_Empty
-----------------------------------------------------------------------------
C-Plus-Plus/ds/Stack_using_Array.cpp:121
↓ 1 callers
Function
Is_Empty
-----------------------------------------------------------------------------
C-Plus-Plus/ds/Stack_using_LinkedList.cpp:103
↓ 1 callers
Function
Is_Full
-----------------------------------------------------------------------------
C-Plus-Plus/ds/Stack_using_Array.cpp:111
↓ 1 callers
Function
Iterative
C-Plus-Plus/math/double_factorial.cpp:17
↓ 1 callers
Function
JSD_algo
C-Plus-Plus/other/job_sheduling_with_deadlines.cpp:41
↓ 1 callers
Function
KMPSearch
(pattern, text)
Python/cp/KMP_Algorithm.py:31
↓ 1 callers
Function
KMPSearch
(txt, pat)
Python/string/KMP.py:46
↓ 1 callers
Method
KMPSearch
(String txt, String patt)
Java/cp/KMP_Algorithm.java:69
↓ 1 callers
Function
Knight_Tour
(n, pos)
Python/backtracking/Knight's_Tour.py:44
↓ 1 callers
Function
Knutt_Morris_Prat
C/cp/Knutt_Morris_Prat.c:19
↓ 1 callers
Method
KosarajuSCC
Apply the Kosaraju Algorithm
C-Sharp/graphs/Kosaraju's_algorithm_for_SCC.cs:206
↓ 1 callers
Function
Krishnamurthy_No
C-Plus-Plus/math/krishnamurthy_number.cpp:25
↓ 1 callers
Method
KruskalAlgo
()
Java/graphs/Kruskal_Algorithm.java:50
↓ 1 callers
Function
LCA
C-Plus-Plus/cp/LowestCommonAncestor_in_Tree.cpp:27
↓ 1 callers
Function
LPSearch
Function to search for an element.
C-Plus-Plus/ds/linear-probing.cpp:19
↓ 1 callers
Function
Last_positions
Finding last positions of an element
C-Plus-Plus/ds/Find_first_and_last_positions_of_an_element_in_a_sorted_array.cpp:47
↓ 1 callers
Function
LeftView
(root, level, maxlevel)
Python/graphs/Left_view_of_binary_tree.py:40
↓ 1 callers
Function
LeftView
(root)
Python/graphs/top_view_binary_tree.py:41
↓ 1 callers
Function
LeftView
we make a fuction "LeftView" to print the left side of the tree. to print the left view we need to print all the leftmost elements in the level or
C-Plus-Plus/ds/Side_Views_of_Binary_tree.cpp:90
↓ 1 callers
Function
Length
C-Plus-Plus/ds/DoublyLinkedList.cpp:48
↓ 1 callers
Function
Length
C-Plus-Plus/ds/singly_linked_list.cpp:275
↓ 1 callers
Function
LetterCount
(word)
Python/cp/LetterCount.py:8
↓ 1 callers
Function
LevelOrderTraversal
Function to print Tree in level order
C-Plus-Plus/ds/Balanced_BST_From_a_vector_of_values.cpp:49
↓ 1 callers
Method
LevelOrderTraversal
(Node root)
Java/ds/LevelOrderTraversalRecursion.java:63
↓ 1 callers
Function
Lexicographically_largest_palindrome_subsequence
C-Plus-Plus/cp/Lexicographically_largest_palindrome_subsequence.cpp:10
↓ 1 callers
Method
LinearProbing
(int ht[], int val)
Java/ds/Hashtable_linear_probing.java:16
↓ 1 callers
Method
LoadData
To Load your dataset
C-Sharp/graphs/Kosaraju's_algorithm_for_SCC.cs:42
↓ 1 callers
Function
Lols
length of longest substring
C-Plus-Plus/cp/Longest_substring_without_repeating_chars.cpp:11
↓ 1 callers
Method
LongestCommonPrefixFn
(String[] strs)
Java/cp/Longest_Common_Prefix.java:3
↓ 1 callers
Function
LongestConsecutiveSubsequence
(arr)
Python/other/Longest_Consecutive_Subsequence.py:18
↓ 1 callers
Function
LongestPalindromicSubsequence
C-Plus-Plus/dp/Minimum_Insertion_Steps_to_make_Palindrome.cpp:11
↓ 1 callers
Function
LongestSubarraySum
C-Plus-Plus/cp/largest_subarray_of_sum_k.cpp:10
↓ 1 callers
Function
LongestSubstrNoRepeatingChar
C-Plus-Plus/cp/length_of_longest_substring_with_no_repeating_characters.cpp:10
↓ 1 callers
Method
LoopDetect
(self)
Python/ds/loop_detection_in_LL.py:50
↓ 1 callers
Function
Lucas
(n, r, p)
Python/math/Lucas_Theorem.py:41
↓ 1 callers
Function
MAH
finding Maximum Area of Histogram
C-Plus-Plus/ds/Max_rectangle.cpp:22
↓ 1 callers
Function
MMSum
(a)
Python/math/min_max_sum.py:6
↓ 1 callers
Function
MainFunction
(arr, size)
Python/cp/findingLeastPositiveNumber.py:12
↓ 1 callers
Function
MakeTree
()
Python/graphs/top_view_binary_tree.py:30
↓ 1 callers
Method
Make_edges
C-Plus-Plus/cp/total_more_child_vertices_than_parent.cpp:31
↓ 1 callers
Method
ManageProcessQueue
()
Java/Operating-System/CPU_Scheduling_RR.java:54
↓ 1 callers
Method
MatMul
(self)
Python/math/Strassen's_Matrix_Mul.py:9
↓ 1 callers
Function
Max
C-Plus-Plus/sort/counting_sort.cpp:27
↓ 1 callers
Function
MaxAdjacentProduct
(intList)
Python/cp/adjacent_elements_product.py:9
↓ 1 callers
Function
MaxConsecutiveOnes
C-Plus-Plus/other/MaxNoOfConsecutive1'sFlipAtmostK0's.cpp:20
↓ 1 callers
Function
MaxHeap
to heapify a subtree
C-Plus-Plus/heap/ConvertMinHeapToMax.cpp:7
↓ 1 callers
Function
MaxLeafToLeafPathSum
Function to calculate leaf to leaf sum and update it recursively If root->key is negative it may happen that leaf to leaf path sum < coresponding root
C-Plus-Plus/ds/Max_Leaf_To_Leaf_Path_Sum_Of_Binary_Tree.cpp:79
↓ 1 callers
Function
MaxMoney
Function to find the maximum amount of money you can rob tonight without alerting the police
C-Plus-Plus/dp/House_Robber_Problem.cpp:18
↓ 1 callers
Function
MaxSquare
(mat)
Python/other/Maximum_Square_Matrix.py:4
↓ 1 callers
Function
Max_Value
C-Plus-Plus/cp/Array_Manipulation.cpp:13
↓ 1 callers
Function
MaximumEachSubarray
C-Plus-Plus/cp/maximum_of_all_subarray_of_size_k.cpp:11
↓ 1 callers
Function
Maximum_consecutive_avgint_pair
Function to reorder elements such that number of consecutive average integer pairs is maximised.
C-Plus-Plus/other/Maxm_consecutive_avgint_pairs.cpp:13
↓ 1 callers
Function
Merge
C/ds/Merging_two_Linked_List.c:57
↓ 1 callers
Function
MergeSort
(arr)
Python/other/Check_Inversion.py:14
↓ 1 callers
Function
MergeSort
MergeSort Algorithm Time Complexity : O(nlogn) in worst-case
Go/sort/merge_sort/mergeSort.go:73
↓ 1 callers
Function
MiddleNode1
counts the length of list and prints the value at length/2
C-Plus-Plus/ds/linked_list_middle_element.cpp:47
↓ 1 callers
Function
MiddleNode2
uses two pointers where 1st jumps two steps to reach end while the 2nd reaches middle element
C-Plus-Plus/ds/linked_list_middle_element.cpp:69
↓ 1 callers
Function
Min
C-Plus-Plus/sort/counting_sort.cpp:15
↓ 1 callers
Method
MinMax
(int arr[], int low, int high)
Java/Algorithms/Min_Max_Algorithm_implementation.java:53
↓ 1 callers
Function
Min_xor
C-Plus-Plus/Bit--Manipulation/Minimum_XOR_Value.cpp:14
↓ 1 callers
Function
MinimumSumPartition
(arr)
Python/other/Minimum_Sum_Partition.py:20
↓ 1 callers
Function
Mirror
Function to Find Mirror of the Binary Tree */
C/ds/Mirror_BinaryTree.c:48
↓ 1 callers
Function
Mod
(n, r, p)
Python/math/Lucas_Theorem.py:22
↓ 1 callers
Function
ModExp
ModExp calculates modular exponentiation in O(exponent).
Go/math/Modular_Exponentiation/modexp.go:19
↓ 1 callers
Function
Mod_Inv
(num)
Python/dp/Unique_BST.py:38
↓ 1 callers
Function
Mod_Inv
(num)
Python/dp/binary_trees_with_n_nodes.py:26
↓ 1 callers
Function
Mod_Inv
(num)
Python/math/Catalan_Number.py:29
← previous
next →
801–900 of 5,549, ranked by callers