Java Algorithm – Remove duplicates from an unsorted linked list – Linked List – Write a removeDuplicates() function which takes a list and deletes
Data Structures
Union-Find Algorithm | Set 1 (Detect Cycle in an Undirected Graph)-Graph cycle-A disjoint-set data structure is a data structure that keeps track of a set.
Cpp Programming-Merge two sorted linked lists such that merged list is in reverse order-Linked list Given two linked lists sorted
Print ancestors of a given binary tree node without recursion – Stack – Given a Binary Tree and a key, write a function that prints all the ancestors
C Programming-Merge two sorted linked lists such that merged list is in reverse order-Linked list
Given two linked lists sorted
Union-Find Algorithm | Set 1 (Detect Cycle in an Undirected Graph)-Graph cycle-A disjoint-set data structure is a data structure that keeps track of a set.
Kruskal’s Minimum Spanning Tree using STL in C++ – STL Implementation of Algorithms – Use a vector of edges which consist of all the edges in the graph.
C Algorithm – Write a recursive function to print reverse of a Linked List – Linked List – Given a linked list, print reverse of it using
C Program Print BST keys in the given range – Binary Search Tree – Given two values k1 and k2 (where k1 < k2) and a root pointer to a Binary Search Tree.
Python Algorithm – Length of the longest valid substring – Stack – Given a string consisting of opening and closing parenthesis