-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Misc
Mission Peace edited this page Oct 27, 2016
·
4 revisions
- Given two sets of intervals. Ranges in the same set do not overlap each other. Merge these sets - AddingTwoSetOfIntervals.java
- Given a time(hour and min), find angle between hour and min hand - AngleBetweenHourAndMinuteHand.java
- Given an excel sheet kind of numbering, convert it into decimal and vice versa - ConvertNumberIntoBase26.java
- Given two dates in AD, find number of days between these 2 dates - DayDifferenceBetweenTwoDates.java
- Given a floating point number in string, convert it into actual float number - FloatPointConversion.java
- Given an array, find hamming distance between each pair of numbers in the array - HammingDistanceBetweenPair.java
- Given horizons of building in form of height and start end point, merge them into single horizon - HorizonMapping.java
- kth largest element in row wise and column wise sorted 2D array - KthLargestInRowiseColumnWiseSorted2DArray.java
- Design a load balancer where you can add,remove and find random server in O(1) time - LoadBalancers.java
- Given an integer, return a string which represents this integer in words - NumberToWord.java
- Convert a roman number into decimal number and vice versa - RomanNumberToDecimal.java
- Given cordinates of four points, say if they will form a square or not - FourPointsFormSquare.java
- Given two times in 4 digit number, find difference between them - DifferenceBetweenTwoTime.java
- All prime numbers before n - PrimeNumbersBeforeN.java
- How to give minimum number of candies to children with ratings. Every child with higher rating should get more candy then its neighbor with lower rating. Everyone should get at least one candy. CandiesProblem
- Given an integer array nums, return the number of range sums that lie in [lower, upper] inclusive - CountRanges.java
- Given a read function which supports reading only 4 bytes implement a reader which can read bytes of given size - Read4Function.java
- Insert interval into sorted intervals and merge if needed - InsertInterval.java
- Range minimum query using sparse table - SparseTableRangeMinimumQuery.java
- Implement parser for nested integer - IntegerListParser.java
- Given an array find if two numbers are at most t apart and at most k index away from each other - ContainsNumberWithinKDistance.java