algos: +minor tweaks to linear search and quicksort methods