Problem Statement: Preorder Inorder Postorder Traversals in One Traversal. Write a program to print Preorder, Inorder, and Postorder traversal of the
Continue readingPost-Order Traversal Of Binary Tree
Problem Statement: Postorder Traversal of a binary tree. Write a program for the postorder traversal of a binary tree. Example: Disclaimer:
Continue readingVertical Order Traversal of Binary Tree
Problem Statement: Vertical Order Traversal Of A Binary Tree. Write a program for Vertical Order Traversal order of a Binary Tree.
Continue readingMerge two Sorted Arrays Without Extra Space
Problem statement: Given two sorted arrays arr1[] and arr2[] of sizes n and m in non-decreasing order. Merge them in
Continue readingImplement Queue Using Array
Problem Statement: Implement Queue Data Structure using Array with all functions like pop, push, top, size, etc. Example: Input: push(4) push(14)
Continue readingSprinklr Interview Experience | Set – 1
Company Name: Sprinklr Inc Job Role: Platform Software Engineer/Product Engineer Years of Experience Required: Fresher Drive: On-Campus CTC: Platform Software
Continue readingMerge Overlapping Sub-intervals
Problem Statement: Given an array of intervals, merge all the overlapping intervals and return an array of non-overlapping intervals. Examples
Continue readingImplement LRU Cache
Problem Statement: “Design a data structure that follows the constraints of Least Recently Used (LRU) cache”. Implement the LRUCache class:
Continue readingCombination Sum – 1
Problem Statement: Given an array of distinct integers and a target, you have to return the list of all unique
Continue readingSubset Sum : Sum of all Subsets
Problem Statement: Given an array print all the sum of the subset generated from it, in the increasing order. Examples:
Continue reading