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?
Comments
Post a Comment