New answers tagged

2 votes

Linear time alg for checking if numbers in a list are close

Yes. You can do it linear time in practice. I'll focus on a practical solution, without worrying about theoretical worst-case running time (which gets messier). The approach will be to work in two ...
D.W.'s user avatar
  • 159k

Top 50 recent answers are included