Capital One Interview Question

What is the difference between a Map and a Tuple?

Interview Answer

Anonymous

Feb 25, 2019

A Map stores key/value pairs, where the key is expected to be unique, while a Tuple is essentially value/value pairs.

1