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
↓ 2 callers
Method
dequeue
()
JavaScript/ds/Queue.js:14
↓ 2 callers
Method
dequeue
(self)
Python/ds/Implementation_of_Stack_using_queues.py:46
↓ 2 callers
Method
dequeue1
()
Java/ds/QueueandStack.java:119
↓ 2 callers
Function
detectLoop
C/ds/detectLoopLL.c:38
↓ 2 callers
Function
dfs
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 callers
Method
dfs_helper
(self, start)
Python/search/dfs.py:51
↓ 2 callers
Function
dis
returns euclidean distance between two points.
C-Plus-Plus/computational_geometry/Convex_Hull_Graham_Scan.cpp:34
↓ 2 callers
Function
display
C-Plus-Plus/cp/delete_peak_elements_in_maxHeap.cpp:72
↓ 2 callers
Function
display
function for displaying the rotated 2darray/matrix
C-Plus-Plus/cp/rotate2darray.cpp:36
↓ 2 callers
Function
display
display function of stack
C/ds/stack_sort.c:42
↓ 2 callers
Function
display
displays the content of linked list */
C/ds/reverse_linked_list.c:68
↓ 2 callers
Function
display
Display the entered list
C/ds/Remove_Duplicate_In_Linked_List.c:73
↓ 2 callers
Function
display
display the arrray
C/sort/selection_sort.c:62
↓ 2 callers
Method
display
C-Plus-Plus/ds/LinkedList.cpp:41
↓ 2 callers
Method
display
()
Java/ds/RemDupInLLWithoutExtraSpace.java:38
↓ 2 callers
Method
display
()
Java/ds/ReversingCircularLinkedList.java:81
↓ 2 callers
Method
display
()
Java/ds/foldALinkedList.java:48
↓ 2 callers
Method
displayList
(Node A)
Java/ds/Reverse_alternate_k_Nodes.java:46
↓ 2 callers
Method
display_hash_table
function to display all the elements from hash table */
C-Plus-Plus/ds/Hashing_with_chaining.cpp:50
↓ 2 callers
Function
display_matrix
Takes input a matrix and its size. Prints the value row wise of the matrix.
Python/sort/Matrix_Sort.py:28
↓ 2 callers
Function
distance
(pt1,pt2)
Python/Pathfinding/2D_RRT.py:68
↓ 2 callers
Method
divsum
(int n)
Java/math/Amicable_Pair.java:30
↓ 2 callers
Function
downHeapify
C/ds/minHeap.c:65
↓ 2 callers
Function
downHeapify
C/ds/maxHeap.c:65
↓ 2 callers
Function
enQueue
Enqueue i.e insert at the REAR end
C/ds/StackUsingQueue.c:31
↓ 2 callers
Method
encrypt
( String str , int n )
Java/cryptography/caeserCipher.java:4
↓ 2 callers
Method
encrypt
<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 callers
Function
enqueue
(lst, item)
Python/ds/Reverse_First_K_elements_of_Queue.py:10
↓ 2 callers
Function
enqueue
The enqueue function inserts an element into the queue
C/ds/reverse-queue.c:70
↓ 2 callers
Method
enqueue
(self, value)
Python/ds/Implementation_of_Stack_using_queues.py:42
↓ 2 callers
Method
enqueue
(int n)
Java/ds/Reverse_queue_using_stack.java:66
↓ 2 callers
Method
enqueue2
(int d)
Java/ds/QueueandStack.java:125
↓ 2 callers
Method
exchange
(self, public)
Python/cryptography/Diffie_Helman_Protocol.py:193
↓ 2 callers
Method
exp
@return a new Complex object whose value is the complex exponential of this
Java/math/Complex.java:102
↓ 2 callers
Method
expandbothside
(String str, int low, int high)
Java/cp/Longest_Pallindromicsubstring.java:12
↓ 2 callers
Function
exponentialSearch
(key)
JavaScript/search/ExponentialSearch.js:13
↓ 2 callers
Function
factorial
(n)
JavaScript/other/largeNumberFactorial.js:1
↓ 2 callers
Function
find
C-Plus-Plus/cp/Tug_of_water.cpp:37
↓ 2 callers
Function
find
C/graphs/Kruskal_Algorithm.c:59
↓ 2 callers
Method
find
(self,x,lx,rx,l,r)
Python/other/Segment_Tree.py:57
↓ 2 callers
Method
find
(Node node, int data)
Java/ds/NodetoRootPath.java:97
↓ 2 callers
Function
findPalindrome
(str)
JavaScript/search/ManacherAlgorithm.js:1
↓ 2 callers
Function
findProduct
(num1, num2)
JavaScript/Algorithms/RussianPeasant.js:9
↓ 2 callers
Function
find_number
returns level of the number
C-Plus-Plus/ds/ancestors_of_given_number_BST.cpp:71
↓ 2 callers
Method
find_solution
(self)
Python/search/8_Puzzle_Problem_using_BFS.py:116
↓ 2 callers
Method
firstNode
(value)
JavaScript/ds/DoublyLinkedList.js:60
↓ 2 callers
Method
firstNode
(value)
JavaScript/ds/CircularSinglyLinkedList.js:56
↓ 2 callers
Function
flip
(array, index)
JavaScript/sort/PancakeSort.js:18
↓ 2 callers
Function
flip
(arr,i)
Python/sort/pancakesorting.py:29
↓ 2 callers
Function
flush_stdin
C/cryptography/AutoKey_Cipher.c:23
↓ 2 callers
Method
front
()
JavaScript/ds/Queue.js:20
↓ 2 callers
Function
func
Function for QR-Sort Algorithm implementation.
C-Plus-Plus/sort/Quotient-Remainder_Sort.cpp:13
↓ 2 callers
Method
getAns
(int low, int high, List<Integer> a, List<Integer> b, int k)
Java/ds/MedianOfSortedArrays.java:50
↓ 2 callers
Method
getBalanceFactor
(root)
JavaScript/ds/AVLTree.js:7
↓ 2 callers
Function
getDigit
(number, lsdOffset)
JavaScript/ds/RadixSort.js:12
↓ 2 callers
Method
getFirst
()
JavaScript/ds/LinkedList.js:46
↓ 2 callers
Method
getHeight
(root)
JavaScript/ds/AVLTree.js:11
↓ 2 callers
Method
getLast
()
JavaScript/ds/LinkedList.js:36
↓ 2 callers
Method
getMidNode
(start, last)
JavaScript/ds/DynamicLinkedList.js:163
↓ 2 callers
Method
getMin
C-Plus-Plus/stack/smallest_element_in_an_array.cpp:21
↓ 2 callers
Function
getNode
C-Plus-Plus/search/sublist_Search.cpp:16
↓ 2 callers
Function
get_index
(node)
Python/backtracking/Water_Jug_Problem.py:17
↓ 2 callers
Function
get_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 callers
Method
get_node_depth
(self, node, val, depth)
Python/graphs/Depth_Of_Tree.py:16
↓ 2 callers
Function
get_sum
C/ds/FenwickTree.c:8
↓ 2 callers
Method
goal_test
(self)
Python/search/8_Puzzle_Problem_using_BFS.py:61
↓ 2 callers
Function
hash
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 callers
Function
hash
Hashing function to get index for a given value
C/ds/Hash_Table.c:25
↓ 2 callers
Method
hashf
(int val)
Java/ds/Hashtable_linear_probing.java:11
↓ 2 callers
Function
hashingFunction
hash function
C/ds/Hashtable_chaining.c:17
↓ 2 callers
Method
hashingFunction
(int value)
Java/ds/Hashtable_chaining.java:18
↓ 2 callers
Function
heapify
(arr, length, index)
Python/sort/Heap_sort.py:6
↓ 2 callers
Method
heapify
(int arr[], int n, int i)
Java/ds/heapmain.java:110
↓ 2 callers
Function
height
C-Plus-Plus/graphs/Diameter_of_binary_tree.cpp:32
↓ 2 callers
Method
initQueue
()
Go/ds/queue/queue_using_stack/queue_using_stack.go:90
↓ 2 callers
Method
initStack
init(): this will initialize the stack for use
Go/ds/queue/queue_using_stack/queue_using_stack.go:37
↓ 2 callers
Function
initialiseBlocks
(arr, sizes, n)
Python/ds/Firstfit.py:26
↓ 2 callers
Method
initialiseBlocks
(arr,sizes,n)
JavaScript/ds/bestfit.js:24
↓ 2 callers
Method
initialiseBlocks
(Block arr[], int sizes[], int n)
Java/ds/Bestfit.java:24
↓ 2 callers
Function
inorder
Function to print Nodes of a Tree */
C/ds/Mirror_BinaryTree.c:36
↓ 2 callers
Method
insert
(int x)
Java/ds/heapmain.java:49
↓ 2 callers
Function
insertAtTail
this function is for inserting nodes in each list
C-Plus-Plus/ds/Merge_sorted_lists.cpp:22
↓ 2 callers
Method
insertNode
(ListNode list, int data)
Java/ds/MergeInBetweenLinkedLists.java:33
↓ 2 callers
Function
insertToList
C-Plus-Plus/search/sublist_Search.cpp:55
↓ 2 callers
Function
insert_node
(root, value)
Python/ds/identical_binary_tree.py:48
↓ 2 callers
Method
insert_value
Method to insert an item into the heap
C-Plus-Plus/heap/heap_implementation.cpp:60
↓ 2 callers
Function
inverse
C-Plus-Plus/math/binomial_coefficient_under_modulo.cpp:18
↓ 2 callers
Method
isDistinct
(int[] charCount)
Java/cp/LongestSubstringNoRepeatingChar.java:13
↓ 2 callers
Function
isEmpty
checks whether the stack is empty or not
C-Plus-Plus/ds/iterative_postorder.cpp:43
↓ 2 callers
Function
isEmpty
check whether Queue is empty or not
C/ds/FindBinaryTreeBst.c:24
↓ 2 callers
Function
isEmpty
checks whether the stack is empty or not
C/ds/iterative_postorder.c:40
↓ 2 callers
Function
isEmpty
check whether stack is empty or not
C/ds/FindRouteBetwnTwoNode.c:52
↓ 2 callers
Function
isEmpty
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 callers
Method
isEmpty
()
JavaScript/ds/Stack.js:30
↓ 2 callers
Method
isEmpty
()
JavaScript/ds/Iterative_postorder.js:22
↓ 2 callers
Method
isEmpty
Defining the isEmpty function to check whether the queue is empty or not
C-Plus-Plus/ds/Circular_Queue.cpp:47
↓ 2 callers
Method
isEmpty
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 callers
Method
isEmpty
()
Java/ds/postorder_Traversal.java:42
↓ 2 callers
Function
isFull
Checking if the Queue is full or not*/
C/ds/queue_using_circular_array.c:35
↓ 2 callers
Function
isOperand
C-Plus-Plus/stack/evaluate_postfix.cpp:132
← previous
next →
401–500 of 5,549, ranked by callers