🥳 СПІЛЬНОТА АЙТІШНИКІВ 👻
👉 https://t.me/vasin_fr
👽 https://t.me/+iqHJ42ViFPI4ZDg0 НАШ ЧАТ! 😘
Зі мною спілкуватися = https://discord.gg/3sZ29gc9Wb 🫦
🤝 ЗА МОЇМ МЕНТОРСТВОМ, ПИШИ СЮДИ:
🔥 https://t.me/vasin_oleksii
ЗАДАЧІ ДЖАВАСКРИПТ #codewars | #javascript ДЛЯ ПОЧАТКІВЦІВ | ВИРІШЕННЯ ЗАДАЧ ДЖС | ЛАЙВКОДІНГ #js
У цьому відео ми розглянемо інтриги та методи вирішення завдань на #CodeWars рівня 6 kyu. Цей рівень передбачає глибоке розуміння програмування та мов програмування, але включає цікаві та цікаві завдання, які допоможуть вам покращити свої навички.
Не пропусти нові випуски! Підписуйся та залишай свій коментар під відео на YouTube, та рекомендуй канал друзям! 📢👍
✨ Timeline:
✔ 0:00 - Привітулі)
✔ 0:25 - Array.diff
Your goal in this kata is to implement a difference function, which subtracts one list from another and returns the result.
It should remove all values from list a, which are present in list b keeping their order.
arrayDiff([1,2],[1]) == [2]
If a value is present in b, all of its occurrences must be removed from the other:
arrayDiff([1,2,2,2,3],[2]) == [1,3]
✔ 0:52 - ТИ НЕ ПІДПИСАН?
✔ 1:18 - Not very secure
In this example you have to validate if a user input string is alphanumeric. The given string is not nil/null/NULL/None, so you don't have to check that.
The string has the following conditions to be alphanumeric:
At least one character ("" is not valid)
Allowed characters are uppercase / lowercase latin letters and digits from 0 to 9
No whitespaces / underscore
✔ 5:10 - Моє менторство
✔ 5:45 - Stop gninnipS My sdroW!
Write a function that takes in a string of one or more words, and returns the same string, but with all five or more letter words reversed (Just like the name of this Kata). Strings passed in will consist of only letters and spaces. Spaces will be included only when more than one word is present.
Examples:
spinWords( "Hey fellow warriors" ) = returns "Hey wollef sroirraw"
spinWords( "This is a test") = returns "This is a test"
spinWords( "This is another test" ) = returns "This is rehtona test"
✔ 10:00 - Convert string to camel case
Complete the method/function so that it converts dash/underscore delimited words into camel casing. The first word within the output should be capitalized only if the original word was capitalized (known as Upper Camel Case, also often referred to as Pascal case). The next words should be always capitalized.
Examples
"the-stealth-warrior" gets converted to "theStealthWarrior"
"The_Stealth_Warrior" gets converted to "TheStealthWarrior"
"The_Stealth-Warrior" gets converted to "TheStealthWarrior"
✔ 13:25 - Your order please
Your task is to sort a given string. Each word in the string will contain a single number. This number is the position the word should have in the result.
Note: Numbers can be from 1 to 9. So 1 will be the first word (not 0).
If the input string is empty, return an empty string. The words in the input String will only contain valid consecutive numbers.
Examples
"is2 Thi1s T4est 3a" -- "Thi1s is2 3a T4est"
"4of Fo1r pe6ople g3ood th5e the2" -- "Fo1r the2 g3ood 4of th5e pe6ople"
✔ 16:25 - Інтерактив!
✔ 16:46 - Став лайк (:
✨ Автор уроку:
✔ YouTube: @vasin.fr
✔ Instagram: https://www.instagram.com/vasin.fr/
✔ LinkedIn: https://www.linkedin.com/in/vasin-oleksii
✔ GitHub: https://github.com/vasin-fr
✨ Підтримати розвиток каналу та стати частиною люксового 💅 клубу: https://www.patreon.com/VasinOleksii