Add two more solutions with different complexities + Unit tests