Y
Hacker News
new
|
ask
|
show
|
jobs
by
tashmahalic
1369 days ago
Without loops or general recursion, how would you implement binary search of a list? How would you implement list sorting algorithms like merge sort, bubble sort, or quicksort?
1 comments
hyperswine
1369 days ago
I guess you could use arr.for_each() or arr.map()
link