LeetCode 27 - Remove Element - JavaScript - Solution

preview_player
Показать описание
Hack the Microsoft Coding Interview with my help ! This one is interesting in JavaScript. Write if you have any questions below :) . It is a problem given by Microsoft in a coding interview.

Time stamps:
0:00 Introduction
0:35 Problem Reading
0:50 Problem Overview
1:30 Algorithm Explanation
2:30 Solution Coding in JavaScript

Like and Share if you found this useful. Thank you !
Рекомендации по теме
Комментарии
Автор

Very nice! Loved it! ❤👏
I enjoy the fact that you refer to those "things" as pointers. Sounds more C++ like. This might scare some people, though 😁 Maybe you could also mention that other devs call those "things" indexes.
E.g. num[index1++]=num[index2]
But yeah, pointer does sound cool 🤘

pavelkotsev
Автор

the array is not sorted though, do we need to iterate the arrary for sorting

uday
visit shbcf.ru