Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>> store the board in a 2d array of some sort and write some functions to interact with it

thereby making it a data structure problem



That’s just not what a “data structure problem” commonly means. If it was, all programs would be data structure problems because all programs interact with data in some form.

A data structure problem is a problem where designing and implementing an appropriate data structure is in some way hard. A 2d array doesn’t fit the bill. It’s not exotic enough.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: