I couldnt solve this problem during phone screen. Couldnt remove duplicates from set (guess im an idiot) so Im assuming my chances are chalked for sure lol. Anyways heres the question:
Question details
You're given a list of elements. Each element has a unique id and 3 properties. Two elements ar
Please write a function that takes the input and returns all the duplicates.
E1: id1, p1, p2, p3|
E2: id2, p1, p4, p5
E3: id3, p6, p7, p8
in this example we should return {{idl, id2}, {id3}}
Comments (16)


