Questions -
Given an array, find the maximum length subarray which sums up to 0. (Sometimes they ask for minimum length too.)
Implement the following funtion -
public String findTime (int time, boolean isAm, int offset) {
// time is an integer between 1 - 12
// offset can be -ve or +ve
// Add the offset to the input time and return the new time along with the AM/PM indication in 12 hour format."
// Example: return "5 PM"
}Question similar to coin change
System Design - Instagram