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

I typically do the same algorithm for each solution, but I do try to write it in an idiomatic way to each language.

I usually look at the editorial after the first solve to see if I missed any tricks or other approaches, and sometimes I’ll write the second solution differently if there was something interesting that I missed.



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

Search: