Given a pointer to the head node of a linked list, the task is to reverse the linked list. We need to switch the list by changing the links between nodes.
How to solve this Coding problem?
How to solve this Coding problem?
Given an undirected graph. The task is to print all the Hamiltonian cycles present in the graph.
Given a binary tree, determine if is height-balanced.
How to solve this Coding problem?
Given an array of distinct elements, which is formed from some places rotation of a sorted array, find if a given element is present in the array or not.
How to solve this Coding problem?
Given 2 lists of words, find if there exists a sequence such that the concatenation of the words in this order, gives the same word for both lists.
How to solve this Coding problem?
Given two strings, the task is to find the longest common substring present in the given strings in the same order.
How to solve this Coding problem?
Given an array, a[], consisting of distinct elements, and a target sum, find all the unique combinations in the array where the sum is equal to the target sum.
How to solve this Coding problem?
Given a string S of lowercase English characters ‘a’ – ‘z’. The task is to sort the string.
How to solve this Coding problem?
Given a binary tree, return the reverse level order traversal of its nodes’ values. (i.e, from left to right and from the last level to starting level).
How to solve this Coding problem?
Given an array of integers, the task is to remove the duplicates from the array.
How to solve this Coding problem?
Want to Enhance your Coding Skills?