Why we need learn sorting algorithms already we have shortcut like Arrays.sort, Arrays.parallelSort, comparable and comparator. | Sololearn: Learn to code for FREE!

+2

Why we need learn sorting algorithms already we have shortcut like Arrays.sort, Arrays.parallelSort, comparable and comparator.

I have a small doubt. At present we have shortcuts are available like Arrays.sort(), Arrays.parallelSort(); Comparable and Comparator etc., We need to learn this sorting Algorithm._ (I don't know that's the reason I am asking.) _.*It anyone knows please provide the answer. * Please provide any links. I need to learn more about this

1/3/2019 3:37:38 PM

SArat

3 Answers

New Answer

+9

Adding on to the great answer by rewa mathur, learning the algorithms are also key part of computer science, not really computer programming. Sure using the built in algorithms is great, and you will probably not build a better one, but you will never know what is "under the hood" and how it can affect performance. Again, learning deeper is more a comp. sci. thing rather than programming in general. You can be a great programmer without knowing the deep end, but you'll be a master legend wizard knowing the whole boat! ;)

+2

Thanks for answering