@swapjs.tt: This sorting algorithm sorts your array... then checks if it's actually sorted. Then checks again. And again. Anxiety Sort: O(n² × 3 checks) #programming #coding #sortingalgorithm #anxiety #computerscience #tech #developer #softwareengineering #algorithm #programminghumor #coder #reels

swapjs.
swapjs.
Open In TikTok:
Region: AT
Thursday 26 March 2026 18:35:06 GMT
390532
33734
85
3619

Music

Download

Comments

robbo4223
Robbo 🍉 :
i really like how there’s a line of code that covers the possibility that for whatever reason it isn’t sorted correctly after the first 18 checks and then just gives up and doesn’t even fix it 😭
2026-03-26 22:47:14
7708
mik_key.music
Mik-Key (🌈Yu's Version✨) :
Can't you optimise this sort algorithm so it scans only one time and then put all in the right position
2026-03-27 01:02:31
73
iminsanesh
απyllo :
make a dementia sort, that works like bubble sort but it sometimes goes back or jumps 5 entries forward
2026-03-27 06:44:19
392
swanito.pepito
back on track gaming 🇬🇫✞ :
makes it so when it checks again it has a chance of messing up the sort a little bit so it has to sort again
2026-03-27 18:37:02
2204
the_red_knight_only_true
TRKot :
advanced level humor
2026-03-26 20:31:54
1111
moritzr96
M0R3design :
make it reshuffle and resort a few times and compare the results to be really sure that it's correct
2026-03-26 23:34:12
450
munara.croft
mitskos :
I have OCD this is how my entire OS is coded
2026-03-27 01:57:43
77
monasweebro
Ross 🏴󠁧󠁢󠁳󠁣󠁴󠁿🇪🇺💙💜🩷 :
Are you checking that last item? You sure? 😬 Maybe you should check the check to check you're checking everything right...
2026-03-27 07:01:12
114
ryousama01
Ryou :
I feel personally attacked
2026-03-27 18:41:45
11
hola.insanoz
Skibidi :
what are sorts for, other than making crazy beats
2026-04-16 16:09:54
9
moodlydoodly
MoodlyDoodly :
He's just like me fr fr
2026-03-26 22:46:31
17
elotonvarvas
eristys ampumarata :
please do depression sort
2026-03-27 12:19:22
21
salazareo
Razalas :
Didn’t even do the fastest sort initially, justified anxiety
2026-04-14 18:38:51
4
mr.nowhere06
. :
Doctor: Do you have anxiety Me: Sort of
2026-05-18 05:28:39
3
iiiiiiiilliiiiiiilll
IIIIIIIIllIIIIIIIlll :
It should recheck the whole chart after each sort 😅
2026-03-27 08:31:59
31
oxaran
Oxaran :
He just like me fr
2026-04-06 01:39:13
4
pie12345456789000
JUSTIN :
All I’m gonna say is Bogo might’ve done it in one
2026-04-04 18:21:32
1
gunnar2650
Gunnar 03 :
2026-04-13 09:05:25
1
supreezy_easy
Supreme ⛩️ :
make the value have a random chance to reorder themselves so i can see what the panic mode does
2026-04-23 10:18:48
2
hobba96
Hobba :
OMG. Someone went and reduced my husband to an algorithm.
2026-04-06 13:25:32
3
totalnyrage
Mateusz :
why so lany algorithms? just do .sort() ale we are done here
2026-03-27 07:19:46
2
m.path.3
m.path.3 :
You never know… a solar flare may have flipped a bit and messed with the sorting. And then two or three more solar flares coincidentally came along and did the same thing yet again and again. It’s not impossible.
2026-04-09 19:28:53
3
trashanmeldung
BiriusSlack :
That wasnt 20 checks in the animation like the code says 😑
2026-03-27 08:39:56
2
cudasixpack
CudaSixPack :
built in qa
2026-03-27 02:07:55
3
To see more videos from user @swapjs.tt, please go to the Tikwm homepage.

Other Videos


About