please update ,we are good if u update just videos
John wick
Tokala
No we are not
sealbergs
found a better way to solve task 19: MoveElementToEnd
It returns an array of numbers with selected number moved to the end, but other numbers are still in the same order they were represented in the initial array.
const moveToEnd = (array, num) => {
let idx = array.indexOf(num);
for (let i = idx + 1; i < array.length; i++){
if (array[i] !== num){
//swap
[array[i], array[idx]] = [array[idx], array[i]];
idx++;
}
}
return array;
}
Andrew
Hey can I add other courses?https://www.algoexpert.io/purchase
Anonymous
please update , thanks
thanhhung.0706
Please update. Thank you
Drekavac
Обновите пожалуйста
potent
PLEASE UPDATE
Vivek
Update it please, thanks.
ASilentVoice
Update it please, thanks.
Anonymous
Please update the course. It has 60 more videos
rakeshsuvidya
Please update the course. There are 160 videos on the actual website. Thanks
PatNan
Please update the course. There are 160 videos on the actual website. Thanks
erdahuja
Please update
JarvisJack
Hi Admin, Can you please update this course ?
John wick
update
neiron
update please
mr.rspanish
Pleaseeee update
tutplus365
The course needs to be updated. new questions have been added
mous.71@mail.ru
Админ, пожалуйста, обновите курс. Там +60 новых вопросов
ThePentagramBurns
Update please. There are 60 more new videos.
Команда внимательно читает ваши комментарии и оперативно на них реагирует. Вы можете спокойно оставлять запросы на обновления или задавать любые вопросы о курсе здесь.
It returns an array of numbers with selected number moved to the end, but other numbers are still in the same order they were represented in the initial array.
const moveToEnd = (array, num) => {
let idx = array.indexOf(num);
for (let i = idx + 1; i < array.length; i++){
if (array[i] !== num){
//swap
[array[i], array[idx]] = [array[idx], array[i]];
idx++;
}
}
return array;
}