Count number of ways to reach the nth stair by climbing 1, 2 or 3 steps
A child is running up a staircase with n steps and can hop either 1 step, 2 steps, or 3 steps at a time. Implement...
Algorithm to create linked list of nodes at each depth in Binary tree
Here we are given a binary tree, and we have to design an algorithm from scratch, which will create a linked list of all...
Reverse a linked list in Linear Time without using extra space
Given a singly Linked List, we have to reverse the entire linked List in a Linear Time and we don't have to use any...
Addition of Two Numbers Stored in a Linked List in reverse order
We are given two numbers stored in a Linked List in reverse order, where each node of the Linked List represents the...
Given a pointer to the node of a linked list delete that node
In this problem we are given a pointer to the node of a linked list, we have to write an algorithm to...
Check if given two strings are permutation of each other
Suppose we are given two lowercase string as an input and we have to check whether they are a permutation of each other i.e...
C/CPP – DataTypes
Datatypes tell the compiler what kind of value a variable will and hence allocate the size to that variable accordingly. Various types of datatype supported...
Subscribe to our newsletter
To be updated with all the latest news, offers and special announcements.
Even we hate spam as much