MCPcopy Create free account

hub / github.com/HarshCasper/NeoAlgo / functions

Functions5,549 in github.com/HarshCasper/NeoAlgo

↓ 2 callersMethoddequeue
()
JavaScript/ds/Queue.js:14
↓ 2 callersMethoddequeue
(self)
Python/ds/Implementation_of_Stack_using_queues.py:46
↓ 2 callersMethoddequeue1
()
Java/ds/QueueandStack.java:119
↓ 2 callersFunctiondetectLoop
C/ds/detectLoopLL.c:38
↓ 2 callersFunctiondfs
DFS function runs a DFS from the source node (node), and keeps updating the max distance until all nodes are visited nd stores the node which is fou
C-Plus-Plus/graphs/Largest_distance_between_2_nodes_in_a_tree.cpp:25
↓ 2 callersMethoddfs_helper
(self, start)
Python/search/dfs.py:51
↓ 2 callersFunctiondis
returns euclidean distance between two points.
C-Plus-Plus/computational_geometry/Convex_Hull_Graham_Scan.cpp:34
↓ 2 callersFunctiondisplay
C-Plus-Plus/cp/delete_peak_elements_in_maxHeap.cpp:72
↓ 2 callersFunctiondisplay
function for displaying the rotated 2darray/matrix
C-Plus-Plus/cp/rotate2darray.cpp:36
↓ 2 callersFunctiondisplay
display function of stack
C/ds/stack_sort.c:42
↓ 2 callersFunctiondisplay
displays the content of linked list */
C/ds/reverse_linked_list.c:68
↓ 2 callersFunctiondisplay
Display the entered list
C/ds/Remove_Duplicate_In_Linked_List.c:73
↓ 2 callersFunctiondisplay
display the arrray
C/sort/selection_sort.c:62
↓ 2 callersMethoddisplay
C-Plus-Plus/ds/LinkedList.cpp:41
↓ 2 callersMethoddisplay
()
Java/ds/RemDupInLLWithoutExtraSpace.java:38
↓ 2 callersMethoddisplay
()
Java/ds/ReversingCircularLinkedList.java:81
↓ 2 callersMethoddisplay
()
Java/ds/foldALinkedList.java:48
↓ 2 callersMethoddisplayList
(Node A)
Java/ds/Reverse_alternate_k_Nodes.java:46
↓ 2 callersMethoddisplay_hash_table
function to display all the elements from hash table */
C-Plus-Plus/ds/Hashing_with_chaining.cpp:50
↓ 2 callersFunctiondisplay_matrix
Takes input a matrix and its size. Prints the value row wise of the matrix.
Python/sort/Matrix_Sort.py:28
↓ 2 callersFunctiondistance
(pt1,pt2)
Python/Pathfinding/2D_RRT.py:68
↓ 2 callersMethoddivsum
(int n)
Java/math/Amicable_Pair.java:30
↓ 2 callersFunctiondownHeapify
C/ds/minHeap.c:65
↓ 2 callersFunctiondownHeapify
C/ds/maxHeap.c:65
↓ 2 callersFunctionenQueue
Enqueue i.e insert at the REAR end
C/ds/StackUsingQueue.c:31
↓ 2 callersMethodencrypt
( String str , int n )
Java/cryptography/caeserCipher.java:4
↓ 2 callersMethodencrypt
<p> This is a public method used to encrypt plainText using integer key using the Rail Fence Cipher algorithm. </p> <b>Process</b> <ul> <li>Place the
Java/cryptography/RailFenceCipher.java:72
↓ 2 callersFunctionenqueue
(lst, item)
Python/ds/Reverse_First_K_elements_of_Queue.py:10
↓ 2 callersFunctionenqueue
The enqueue function inserts an element into the queue
C/ds/reverse-queue.c:70
↓ 2 callersMethodenqueue
(self, value)
Python/ds/Implementation_of_Stack_using_queues.py:42
↓ 2 callersMethodenqueue
(int n)
Java/ds/Reverse_queue_using_stack.java:66
↓ 2 callersMethodenqueue2
(int d)
Java/ds/QueueandStack.java:125
↓ 2 callersMethodexchange
(self, public)
Python/cryptography/Diffie_Helman_Protocol.py:193
↓ 2 callersMethodexp
@return a new Complex object whose value is the complex exponential of this
Java/math/Complex.java:102
↓ 2 callersMethodexpandbothside
(String str, int low, int high)
Java/cp/Longest_Pallindromicsubstring.java:12
↓ 2 callersFunctionexponentialSearch
(key)
JavaScript/search/ExponentialSearch.js:13
↓ 2 callersFunctionfactorial
(n)
JavaScript/other/largeNumberFactorial.js:1
↓ 2 callersFunctionfind
C-Plus-Plus/cp/Tug_of_water.cpp:37
↓ 2 callersFunctionfind
C/graphs/Kruskal_Algorithm.c:59
↓ 2 callersMethodfind
(self,x,lx,rx,l,r)
Python/other/Segment_Tree.py:57
↓ 2 callersMethodfind
(Node node, int data)
Java/ds/NodetoRootPath.java:97
↓ 2 callersFunctionfindPalindrome
(str)
JavaScript/search/ManacherAlgorithm.js:1
↓ 2 callersFunctionfindProduct
(num1, num2)
JavaScript/Algorithms/RussianPeasant.js:9
↓ 2 callersFunctionfind_number
returns level of the number
C-Plus-Plus/ds/ancestors_of_given_number_BST.cpp:71
↓ 2 callersMethodfind_solution
(self)
Python/search/8_Puzzle_Problem_using_BFS.py:116
↓ 2 callersMethodfirstNode
(value)
JavaScript/ds/DoublyLinkedList.js:60
↓ 2 callersMethodfirstNode
(value)
JavaScript/ds/CircularSinglyLinkedList.js:56
↓ 2 callersFunctionflip
(array, index)
JavaScript/sort/PancakeSort.js:18
↓ 2 callersFunctionflip
(arr,i)
Python/sort/pancakesorting.py:29
↓ 2 callersFunctionflush_stdin
C/cryptography/AutoKey_Cipher.c:23
↓ 2 callersMethodfront
()
JavaScript/ds/Queue.js:20
↓ 2 callersFunctionfunc
Function for QR-Sort Algorithm implementation.
C-Plus-Plus/sort/Quotient-Remainder_Sort.cpp:13
↓ 2 callersMethodgetAns
(int low, int high, List<Integer> a, List<Integer> b, int k)
Java/ds/MedianOfSortedArrays.java:50
↓ 2 callersMethodgetBalanceFactor
(root)
JavaScript/ds/AVLTree.js:7
↓ 2 callersFunctiongetDigit
(number, lsdOffset)
JavaScript/ds/RadixSort.js:12
↓ 2 callersMethodgetFirst
()
JavaScript/ds/LinkedList.js:46
↓ 2 callersMethodgetHeight
(root)
JavaScript/ds/AVLTree.js:11
↓ 2 callersMethodgetLast
()
JavaScript/ds/LinkedList.js:36
↓ 2 callersMethodgetMidNode
(start, last)
JavaScript/ds/DynamicLinkedList.js:163
↓ 2 callersMethodgetMin
C-Plus-Plus/stack/smallest_element_in_an_array.cpp:21
↓ 2 callersFunctiongetNode
C-Plus-Plus/search/sublist_Search.cpp:16
↓ 2 callersFunctionget_index
(node)
Python/backtracking/Water_Jug_Problem.py:17
↓ 2 callersFunctionget_index
Returns left-most or right-most index of key in a sorted list arr. This function takes an list and a key and finds the left most or right m
Python/other/find_freq_using_bs.py:1
↓ 2 callersMethodget_node_depth
(self, node, val, depth)
Python/graphs/Depth_Of_Tree.py:16
↓ 2 callersFunctionget_sum
C/ds/FenwickTree.c:8
↓ 2 callersMethodgoal_test
(self)
Python/search/8_Puzzle_Problem_using_BFS.py:61
↓ 2 callersFunctionhash
function to calculate hash values of text and pattern parameters: text, pattern, base value, large enough prime number return
Python/cp/RabinKarp.py:11
↓ 2 callersFunctionhash
Hashing function to get index for a given value
C/ds/Hash_Table.c:25
↓ 2 callersMethodhashf
(int val)
Java/ds/Hashtable_linear_probing.java:11
↓ 2 callersFunctionhashingFunction
hash function
C/ds/Hashtable_chaining.c:17
↓ 2 callersMethodhashingFunction
(int value)
Java/ds/Hashtable_chaining.java:18
↓ 2 callersFunctionheapify
(arr, length, index)
Python/sort/Heap_sort.py:6
↓ 2 callersMethodheapify
(int arr[], int n, int i)
Java/ds/heapmain.java:110
↓ 2 callersFunctionheight
C-Plus-Plus/graphs/Diameter_of_binary_tree.cpp:32
↓ 2 callersMethodinitQueue
()
Go/ds/queue/queue_using_stack/queue_using_stack.go:90
↓ 2 callersMethodinitStack
init(): this will initialize the stack for use
Go/ds/queue/queue_using_stack/queue_using_stack.go:37
↓ 2 callersFunctioninitialiseBlocks
(arr, sizes, n)
Python/ds/Firstfit.py:26
↓ 2 callersMethodinitialiseBlocks
(arr,sizes,n)
JavaScript/ds/bestfit.js:24
↓ 2 callersMethodinitialiseBlocks
(Block arr[], int sizes[], int n)
Java/ds/Bestfit.java:24
↓ 2 callersFunctioninorder
Function to print Nodes of a Tree */
C/ds/Mirror_BinaryTree.c:36
↓ 2 callersMethodinsert
(int x)
Java/ds/heapmain.java:49
↓ 2 callersFunctioninsertAtTail
this function is for inserting nodes in each list
C-Plus-Plus/ds/Merge_sorted_lists.cpp:22
↓ 2 callersMethodinsertNode
(ListNode list, int data)
Java/ds/MergeInBetweenLinkedLists.java:33
↓ 2 callersFunctioninsertToList
C-Plus-Plus/search/sublist_Search.cpp:55
↓ 2 callersFunctioninsert_node
(root, value)
Python/ds/identical_binary_tree.py:48
↓ 2 callersMethodinsert_value
Method to insert an item into the heap
C-Plus-Plus/heap/heap_implementation.cpp:60
↓ 2 callersFunctioninverse
C-Plus-Plus/math/binomial_coefficient_under_modulo.cpp:18
↓ 2 callersMethodisDistinct
(int[] charCount)
Java/cp/LongestSubstringNoRepeatingChar.java:13
↓ 2 callersFunctionisEmpty
checks whether the stack is empty or not
C-Plus-Plus/ds/iterative_postorder.cpp:43
↓ 2 callersFunctionisEmpty
check whether Queue is empty or not
C/ds/FindBinaryTreeBst.c:24
↓ 2 callersFunctionisEmpty
checks whether the stack is empty or not
C/ds/iterative_postorder.c:40
↓ 2 callersFunctionisEmpty
check whether stack is empty or not
C/ds/FindRouteBetwnTwoNode.c:52
↓ 2 callersFunctionisEmpty
function to check whether stack is empty or not by returning 1 for empty and 0 for non-empty
C/math/DecimalToBinary.c:16
↓ 2 callersMethodisEmpty
()
JavaScript/ds/Stack.js:30
↓ 2 callersMethodisEmpty
()
JavaScript/ds/Iterative_postorder.js:22
↓ 2 callersMethodisEmpty
Defining the isEmpty function to check whether the queue is empty or not
C-Plus-Plus/ds/Circular_Queue.cpp:47
↓ 2 callersMethodisEmpty
isEmpty(): checks if the both front and back are less than 0 it means Queue is empty
Go/ds/queue/queue_using_stack/queue_using_stack.go:106
↓ 2 callersMethodisEmpty
()
Java/ds/postorder_Traversal.java:42
↓ 2 callersFunctionisFull
Checking if the Queue is full or not*/
C/ds/queue_using_circular_array.c:35
↓ 2 callersFunctionisOperand
C-Plus-Plus/stack/evaluate_postfix.cpp:132
← previousnext →401–500 of 5,549, ranked by callers