Hacker News new | past | comments | ask | show | jobs | submit login

This is the shortest solution somebody has come up with, 79 characters.

function(a,b,c,d,e){for(e=0;d<c;)with(a[d][b[e]||"B"])b[e]=w,e+=m,d=n;return b}

Source: https://gist.github.com/1400509




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

Search: