Похожие чаты

What does it mean to solve in linear time ?

7 ответов

4 просмотра
Raven49- Автор вопроса

How should we sort this array ? Somebody explain . What is meant when it's said to solve in linear time?

I can point you out to what you need to understand it Read about computational complexity, especially about "O notation". By linear time, they mean O(n) There are videos about it on many resources. Even khan-academy

Raven49- Автор вопроса
Naz Klymok
I can point you out to what you need to understand...

Can you tell me exactly in which sorting technique should I sort it ?

If there are n elements, there should be n steps

Raven49- Автор вопроса
Raven49- Автор вопроса
Roy
It's nlogn

Then which sorting should I use ?

Похожие вопросы

Карта сайта