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
↓ 3 callers
Method
rightRotate
(Node node)
Java/ds/AVL_Tree.java:119
↓ 3 callers
Function
rotationLL
(node)
JavaScript/ds/AVLTree.js:80
↓ 3 callers
Function
rotationRR
(node)
JavaScript/ds/AVLTree.js:87
↓ 3 callers
Method
show
C-Plus-Plus/ds/Priority_Queue.cpp:102
↓ 3 callers
Method
size
()
Java/ds/StackUsingQueue.java:51
↓ 3 callers
Function
squaredSum
Kotlin/Maths/HappyNumber.kt:11
↓ 3 callers
Method
string_sort
(String s)
Java/cp/Identical_Words.java:27
↓ 3 callers
Method
sumOfSquares
(int n)
Java/math/HappyNumber.java:13
↓ 3 callers
Function
sum_square_digits
(number)
Python/math/Happy_Number.py:9
↓ 3 callers
Function
swap
C/sort/mergesort_in_O(1)_space_complexity.c:7
↓ 3 callers
Function
swap
C/sort/HeapSort.c:29
↓ 3 callers
Method
timeConversion
(String s)
Java/cp/Meetings.java:31
↓ 2 callers
Function
BFS
(graph, u, lists, visited)
Python/graphs/Bridge_Edge_in_Graph.py:57
↓ 2 callers
Function
Binary_Search
- Returns the initial found index position of the target value if flag is set to 0 (Default) - Returns Starting Positon of the target v
Python/cp/Find_First_and_Last_Position_of_Element_in_Sorted_Array.py:9
↓ 2 callers
Function
Binary_search
C-Plus-Plus/cp/ElementsOccurrence_BinarySearch.cpp:31
↓ 2 callers
Function
Binary_search_algo_for__finding_occurrence
C/other/Number_of_duplicates_using_Binary_search.c:8
↓ 2 callers
Function
BubbleSort
* time complexity O(n*n) - space complexity O(1)
JavaScript/sort/BubbleSort.js:5
↓ 2 callers
Function
DFS
(graph, node, visited, stack, display)
Python/graphs/SCC_Kosaraju.py:32
↓ 2 callers
Function
Delete_At_Front
-------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:176
↓ 2 callers
Function
Display
function to print the value of youngest member for given numbers
C-Plus-Plus/ds/ancestors_of_given_number_BST.cpp:82
↓ 2 callers
Method
Display
(self)
Python/graphs/Prims_Algo_dynamic.py:26
↓ 2 callers
Function
Display_BST
function to print Binary Search Tree
C-Plus-Plus/ds/BST_to_Greater_Sum_Tree.cpp:39
↓ 2 callers
Function
DoubleHashing
Function to insert element in the hash table
C-Plus-Plus/ds/double-hashing.cpp:11
↓ 2 callers
Function
Eulerpath
(G, no_of_vertices, no_of_edges)
Python/graphs/Euler_circuit_and_Path.py:56
↓ 2 callers
Function
FibonacciSearch
Inputs- arr: A sorted array in which we're going to search for the key x: The number to be searched for n: Size of the array
Python/search/fibonacci_search.py:15
↓ 2 callers
Function
Fibonacci_Search
C/search/Fibonacci_Search.c:12
↓ 2 callers
Function
Find
Find takes a slice and looks for an element in it. If found it will return true otherwise it will return false.
Go/dp/longest_substring/longest_substring.go:10
↓ 2 callers
Method
Front
()
Java/ds/Queuell.java:52
↓ 2 callers
Function
GenerateAncestors
Utility Function to Generate Ancestors of the node
C-Plus-Plus/ds/Common_Ancestors_Of_Nodes_Of_Binary_Tree.cpp:96
↓ 2 callers
Function
GetOperatorWeight
Function to get weight of an operator. An operator with higher weight will have higher precedence.
C-Plus-Plus/cp/infix_to_postfix.cpp:140
↓ 2 callers
Method
Graph
C-Plus-Plus/graphs/BFS1.cpp:38
↓ 2 callers
Function
Height
C-Plus-Plus/ds/BinarySearchTree.cpp:93
↓ 2 callers
Function
Height
Function to calculate height of a given Tree recursively
C-Plus-Plus/ds/AVL_Tree_or_not.cpp:52
↓ 2 callers
Function
InOrder
C-Plus-Plus/ds/BinarySearchTree.cpp:82
↓ 2 callers
Method
Inorder
To limit parameters
C-Sharp/dp/BinarySearchTree.cs:51
↓ 2 callers
Function
Insert_At_Front
--------------------------------------------------------------
C-Plus-Plus/ds/singly_linked_list.cpp:115
↓ 2 callers
Function
InsertionSort
Returns the sorted run in place using binary search to find the index where the element can be inserted.
Python/sort/TimSort.py:47
↓ 2 callers
Function
IsInObstacle
(arr,pt)
Python/Pathfinding/2D_RRT.py:86
↓ 2 callers
Method
IsQueueFull
()
Java/Operating-System/CPU_Scheduling_RR.java:46
↓ 2 callers
Function
LLrotation
Function that returns tree-node after left-left rotation*/
C/ds/AVL_tree.c:57
↓ 2 callers
Function
LPDelete
Function to Delete an element from Hashtable.
C-Plus-Plus/ds/linear-probing.cpp:34
↓ 2 callers
Function
LRrotation
Function that returns tree-node after left-right rotation*/
C/ds/AVL_tree.c:79
↓ 2 callers
Function
LinearProbe
Function to insert element in HashTable.
C-Plus-Plus/ds/linear-probing.cpp:8
↓ 2 callers
Function
Merge
function for merging element
C/sort/Iterative_Merge_Sort.c:26
↓ 2 callers
Function
PrintThisPath
Utility Function to print given path
C-Plus-Plus/ds/Binary_Tree_Print_All_Root_To_Leaf_Paths.cpp:75
↓ 2 callers
Function
Q_Display
Displays all content of queue
C-Plus-Plus/ds/Reverse_Queue_content_using_Stack.cpp:15
↓ 2 callers
Function
QuadProbe
Function to insert in hashtable.
C-Plus-Plus/ds/quadratic-probing.cpp:8
↓ 2 callers
Function
RLrotation
Function that returns tree-node after right-left rotation*/
C/ds/AVL_tree.c:94
↓ 2 callers
Function
RRrotation
Function that returns tree-node after right-right rotation*/
C/ds/AVL_tree.c:68
↓ 2 callers
Function
ShortestDistanceUtill
Utility function to find distance between a node and its ancestor
C-Plus-Plus/ds/Shortest_Distance_Between_Nodes_Of_BST.cpp:67
↓ 2 callers
Method
SplitMat
Splits a given matrix
Python/math/Strassen's_Matrix_Mul.py:44
↓ 2 callers
Method
TopologicalSort
Call Modified DFS and perform topological sorting
C-Sharp/graphs/TopologicalSorting.cs:51
↓ 2 callers
Method
_hash
(key)
JavaScript/ds/Hash.js:32
↓ 2 callers
Method
_search
Searches if a word is present in the Trie. Basically a private function that can be used to query or delete results
Python/ds/Trie.py:43
↓ 2 callers
Function
add
(n : int)
Python/math/CheckArmstrongNumber.py:12
↓ 2 callers
Function
add
C/ds/FenwickTree.c:19
↓ 2 callers
Method
addEdge
(self,u,v)
Python/graphs/Euler_circuit_and_Path.py:52
↓ 2 callers
Method
addEdge
C-Plus-Plus/cp/total_more_child_vertices_than_parent.cpp:26
↓ 2 callers
Function
addZeroEnd
(s string, mid int)
Go/math/karatsuba_multiplication/karatsuba_multiplication.go:69
↓ 2 callers
Method
add_child
(self, node)
Python/Pathfinding/2D_RRT.py:26
↓ 2 callers
Method
add_edge
(self, source, destination)
Python/search/dfs.py:16
↓ 2 callers
Function
adjust
C-Plus-Plus/ds/heap_sort.cpp:4
↓ 2 callers
Method
append
(value)
JavaScript/ds/DoublyLinkedList.js:73
↓ 2 callers
Method
append
(value)
JavaScript/ds/CircularSinglyLinkedList.js:68
↓ 2 callers
Method
asciiToDec
(String str)
Java/cryptography/vernamCipher.java:16
↓ 2 callers
Function
autokeycipher
C/cryptography/AutoKey_Cipher.c:29
↓ 2 callers
Function
bfs
C-Plus-Plus/graphs/Bidirectional_search_using_BFS_in_undirected_graph.cpp:25
↓ 2 callers
Function
bilinear
(x, arr)
Python/search/bilinear.py:7
↓ 2 callers
Method
binSearch
(int[] a, int l, int h, int key)
Java/search/Binary_search.java:8
↓ 2 callers
Function
binary_search
(arr, target)
JavaScript/search/binary_search.js:10
↓ 2 callers
Function
binary_search
Function which returns true if element found in an array, else returns false.
C-Plus-Plus/search/Binary_Search.cpp:6
↓ 2 callers
Function
bubbleSort
(array, start, end)
JavaScript/sort/BrickSort.js:16
↓ 2 callers
Method
bubbleSort
()
JavaScript/ds/DynamicLinkedList.js:139
↓ 2 callers
Method
buildHeap
(int arr[], int size, int i)
Java/sort/HeapSort.java:32
↓ 2 callers
Function
calculate_gcd
(a, b)
Python/math/GCD_Euclidean_Algorithm.py:1
↓ 2 callers
Method
check
(int proces[], int avail[], int maxm[][], int allot[][], int P, int R, int need[][])
Java/Operating-System/banker.java:93
↓ 2 callers
Function
check_current_state
(game_state)
Python/backtracking/Tic_Tac_Toe.py:41
↓ 2 callers
Function
check_output
Displaying output
C-Plus-Plus/ds/Check_for_Binary_search_tree.cpp:67
↓ 2 callers
Function
chooseindex
Validation
C-Plus-Plus/cryptography/PlayFair_Cipher.cpp:96
↓ 2 callers
Method
collapse
(Term head)
Java/math/polynomial.java:43
↓ 2 callers
Function
count
-------------------------------------------------------------------------------
C-Plus-Plus/ds/Stack_using_Array.cpp:142
↓ 2 callers
Method
countEqual
(List<Integer> a, int x)
Java/ds/MedianOfSortedArrays.java:83
↓ 2 callers
Method
countLess
(List<Integer> a, int x)
Java/ds/MedianOfSortedArrays.java:68
↓ 2 callers
Function
countSetBits
C-Plus-Plus/dp/townPlanning.cpp:21
↓ 2 callers
Function
countSort
function to sort the given char arr[] in alphabetical order
C-Plus-Plus/sort/countsort.cpp:7
↓ 2 callers
Function
create
Function to create linked list
C-Plus-Plus/ds/alternate_merging_of_linked_list.cpp:20
↓ 2 callers
Method
createAtFront
createAtFront: create a node at the front of the list with the value the passed in int
Go/ds/linked_list/singly_linked_list_reversed/singly_linked_list_reversed.go:29
↓ 2 callers
Function
createStack
C/ds/infixToPrefix.c:18
↓ 2 callers
Function
createString
(string)
JavaScript/cp/BackspaceCompare.js:16
↓ 2 callers
Function
createTree
Function to build tree with given input
C-Plus-Plus/ds/Quasi_Isomorphic_Binary_Trees.cpp:37
↓ 2 callers
Function
createTree
Function to build tree with given input
C-Plus-Plus/ds/Structurally_Identical_Binary_Trees.cpp:34
↓ 2 callers
Function
create_digraphs
This function is responsible to creating digraphs of the input plaintext. The entire string is split into pairs of two characters. In case a
Python/cryptography/Playfair_Cipher.py:67
↓ 2 callers
Function
create_matrix
This function is used to generate a 5 x 5 matrix of the english alphabets using the key provided. This key matrix is used for encrypting/decr
Python/cryptography/Playfair_Cipher.py:15
↓ 2 callers
Function
deQueue
Dequeue i.e delete at the FRONT end
C/ds/StackUsingQueue.c:53
↓ 2 callers
Method
decrypt
<p> This is a public method used to decrypt cipher using integer key using Rail Fence Cipher algorithm. </p> <b>Process</b> <ul> <li>As in Rail Fence
Java/cryptography/RailFenceCipher.java:158
↓ 2 callers
Method
delete
()
Java/ds/CircularQueue.java:69
↓ 2 callers
Function
delete_at_beg
C/ds/Circular_LL.c:82
↓ 2 callers
Method
delete_value
Method to delete an item from the heap NOTE: That the element is always deleted from the top of a heap as it gives the maximum element
C-Plus-Plus/heap/heap_implementation.cpp:80
↓ 2 callers
Method
deq
()
Java/Operating-System/allocate.java:52
↓ 2 callers
Function
dequeue
(lst)
Python/ds/Reverse_First_K_elements_of_Queue.py:15
← previous
next →
301–400 of 5,549, ranked by callers