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 arithmetic expression which operators, operands and brackets. You need to find out the maximum depth of valid nested … 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 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
Interval is defined as [start, end]- the start of the interval to the end of the interval. Given the list … 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 an array of strings, write a program to count all the similar words. Similar words: Two words are similar … Read more
Given a bench with n seats and few people sitting, You are going to sit on a vacant seat such … Read more
Given candidates standing for an election, design a data structure that can support the following modules – 1. voteCandidate (candidateName) … Read more