<img width="1034" alt="Image" src="https://github.com/user-attachments/assets/bf2e0fb2-5e16-4ad5-a880-df3014e1117b" /> <img width="1294" alt="Image" src="https://github.com/user-attachments/assets/2597a04c-4b52-40aa-a52e-fa625062bc50" /> https://codesandbox.io/p/sandbox/jr25j2?file=%2Fsrc%2FApp.tsx%3A10%2C82 Sample cases when the expected result is Set, but the function returns Array. ``` mode([1, 2]) mode([1, 2, 3, 4]) ``` there on line 88, a Set should be returned <img width="895" alt="Image" src="https://github.com/user-attachments/assets/70ab14bc-c909-483f-a0d2-fe16e7d1ee9f" />