Skip to main content

Command Palette

Search for a command to run...

CODEWARS #6 - Closest Elevator (solved in Python & Javascript)

By Ifeanyi Omeata

Published
1 min read
CODEWARS #6 - Closest Elevator (solved in Python & Javascript)
I

Hi, I am a Software Developer of 3-4 years specialising in React, Javascript, Node, NextJS, Express, Python, Django, Fast API, SQL and a few other technology stack, with a good background in Networking and Cloud Infrastructure. I am working to become a DevOps Solutions Engineer and happily married to my long time girlfriend.

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: https://www.codewars.com/kata/5c374b346a5d0f77af500a5a/train/javascript

Codewars Playlist: https://www.youtube.com/playlist?list=PL6rbQ5F5xbtUOVW7hAplbsHn8-eopr4y4

Website: http://www.ifeanyiomeata.com
Twiter: https://twitter.com/iomeata
Linkedin: https://www.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