Implement a SnapshotSet data structure that supports add(x), remove(x) and contains(x) like a normal set, plus snapshot(), which captures the set's contents at that moment. Given a snapshot, you must…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.