Pergunta de entrevista da empresa Samsung Research America

Build in Scala a datatype similar to defaultdict in python

Resposta da entrevista

Sigiloso

2 de dez. de 2014

This is a tricky type system question. If your dict is immutable, it's easy, cause you can just have a default immutable object. If your dict is mutable, things get interesting