The coding competition on ThePrimagean's Twitch channel, featuring teej_dv, roxkstar74, and bashbunni, proved more than worth the hype, with all sorts of hilarity going down in the livestream.
Streamer teej_dv returning the same value for the function he took in the URL Shortener challenge was probably one of the most discussed incidents after the clip of the same went viral.
The fact that the creator's trickery went unnoticed at the time made it all the more hilarious and outrageous for various viewers. Read on to find out more about what was probably the biggest coding contest on Twitch.
Story continues below ad
(Watch from 02:08:12 to check the full URL Shortener challenge)
About two hours into the stream, Primagean introduced another challenge for the competitors:
He also clarified that there are no real restrictions as to how the streamers will go about it and that they are free to complete the challenge as they see fit:
After clarifying all the rules of the challenge, Primagean also remarked that the key to winning the challenge lies in the language the programmers get for it:
Story continues below ad
After the randomizer assigned languages to everyone, teej_dv celebrated getting PHP, the language most suited to this challenge.
The main time-consuming aspect of this challenge would be constructing the encoding and decoding side of things. However, teej_dv skipped this aspect as he directly wrote the code for the program to return the same value it passed.
This essentially meant that the streamer put in the desired result as the source value to get the result he wanted.
The contest was being held on Leetcode, an online coding practice software, which did not check for the presence of the decode encode algorithms, it only
Read more on sportskeeda.com