c# - When Would You Implement Your Own Sorting Algorithm? -


forgive me if silly question....but think comp. sci. classes , distinctly remember learning/being quizzed on several sorting algorithms , corresponding 'big o' notation.

outside of classroom though, i've never written code sort.

when results database, use 'order by'. otherwise, use collection class implements sort. have implemented icomparable allow sorting; i've never gone beyond that.

was sorting academic pursuit of don't implement languages/frameworks? or modern languages running on modern hardware make trivial detail worry about?

finally, when call .sort on list(of string), example, sort algorithm being used under hood?

while might need implement sorting algorithm understanding different algorithms , complexity might in solving more complex problems.

finally, when call .sort on list(of string), example, sort algorithm being used under hood?

quick sort


Comments

Popular posts from this blog

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -

Python __call__ special method practical example -