Problem Statement: Given an integer array arr, find the contiguous subarray (containing at least one number) whichhas the largest sum

Continue reading## Print Root to Node Path in a Binary Tree

Problem Statement: Print Root to Node Path In A Binary Tree. Write a program to print path from root to

Continue reading## Preorder Inorder Postorder Traversals in One Traversal

Problem Statement: Preorder Inorder Postorder Traversals in One Traversal. Write a program to print Preorder, Inorder, and Postorder traversal of the

Continue reading## Post-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 reading## Vertical 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 reading## Merge 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 reading## Implement 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 reading## Sprinklr 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 reading## Merge 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 reading## Implement LRU Cache

Problem Statement: “Design a data structure that follows the constraints of Least Recently Used (LRU) cache”. Implement the LRUCache class:

Continue reading