## Find The Minimum time difference

Minimum time difference Given a list of 24-hour clock time points in “HH:MM” format. Write a program to find the … Read more

Minimum time difference Given a list of 24-hour clock time points in “HH:MM” format. Write a program to find the … Read more

You are on a business trip and traveling from one city to another. you have a stack of unsorted flight … Read more

Given an array of numbers, write a program to rank the array elements. Example: Given array: [22, 11, 44, 66, … Read more

GIven an array of numbers, find out if array contains three consecutive odd numbers Example: [2, 4, 1, 3, 4, … Read more

Given an arithmetic expression which operators, operands and brackets. You need to find out the maximum depth of valid nested … Read more

Given an array of numbers, write a program to duplicate the even numbers and return the new array. Example: Input: … Read more

Given a sorted array of integers, Write an algorithm to make all array elements distinct or unique by doing minimum … Read more

The “surpasser” of an element in an array is defined as the number of elements that are to the “right” … Read more

Given an array of integers, write a program to find the number of pairs for which the XOR is an … Read more

Given a list of n Jobs with start time, end time and CPU load when it is active at any … Read more

In school a student gets rewarded if he has an attendance record without being absent for more than once or … Read more

Given a sorted array of integers, write a program to remove duplicates in-place by modifying the given array such that … Read more

Given an array of numbers nums[], write ment a function to replace each element of the array with the greatest … Read more

Given an array of integers and number K, write a program to find the number of pairs which has sum … Read more

Given a bench with n seats and few people sitting, You are going to sit on a vacant seat such … Read more