Amazon Interview Question for SDE-2s
- 0of 0 votes
I have a photo storage service. The actual photos are present in some storage and the index of these photos is present at some other place. The index is huge, say trillions of photos. Design the class for index node of each photo (with attributes like name*, date*, size*, accesscontrol, camera details, shot details, etc) such that 1. It is serializable. 2. For faster processing, I am interested in first 3 attributes. When deserializing the bytes of object, parse these 3 attributes i.e. instead of deserializing whole class, deserialize only part of the class (members marked by*), other members of class should be deserialized on demand with another call.- AnonymousN January 10, 2016 in United States
How will you test the performance of your serialization/ deserialization?
| Report Duplicate | Flag | PURGE
Amazon SDE-2 Java
Interview Type: In-Person
Open Chat in New Window