## Add Two Numbers Represented by Linked Lists

Problem Statement Given 2 numbers, where each digit is represented by nodes of a LinkedList, find the sum…

Browsing Category# Coding Problems

112 posts

Problem Statement Given 2 numbers, where each digit is represented by nodes of a LinkedList, find the sum…

June 8, 2022

Problem Statement Given a binary tree, serialize and deserialize the binary tree. Serialize: Write the tree into a…

December 17, 2021

Problem Statement Given a binary search tree and a key value. The task is to delete the given…

January 17, 2022

Problem Statement Given are some integers, which are read from the data stream. The task is to find…

January 17, 2022

Problem Statement Given a total of n friends, each friend can either remain single or can be paired…

June 15, 2022

Introduction N-ary trees are tree data structures that allow us to have up to n children nodes for…

October 3, 2022

Problem Statement Given an undirected, unweighted graph print the DFS traversal of the graph. Sample Test CasesInput 1:…

December 13, 2021

Problem Statement Given a binary tree, return the reverse level order traversal of its nodes’ values. (i.e, from…

January 17, 2022

Problem Statement Given a string S of lowercase English characters ‘a’ – ‘z’. The task is to sort…

December 13, 2021

Problem Statement Given a binary tree, find the diameter of the tree. Diameter: The diameter of a tree…

July 8, 2022