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

If you want a canonical example of an algorithm that's imperative and harder to do in a functional setting, cite union-find (See "A Persistent Union-Find Data Structure"). Searching is optimal in a functional setting, too. Just not the classic quicksort.


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

Search: