← Questions

Deep equality of two records

0
UberCodingLast asked Jun 2026

Write a function that decides whether two records are deeply equal: the same keys, with values that are equal all the way down through nested maps and lists.

Agree with the interviewer on key order, list order, number types and what to do about cycles.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding