Microsoft | Onsite - Event (non Azure)
Anonymous User
4661

Questions -

  1. Given an array, find the maximum length subarray which sums up to 0. (Sometimes they ask for minimum length too.)

  2. 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"
}
  1. Question similar to coin change

  2. System Design - Instagram

Comments (10)