Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lakhankumawat/LearnCPP
/ functions
Functions
805 in github.com/Lakhankumawat/LearnCPP
⨍
Functions
805
◇
Types & classes
146
↓ 1 callers
Method
set_roll_number
O-OOPS/I-Inheritance/Multilevel-Inheritance.cpp:15
↓ 1 callers
Function
shellSort
S-SortingAlgorithms/ShellSort.cpp:15
↓ 1 callers
Function
shortestPath
give shortest path for which is to be find from source to destination .
G-GraphAlgorithms/MultistageGraphShortestPath.cpp:33
↓ 1 callers
Function
shortestSuperSequence
Function to find length of the shortest supersequence of X and Y.
D-DynamicProgramming/ShortestCommonSuperSequence.cpp:16
↓ 1 callers
Function
show
Function for shwoing the linked list
P-Problem Statements & Solution/1-Level 1/two_pointer_on_doubly_linked_list.cpp:43
↓ 1 callers
Function
show
S-Stack/SortStack.cpp:16
↓ 1 callers
Method
show
O-OOPS/B-Binding/LateBinding.cpp:8
↓ 1 callers
Method
show
O-OOPS/B-Binding/EarlyBinding.cpp:13
↓ 1 callers
Method
show
O-OOPS/I-Inheritance/Multiple-Inheritance.cpp:38
↓ 1 callers
Method
show
Miscellaneous/F-Friend/FriendClass.cpp:31
↓ 1 callers
Function
solve
T-Tree/G-GenricTree/MirrorOfGenricTree.cpp:96
↓ 1 callers
Function
solve
M-MathematicalAlgorithms/Factorial of large numbers/FactorialLargeNumbers.cpp:40
↓ 1 callers
Method
solveKnapsack
D-DynamicProgramming/01KnapSack.cpp:8
↓ 1 callers
Function
solveNQ
This function solves the N Queen problem using Backtracking. It mainly uses solveNQUtil() to solve the problem. It returns false if queens
B-Backtracking/N-Queen.cpp:79
↓ 1 callers
Function
solveNQUtil
A recursive utility function to solve N Queen problem */
B-Backtracking/N-Queen.cpp:30
↓ 1 callers
Function
sortArray
Method to sort the array using only 3 variables and single traversal Also known as Dutch National Flag Algorithm. */
A-Array/Sort_0_1_2.cpp:19
↓ 1 callers
Function
sortInWave
This function sorts arr[0..n-1] in wave form
A-Array/SortingInWaveForm.cpp:14
↓ 1 callers
Method
sortedArrayToBST
sorting thr array to bst funtion
T-Tree/B-BinarySearchTree/Arraytobst.cpp:25
↓ 1 callers
Method
spirallyTraverse
Function to return a list of integers denoting spiral traversal of matrix.
A-Array/SpiralTraversalMatrix.cpp:8
↓ 1 callers
Function
square
recursive function to calculate square of a number
R-Recursion/Types of Recursion/DirectRecursion.cpp:5
↓ 1 callers
Function
stackCount
----------------This function return the stack count--------------------------*/
S-Stack/stackADTUsingLL.cpp:80
↓ 1 callers
Function
stackTop
----------------This function retrieves stack top--------------------------*/
S-Stack/stackADTUsingLL.cpp:67
↓ 1 callers
Function
subsetSum
subsetSum function
D-DynamicProgramming/Equal_Sum_Partition.cpp:29
↓ 1 callers
Method
sum
O-OOPS/I-Inheritance/Hierarchical-Inheritance.cpp:43
↓ 1 callers
Method
sum_derived
O-OOPS/I-Inheritance/Hierarchical-Inheritance.cpp:51
↓ 1 callers
Function
takeArrayFromUser
S-SortingAlgorithms/ShellSort.cpp:42
↓ 1 callers
Function
takeInput
function to take input for linked list and return the head pointer to the linked list
L-LinkedList/Merge K Sorted LinkedList/merge_k_ll.cpp:16
↓ 1 callers
Function
takeinput
T-Tree/B-BinaryTree/Diameter.cpp:39
↓ 1 callers
Function
taylorHornerRec
Taylor Series by horner rule using recursion
R-Recursion/TaylorsSerieHornersRule.cpp:5
↓ 1 callers
Function
to_print
-------------------To print solution---------------------------*/
P-Problem Statements & Solution/2-Level 2/WordWrapProblem.cpp:86
↓ 1 callers
Method
topoSort
S-SortingAlgorithms/T-TopologicalSorting/TopologicalSortDFS.cpp:21
↓ 1 callers
Function
totalPaths
D-DynamicProgramming/UniquePaths2.cpp:7
↓ 1 callers
Function
totalPaths
D-DynamicProgramming/UniquePaths.cpp:8
↓ 1 callers
Function
totalWays
D-DynamicProgramming/ClimbingStairs.cpp:9
↓ 1 callers
Function
travllingSalesmanProblem
implementation of traveling Salesman Problem
D-DynamicProgramming/TravelingSalesPerson.cpp:8
↓ 1 callers
Function
tree
T-Tree/B-BinaryTree/Height_of_Tree.cpp:23
↓ 1 callers
Function
tree
T-Tree/B-BinaryTree/No_of_leaf_nodes.cpp:31
↓ 1 callers
Function
tree
T-Tree/B-BinaryTree/InternalNodes.cpp:29
↓ 1 callers
Method
unionSet
D-DisjointSetUnion/DSU.cpp:69
↓ 1 callers
Function
uniquePaths
D-DynamicProgramming/UniquePaths.cpp:26
↓ 1 callers
Function
uniquePathsWithObstacles
D-DynamicProgramming/UniquePaths2.cpp:29
↓ 1 callers
Function
update
the update function
T-Tree/F-FenwickTree/K_Query.cpp:23
↓ 1 callers
Function
updateBit
B-BitManipulation/BitManipulation.cpp:24
↓ 1 callers
Function
updateValue
The function to update a value in input array and segment tree. It uses updateValueUtil() to update the value in segment tree
A-AdvancedDataStructures/SegmentTree.cpp:61
↓ 1 callers
Function
updateValueUtil
A recursive function to update the nodes which have the given index in their range. The following are parameters st, si, ss and se are same as g
A-AdvancedDataStructures/SegmentTree.cpp:41
↓ 1 callers
Function
valid
function to be called
T-Tree/B-BinarySearchTree/Check Valid BST/checkValidBST.cpp:15
↓ 1 callers
Function
verticalTraversal
Function to print vertical order traversal of the binary tree with given node
T-Tree/T-TreeTraversals/verticalTraversal.cpp:67
↓ 1 callers
Method
wordStartWith
T-Trie/CountPrefix.cpp:57
↓ 1 callers
Function
word_wrap
--------------------Word wrap function---------------------------*/
P-Problem Statements & Solution/2-Level 2/WordWrapProblem.cpp:30
↓ 1 callers
Function
zigzagLevelOrder
T-Tree/T-TreeTraversals/zigzag_levelorderTraversal.cpp:60
Method
Stack
Initialization of stack
S-Stack/StacksWithoutSTL.cpp:23
Method
isEmpty
Check stack is empty or not
S-Stack/StacksWithoutSTL.cpp:35
Method
isFull
Check stack is full or not
S-Stack/StacksWithoutSTL.cpp:29
Method
peek
Return value of item at top of stack
S-Stack/StacksWithoutSTL.cpp:41
Method
pop
Delete item from stack
S-Stack/StacksWithoutSTL.cpp:68
Method
push
Insert item into stack
S-Stack/StacksWithoutSTL.cpp:53
Method
sort
S-Stack/SortStack.cpp:53
Method
A
Creating a constructor for class A
O-OOPS/diamondInheritance.cpp:19
Method
B
Creating a constructor for class B
O-OOPS/diamondInheritance.cpp:35
Method
B
Miscellaneous/F-Friend/FriendClass.cpp:25
Method
C
Creating a constructor for class C
O-OOPS/diamondInheritance.cpp:50
Method
C
Miscellaneous/F-Friend/FriendClass.cpp:35
Method
Car
O-OOPS/I-Inheritance/Hybrid-Inheritance.cpp:14
Method
D
Creating a constructor for class D
O-OOPS/diamondInheritance.cpp:65
Method
DSU
G-Graphs/M-MinimumSpanningTree/kruskalDSU.cpp:16
Method
Ferrari
O-OOPS/I-Inheritance/Hybrid-Inheritance.cpp:30
Method
Graph
G-Graphs/ConnectedComponentUndirectedGraph.cpp:45
Method
Graph
G-Graphs/I-Implementation/AdjacencyList.cpp:10
Method
Graph
G-Graphs/M-MinimumSpanningTree/primsPriorityQueue.cpp:13
Method
Graph
G-Graphs/M-MinimumSpanningTree/kruskalDSU.cpp:68
Method
Hamiltonian
Hamiltonian class constructor
B-Backtracking/HamiltonianCycle.cpp:45
Function
IterativeSearch
Iterative C++ program to search an element in linked list
L-LinkedList/S-SinglyLinkedList/SearchingInALinkedList.cpp:29
Method
LRUCache
L-LinkedList/LRU Cache/LRUCache.cpp:27
Method
LinkedList
L-LinkedList/S-SinglyLinkedList/ReverseLinkedList.cpp:19
Method
ListNode
L-LinkedList/S-SinglyLinkedList/RemovingDuplicates.cpp:7
Method
Node
G-GreedyAlgorithms/HuffmanCoding.cpp:12
Method
Node
L-LinkedList/S-SinglyLinkedList/ReverseLinkedList.cpp:10
Method
Node
L-LinkedList/S-SinglyLinkedList/SegregateEvenOdd.cpp:8
Method
Node
L-LinkedList/Merge K Sorted LinkedList/merge_k_ll.cpp:9
Method
Node
L-LinkedList/Clone a List with Random pointers/LinkedListClone.cpp:10
Method
Node
constructor to initialize node
P-Problem Statements & Solution/1-Level 1/two_pointer_on_doubly_linked_list.cpp:19
Method
Node
T-Tree/G-GenricTree/MirrorOfGenricTree.cpp:15
Method
Node
Constructors
T-Tree/T-TreeTraversals/zigzag_levelorderTraversal.cpp:17
Method
Node
T-Tree/T-TreeTraversals/DiagonalTraversal.cpp:21
Method
Node
T-Tree/T-TreeTraversals/verticalTraversal.cpp:22
Method
Node
T-Tree/B-BinarySearchTree/Check Valid BST/checkValidBST.cpp:8
Method
Node
T-Tree/B-BinaryTree/LargestBSTinBT.cpp:12
Method
NumberClass
O-OOPS/OperatorOverloadingBinary.cpp:6
Method
P
Miscellaneous/F-Friend/FriendFunction.cpp:11
Method
Pair
T-Tree/B-BinaryTree/LargestBSTinBT.cpp:24
Method
Person
Person constructor ---Empty one / Default one
P-PriorityQueue/PriorityQueueSTLComparator.cpp:14
Method
Racing
O-OOPS/I-Inheritance/Hybrid-Inheritance.cpp:22
Method
Stack1
S-Stack/StacksUsingQueue.cpp:20
Method
Stack2
S-Stack/StacksUsingQueue.cpp:73
Method
Student
Constructor to make Students
H-HashMap/UnorderedMaps-CustomHashmaps-OperatorOverloading.cpp:14
Method
TreeNode
T-Tree/B-BinaryTree/CousinsBinaryTree.cpp:14
Method
Trie
T-Trie/CountPrefix.cpp:21
Method
UnionFind
D-DisjointSetUnion/DSU.cpp:13
Method
addnode
L-LinkedList/LRU Cache/LRUCache.cpp:34
Method
binaryTreeNode
T-Tree/B-BinaryTree/Diameter.cpp:23
← previous
next →
401–500 of 805, ranked by callers