CODEWARS #6 - Closest Elevator (solved in Python & Javascript)
By Ifeanyi Omeata
CODEWARS #6 - Closest Elevator (solved in Python & Javascript)
00:00 - Intro
02:25 - Javascript Solution #1
06:46 - Javascript Solution #2 (Ternary Operator)
07:47 - Javascript Solution #3 (using Math.abs() method)
11:41 - Python Solution #1
14:10 - Python Solution #2 (using abs() method)
Codewars Problem: codewars.com/kata/5c374b346a5d0f77af500a5a/..
Codewars Playlist: youtube.com/playlist?list=PL6rbQ5F5xbtUOVW7..
Website: ifeanyiomeata.com
Twiter: twitter.com/iomeata
Linkedin: linkedin.com/in/omeatai
#codewars #ClosestElevator #algorithm #python #javascript #code #devcommunity #developer #leetcode #hackerrank #coderbyte #100daysofcode #100dayschallenge #100daysofpython #100daysofjavascript
codewars, ClosestElevator, algorithm, python, javascript, code, devcommunity, developer, leetcode, hackerrank, coderbyte, 100daysofcode , 100dayschallenge, 100daysofpython, 100daysofjavascript, algorithm