Algorithms Cycle in a graph using degree of nodes of the graph There are different ways of detecting cycle in a graph. Let us understand how to detect cycles in an undirected graph using the degree of each vertex.
Algorithms Reverse a doubly linked list in C++ In this article, we are going to see how to reverse a doubly linked list by reversing the links of each node (without swapping values of nodes) and have implemented the solution using C++.
Software Engineering Different ways of Initializing multimap in C++ We have covered the different ways to initialize multimaps which includes inserting elements using make_pair, pair, initializer list, using another multimap, copy constructor and emplace_hint().
Algorithms Reverse a linked list using 2 pointers technique using XOR operator You must have come across reversing a linked list using 3 pointers technique which is the most common approach to do it. But do you know how to reverse a linked list with just 2 pointers? This article will teach you just that! Let's dive into it.
Software Engineering Linear Search in C Programming Language We have explored Linear Search algorithm and implemented variants of Linear Search in C Programming Language. The variants we have explored are Linear Search in array in C, Linear Search in Linked List in C, Linear Search in array with duplicates and Linear Search in Linked List with duplicates.