Cpp Algorithm – Length of the longest valid substring
C++ Algorithm - Length of the longest valid sub string - Stack - Given a string consisting of opening and closing...
C++ Algorithm - Length of the longest valid sub string - Stack - Given a string consisting of opening and closing...
Generic Linked List in C - Linked List - Unlike C++ and Java, C doesn’t support generics. How to create a linked list in C...
C/C++ Programming Maximum of all sub arrays of size k Given an array and an integer k, find the maximum for each and every...
How to efficiently implement k stacks in a single array - Stack - We have discussed space efficient implementation of 2...
Clone a linked list with next and random pointer - Doubly linked list - You are given a Double Link List with one pointer of...
C++ Algorithm - Delete a Linked List node at a given position - Linked List - If node to be deleted is root, simply delete...
Design a stack with operations on middle element - Stack - The idea is to use Doubly Linked List (DLL). We can delete middle...
K’th smallest element in BST using O(1) Extra Space - Binary Search Tree - Given a Binary Search Tree (BST) and positive...
Find the first circular tour that visits all petrol pumps Suppose there is a circle. There are n petrol pumps on that...
C Algorithm - Merge two sorted linked lists - Linked List - Write a SortedMerge() function that takes two lists, each of...
Our site uses cookies. By using this site, you agree to the Privacy Policy and Terms of Use.