## Minimum Circles needed to be removed so that all remaining circles are non intersecting

Given n Circles present in x-y plane such that all the circles have their center aligned on the x-axis. The task is to remove some… Read More »

- Amazon Internship Interview Experience
- k-th missing element in an unsorted array
- Sort an array without changing position of negative numbers
- Find the longest string that can be made up of other strings from the array
- Count the triplets such that A[i] < B[j] < C[k]
- Comparison among Bubble Sort, Selection Sort and Insertion Sort
- Two nodes of a BST are swapped, correct the BST | Set-2
- Nagarro Interview Experience Off-campus
- Greatest contiguous sub-array of size K
- Bubble Sort for Linked List by Swapping nodes
- Merge two BSTs with constant extra space
- Maximum water that can be stored between two buildings
- Find a triplet in an array whose sum is closest to a given number
- Keep track of previous indexes after sorting a vector in C++ STL
- Pair with largest sum which is less than K in the array
- Find maximum meetings in one room
- Range Queries to Find number of sub-arrays with a given xor
- Split the array elements into strictly increasing and decreasing sequence
- Count pairs with given sum | Set 2
- Iterative selection sort for linked list
- Find the number of elements greater than k in a sorted array
- Program to print an array in Pendulum Arrangement with constant space
- Sort an array of strings based on the frequency of good words in them
- Maximum Length Chain of Pairs | Set-2
- IntroSort or Introspective sort
- Find minimum changes required in an array for it to contain k distinct elements
- Remove elements to make array sorted
- Divide array into two parts with equal sum according to the given constraints
- Unbounded Fractional Knapsack
- Check whether an array can be made strictly decreasing by modifying at most one element

Given n Circles present in x-y plane such that all the circles have their center aligned on the x-axis. The task is to remove some… Read More »

Given an array of n distinct elements and a number x, arrange array elements according to the absolute difference with x, i. e., the element… Read More »

Given a string str consisting of uppercase and lowercase characters. The task is to sort uppercase and lowercase characters separately such that if the ith… Read More »

Given an array of integers of size N, The task is to print the consecutive integers as a range. Examples: Input : N = 7,… Read More »

Given an array arr[] of characters and an integer M, the task is to sort the array based on ASCII % M i.e. the character… Read More »

Given an array arr[] of positive integers, the task is to find whether it is possible to make this array strictly decreasing by modifying at… Read More »

Given a Binary Search Tree with two of the nodes of the Binary Search Tree (BST) swapped. The task is to fix (or correct) the… Read More »

Given a permutation from 1 to N of size N. Find the length of the longest subsequence having the property that the first and last… Read More »

Given an array, the task is to create a new sorted array in ascending order from the elements of the given array. Examples: Input :… Read More »

Given two Binary Search Trees(BST), print the elements of both BSTs in sorted form. Note: Both the BSTs will not have any common element. Examples:… Read More »

Given two arrays a1[] and a2[], print elements of a1 in such a way that the relative order among the elements will be the same… Read More »

Given two arrays, we have to check whether we can sort two arrays in strictly ascending order by swapping A[i] and B[i]. Examples: Input :… Read More »

Given an array containing distinct positive integers and an integer k. The task is to find the largest possible k-multiple set from the array of… Read More »

Given an array of integers, the task is to remove elements from the array to make array sorted. That is, remove the elements which do… Read More »

Given an integer array which represents the heights of N buildings, the task is to delete N-2 buildings such that the water that can be… Read More »