MCPcopy Create free account

hub / github.com/HarshCasper/NeoAlgo / functions

Functions5,549 in github.com/HarshCasper/NeoAlgo

↓ 1 callersFunctionInfixtoPostfix
(infixstring)
JavaScript/ds/infixevaluator.js:113
↓ 1 callersFunctionInfixtoPostfix
(infixval)
JavaScript/ds/infixtopostfix.js:66
↓ 1 callersFunctionInfixtoPrefix
(infixval)
JavaScript/ds/infixtoprefix.js:67
↓ 1 callersFunctionInitialize
C/ds/FindRouteBetwnTwoNode.c:75
↓ 1 callersFunctionInorder
Function to print inorder traversal of tree
C-Plus-Plus/ds/BST_from_Preorder_Traversal.cpp:61
↓ 1 callersMethodInorderTraversal
InorderTraversal prints the Inorder traversal of tree
Go/ds/binary_tree/inorder_traversal_binary_tree/inorder_traversal_binarytree.go:39
↓ 1 callersFunctionInsert
C-Plus-Plus/ds/DoublyLinkedList.cpp:59
↓ 1 callersFunctionInsert
Function for Inserting Nodes in a Tree */
C/ds/Morris.c:27
↓ 1 callersMethodInsertNode
C-Plus-Plus/ds/LinkedList.cpp:66
↓ 1 callersFunctionInsert_1
C-Plus-Plus/cp/Intersection_Point_of_Y_shaped_LinkedList.cpp:77
↓ 1 callersFunctionInsert_2
----------------------------------------------------------------------------------
C-Plus-Plus/cp/Intersection_Point_of_Y_shaped_LinkedList.cpp:100
↓ 1 callersFunctionInsert_At_End
-------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:92
↓ 1 callersFunctionInsert_At_Pos
-------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:140
↓ 1 callersFunctionInsert_into_bst
C-Plus-Plus/ds/Searching_in_BST.cpp:33
↓ 1 callersFunctionInsertionSort
(&$arr)
PHP/sort/InsertionSort.php:2
↓ 1 callersFunctionInsertionSort
InsertionSort Algorithm Time Complexity : O(n^2)
Go/sort/insertion_sort/insertionSort.go:46
↓ 1 callersFunctionInsertion_Sort
to sort the individual bucket
C-Plus-Plus/sort/bucket_sort.cpp:14
↓ 1 callersFunctionIntegerToRoman
C-Plus-Plus/math/int_to_roman.cpp:16
↓ 1 callersFunctionIntersect
--------------------------------------------------------------------------------------
C-Plus-Plus/cp/Intersection_Point_of_Y_shaped_LinkedList.cpp:143
↓ 1 callersFunctionIntersection
C-Plus-Plus/other/Union_and_Intersection_of_arrays.cpp:11
↓ 1 callersFunctionIntervalList
C-Plus-Plus/cp/Interval_list_Intersection.cpp:17
↓ 1 callersFunctionInverse_of_Factorial
Function to Find Inverse of factorial*/
C-Plus-Plus/cp/Max_Topology_short.cpp:34
↓ 1 callersFunctionInverse_of_Number
Function to Find Inverse of A Number
C-Plus-Plus/cp/Max_Topology_short.cpp:26
↓ 1 callersFunctionInvert
Invert the given tree
C-Plus-Plus/ds/Invert_Binary_Tree.cpp:99
↓ 1 callersFunctionIsAVLTree
Function to determine whether given Tree is AVL Tree or not
C-Plus-Plus/ds/AVL_Tree_or_not.cpp:63
↓ 1 callersFunctionIsClosingParentheses
C-Plus-Plus/cp/infix_to_postfix.cpp:126
↓ 1 callersFunctionIsOperand
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 callersFunctionIsOperator
Function to verify whether a character is operator symbol or not.
C-Plus-Plus/cp/infix_to_postfix.cpp:111
↓ 1 callersMethodIsQueueEmpty
()
Java/Operating-System/CPU_Scheduling_RR.java:38
↓ 1 callersFunctionIsRightAssociative
Function to verify whether an operator is right associative or not.
C-Plus-Plus/cp/infix_to_postfix.cpp:133
↓ 1 callersFunctionIsStructurallyIdentical
Function to check whether given two binary trees are structurally identical or not
C-Plus-Plus/ds/Structurally_Identical_Binary_Trees.cpp:70
↓ 1 callersFunctionIsValidBST
Function to check if it is a valid binary tree
C-Plus-Plus/ds/Binary_Search_Tree_Validation.cpp:97
↓ 1 callersFunctionIsValidBSTUtil
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 callersFunctionIs_Empty
-----------------------------------------------------------------------------
C-Plus-Plus/ds/Stack_using_Array.cpp:121
↓ 1 callersFunctionIs_Empty
-----------------------------------------------------------------------------
C-Plus-Plus/ds/Stack_using_LinkedList.cpp:103
↓ 1 callersFunctionIs_Full
-----------------------------------------------------------------------------
C-Plus-Plus/ds/Stack_using_Array.cpp:111
↓ 1 callersFunctionIterative
C-Plus-Plus/math/double_factorial.cpp:17
↓ 1 callersFunctionJSD_algo
C-Plus-Plus/other/job_sheduling_with_deadlines.cpp:41
↓ 1 callersFunctionKMPSearch
(pattern, text)
Python/cp/KMP_Algorithm.py:31
↓ 1 callersFunctionKMPSearch
(txt, pat)
Python/string/KMP.py:46
↓ 1 callersMethodKMPSearch
(String txt, String patt)
Java/cp/KMP_Algorithm.java:69
↓ 1 callersFunctionKnight_Tour
(n, pos)
Python/backtracking/Knight's_Tour.py:44
↓ 1 callersFunctionKnutt_Morris_Prat
C/cp/Knutt_Morris_Prat.c:19
↓ 1 callersMethodKosarajuSCC
Apply the Kosaraju Algorithm
C-Sharp/graphs/Kosaraju's_algorithm_for_SCC.cs:206
↓ 1 callersFunctionKrishnamurthy_No
C-Plus-Plus/math/krishnamurthy_number.cpp:25
↓ 1 callersMethodKruskalAlgo
()
Java/graphs/Kruskal_Algorithm.java:50
↓ 1 callersFunctionLCA
C-Plus-Plus/cp/LowestCommonAncestor_in_Tree.cpp:27
↓ 1 callersFunctionLPSearch
Function to search for an element.
C-Plus-Plus/ds/linear-probing.cpp:19
↓ 1 callersFunctionLast_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 callersFunctionLeftView
(root, level, maxlevel)
Python/graphs/Left_view_of_binary_tree.py:40
↓ 1 callersFunctionLeftView
(root)
Python/graphs/top_view_binary_tree.py:41
↓ 1 callersFunctionLeftView
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 callersFunctionLength
C-Plus-Plus/ds/DoublyLinkedList.cpp:48
↓ 1 callersFunctionLength
C-Plus-Plus/ds/singly_linked_list.cpp:275
↓ 1 callersFunctionLetterCount
(word)
Python/cp/LetterCount.py:8
↓ 1 callersFunctionLevelOrderTraversal
Function to print Tree in level order
C-Plus-Plus/ds/Balanced_BST_From_a_vector_of_values.cpp:49
↓ 1 callersMethodLevelOrderTraversal
(Node root)
Java/ds/LevelOrderTraversalRecursion.java:63
↓ 1 callersFunctionLexicographically_largest_palindrome_subsequence
C-Plus-Plus/cp/Lexicographically_largest_palindrome_subsequence.cpp:10
↓ 1 callersMethodLinearProbing
(int ht[], int val)
Java/ds/Hashtable_linear_probing.java:16
↓ 1 callersMethodLoadData
To Load your dataset
C-Sharp/graphs/Kosaraju's_algorithm_for_SCC.cs:42
↓ 1 callersFunctionLols
length of longest substring
C-Plus-Plus/cp/Longest_substring_without_repeating_chars.cpp:11
↓ 1 callersMethodLongestCommonPrefixFn
(String[] strs)
Java/cp/Longest_Common_Prefix.java:3
↓ 1 callersFunctionLongestConsecutiveSubsequence
(arr)
Python/other/Longest_Consecutive_Subsequence.py:18
↓ 1 callersFunctionLongestPalindromicSubsequence
C-Plus-Plus/dp/Minimum_Insertion_Steps_to_make_Palindrome.cpp:11
↓ 1 callersFunctionLongestSubarraySum
C-Plus-Plus/cp/largest_subarray_of_sum_k.cpp:10
↓ 1 callersFunctionLongestSubstrNoRepeatingChar
C-Plus-Plus/cp/length_of_longest_substring_with_no_repeating_characters.cpp:10
↓ 1 callersMethodLoopDetect
(self)
Python/ds/loop_detection_in_LL.py:50
↓ 1 callersFunctionLucas
(n, r, p)
Python/math/Lucas_Theorem.py:41
↓ 1 callersFunctionMAH
finding Maximum Area of Histogram
C-Plus-Plus/ds/Max_rectangle.cpp:22
↓ 1 callersFunctionMMSum
(a)
Python/math/min_max_sum.py:6
↓ 1 callersFunctionMainFunction
(arr, size)
Python/cp/findingLeastPositiveNumber.py:12
↓ 1 callersFunctionMakeTree
()
Python/graphs/top_view_binary_tree.py:30
↓ 1 callersMethodMake_edges
C-Plus-Plus/cp/total_more_child_vertices_than_parent.cpp:31
↓ 1 callersMethodManageProcessQueue
()
Java/Operating-System/CPU_Scheduling_RR.java:54
↓ 1 callersMethodMatMul
(self)
Python/math/Strassen's_Matrix_Mul.py:9
↓ 1 callersFunctionMax
C-Plus-Plus/sort/counting_sort.cpp:27
↓ 1 callersFunctionMaxAdjacentProduct
(intList)
Python/cp/adjacent_elements_product.py:9
↓ 1 callersFunctionMaxConsecutiveOnes
C-Plus-Plus/other/MaxNoOfConsecutive1'sFlipAtmostK0's.cpp:20
↓ 1 callersFunctionMaxHeap
to heapify a subtree
C-Plus-Plus/heap/ConvertMinHeapToMax.cpp:7
↓ 1 callersFunctionMaxLeafToLeafPathSum
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 callersFunctionMaxMoney
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 callersFunctionMaxSquare
(mat)
Python/other/Maximum_Square_Matrix.py:4
↓ 1 callersFunctionMax_Value
C-Plus-Plus/cp/Array_Manipulation.cpp:13
↓ 1 callersFunctionMaximumEachSubarray
C-Plus-Plus/cp/maximum_of_all_subarray_of_size_k.cpp:11
↓ 1 callersFunctionMaximum_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 callersFunctionMerge
C/ds/Merging_two_Linked_List.c:57
↓ 1 callersFunctionMergeSort
(arr)
Python/other/Check_Inversion.py:14
↓ 1 callersFunctionMergeSort
MergeSort Algorithm Time Complexity : O(nlogn) in worst-case
Go/sort/merge_sort/mergeSort.go:73
↓ 1 callersFunctionMiddleNode1
counts the length of list and prints the value at length/2
C-Plus-Plus/ds/linked_list_middle_element.cpp:47
↓ 1 callersFunctionMiddleNode2
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 callersFunctionMin
C-Plus-Plus/sort/counting_sort.cpp:15
↓ 1 callersMethodMinMax
(int arr[], int low, int high)
Java/Algorithms/Min_Max_Algorithm_implementation.java:53
↓ 1 callersFunctionMin_xor
C-Plus-Plus/Bit--Manipulation/Minimum_XOR_Value.cpp:14
↓ 1 callersFunctionMinimumSumPartition
(arr)
Python/other/Minimum_Sum_Partition.py:20
↓ 1 callersFunctionMirror
Function to Find Mirror of the Binary Tree */
C/ds/Mirror_BinaryTree.c:48
↓ 1 callersFunctionMod
(n, r, p)
Python/math/Lucas_Theorem.py:22
↓ 1 callersFunctionModExp
ModExp calculates modular exponentiation in O(exponent).
Go/math/Modular_Exponentiation/modexp.go:19
↓ 1 callersFunctionMod_Inv
(num)
Python/dp/Unique_BST.py:38
↓ 1 callersFunctionMod_Inv
(num)
Python/dp/binary_trees_with_n_nodes.py:26
↓ 1 callersFunctionMod_Inv
(num)
Python/math/Catalan_Number.py:29
← previousnext →801–900 of 5,549, ranked by callers