4 min Coding Problems Rearrange Array Alternately Problem Statement Given a sorted array A[] consisting of N integers. The task is to rearrange the array… September 5, 2022 Read More
6 min Coding Problems Sliding Window Maximum Problem Statement Given an array of integers A. There is a sliding window of size K which is… October 13, 2021 Read More
5 min Coding Problems Bottom View of Binary Tree Given a binary tree of integers. The task is to return an array of integers representing the bottom… July 8, 2022 Read More
6 min Coding Problems LRU Cache Problem Statement Design and implement a data structure for LRU (Least Recently Used) cache. It should support the… October 13, 2021 Read More
4 min Coding Problems Longest Common Prefix (With Solution) Problem Statement Given the array of strings S[], you need to find the longest string S which is… March 15, 2022 Read More
3 min Coding Problems Fractional Knapsack Problem Problem Statement Given a set of N items each having value V with weight W and the total… October 13, 2021 Read More
4 min Coding Problems Subset Sum Problem Problem Statement Given an array of non-negative integers and an integer sum. We have to tell whether there… June 15, 2022 Read More
3 min Coding Problems Find The Missing Number Problem Statement You are given an array of integers of size N – 1 ranging from 1 to… October 8, 2021 Read More
3 min Coding Problems Subarray With Given Sum Problem Statement Given an array of integers, the task is to find a non-empty subarray that adds to… October 8, 2021 Read More
3 min Coding Problems Longest Palindromic Substring Problem Statement Given a string, we have to find the longest palindromic substring(substring is a sequence of characters… August 16, 2022 Read More