Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Stupidest ways people have solved coding interviews 😅

83,734 görüntüleme • 1 yıl önce •via X (Twitter)

10 Yorum

Theo - t3.gg profil fotoğrafı
Theo - t3.gg1 yıl önce

Sleep sort the underrated GOAT

Animesh Chouhan profil fotoğrafı
Animesh Chouhan1 yıl önce

Haha, that's sleepsort. I actually wrote a blog post on it a while back:

Barrel-rider profil fotoğrafı
Barrel-rider1 yıl önce

Nah, sleep sort guy was messing with you.

Mohak Bajaj profil fotoğrafı
Mohak Bajaj1 yıl önce

That sleep sort one is just the GOAT. The O(n) for isEven is just crazy 🤣.

Mike Rundle profil fotoğrafı
Mike Rundle1 yıl önce

Oh my god sleep sort is insane

Benathon profil fotoğrafı
Benathon1 yıl önce

Sleep sort. It’s a meme

S0AndS0.eth profil fotoğrafı
S0AndS0.eth1 yıl önce

Tip to future applicants, check the last digit of an integer for better performance, ex; function isEven(input) { return Number.isInteger(input) ? (function(input) { const d = input.toString().at(-1); return [0, 2, 4, 6, 8].some(i => i == d); })(input) : false; }

Izuuu profil fotoğrafı
Izuuu1 yıl önce

O(n) for isEven func is crazy work

A🔻 profil fotoğrafı
A🔻1 yıl önce

Why did the Sleep Sort algorithm think it was the best? Because it literally did nothing & let everyone else finish first.

Anthr@X profil fotoğrafı
Anthr@X1 yıl önce

The second guy basically made a quantum computer in javascript.🧠

Benzer Videolar