I was asked this coding question, not sure what the solution is:
I went for a trip and I keep taking pictures . After every picture I will mark if the picture is good or bad . After going to home I want to see all the pictures in the following way -
1. Get the picture taken after picture x .
2. Get the next good picture take after time "t" .
If you need to make an app how would you do this so that if is efficient in terms of space and time