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

Wu's solution for the Cluedo puzzle seems inefficient. Could've saved an array assignment by doing mur[] and wep[] at the same time since they are of the same length.

Also, there might be a bug in Wu's solution. It seems the first time through the while loop, the parameters for the Theory function are off by 1. i.e. m=6, l=10, w=6.



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

Search: