Amazon Interview Question

Complete Binary Tree check, sort linked list with duplicates

Interview Answer

Anonymous

Feb 23, 2024

Did dfs for first and second one the linked list is sorted I used that property