Size: a a a

JavaScript Developers

2019 October 08

KS

Kutman Soronbaev in JavaScript Developers
Azat io you don't know js
источник

KS

Kutman Soronbaev in JavaScript Developers
Гугл вбей
источник

KS

Kutman Soronbaev in JavaScript Developers
Там выйдет
источник

T

TostoJS in JavaScript Developers
Там все версии на русском?
источник

АД

Адылбек Джороев in JavaScript Developers
TostoJS
Там все версии на русском?
источник

АД

Адылбек Джороев in JavaScript Developers
2 части Асинхронность и ES6 не перевели
источник

АД

Адылбек Джороев in JavaScript Developers
Но в английской версии вроде легко расписано
источник

T

TostoJS in JavaScript Developers
спасибо
источник

EA

Esen Arykbaev in JavaScript Developers
👍
источник

ФШ

Фёдор Ш in JavaScript Developers
TostoJS
Ассаламу алейкум. Не подскажете где можно найти все you don't know js на русском
на rutracker лежат все 4 книги
источник

T

TostoJS in JavaScript Developers
Фёдор Ш
на rutracker лежат все 4 книги
Рахмат
источник

T

TostoJS in JavaScript Developers
Просто хочу по глубже понять. Js
источник

NB

Nursultan Batyrkanov in JavaScript Developers
это скорее js тебя поглубже поймет 😄
источник

II

Ibraev Iskender Aman in JavaScript Developers
Nursultan Batyrkanov
это скорее js тебя поглубже поймет 😄
Ваха-ха
источник

KS

Kutman Soronbaev in JavaScript Developers
Там хорошо объясняют на такие темы зис прототипы итд
источник

АД

Адылбек Джороев in JavaScript Developers
TostoJS
Просто хочу по глубже понять. Js
источник

АД

Адылбек Джороев in JavaScript Developers
Поможет легче понять
источник

BN

Bernard Ng in JavaScript Developers
This problem was recently asked by Apple:

Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue.

Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively.

Note: You are not suppose to use the library’s sort function for this problem.

Can you do this in a single pass?

Example:Input: [2,0,2,1,1,0]
Output: [0,0,1,1,2,2]
Here's a starting point:

class Solution:
def sortColors(self, nums):
# Fill this in.

nums = [0, 1, 2, 2, 1, 1, 2, 2, 0, 0, 0, 0, 2, 1]
print("Before Sort: ")
print(nums)
# [0, 1, 2, 2, 1, 1, 2, 2, 0, 0, 0, 0, 2, 1]

Solution().sortColors(nums)
print("After Sort: ")
print(nums)
# [0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2]
источник

АД

Адылбек Джороев in JavaScript Developers
Bernard Ng
This problem was recently asked by Apple:

Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue.

Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively.

Note: You are not suppose to use the library’s sort function for this problem.

Can you do this in a single pass?

Example:Input: [2,0,2,1,1,0]
Output: [0,0,1,1,2,2]
Here's a starting point:

class Solution:
def sortColors(self, nums):
# Fill this in.

nums = [0, 1, 2, 2, 1, 1, 2, 2, 0, 0, 0, 0, 2, 1]
print("Before Sort: ")
print(nums)
# [0, 1, 2, 2, 1, 1, 2, 2, 0, 0, 0, 0, 2, 1]

Solution().sortColors(nums)
print("After Sort: ")
print(nums)
# [0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2]
[2,0,2,1,1,0].sort() ?
источник

DM

Daniel Manasov in JavaScript Developers
Just create hash table {
0:0;
1:0;
2:0
} and then add 1 each time you find a color. In the end return a new array from hash table
источник