You are given an unordered list of integers, you need to find the K’th smallest integer in that list. Sample Input: Arr = { 7,
Category: Arrays
Practice problems related to Arrays
Spiral Order Traversal
You are given a N x N matrix, you need to perform a spiral order traversal and print the elements of the matrix in that
Majority Element
Given an array, you need to find the majority element if it exists, else return “NO”. A majority element of an array of size N,
Sort an array of 0’s, 1’s and 2’s
You are given an array whose elements are only 0’s, 1’s and 2’s. You need to sort the array in increasing order in linear time
Minimum number of coins (DP-20)
You are given a value N and an infinite supply of some denomination of coins, you need to find out the minimum number of coins
Activity Selection Problem (DP-16)
You are given a set of activities and their start and end times. You need to find out the maximum number of activities that a