Meta interview question

Question was about designing a nodelist