Amazon Interview Question

The coding question was about getting the best time for using a washing machine for minimum electricity charges based on a list of time and prices for electricity. Something like that!