Welcome to Code Golf, the ultimate challenge where less is more!
In this online event, participants are given a programming problem — but unlike traditional coding contests, the goal here is to solve it using the shortest possible code. The fewer characters you use, the higher you score!
You can code in any programming language of your choice — Python, C++, JavaScript — as long as your code works and is shorter than your competitors
Objective: Solve the given problem using the shortest working code (measured in number of characters).
Language: Any programming language is allowed.
Shortest correct code wins.
In case of a tie (same character count), the faster submission takes priority.
Solutions will be manually verified for correctness and output.
Code must be original — plagiarism or AI-generated code without mention will lead to disqualification.
Primary Criterion: Shortest correct code wins (minimum number of characters).
Ties: If multiple participants submit code of the same length:
The one who submitted earlier wins.
Submissions are automatically scored by HackerRank, but final character count will be manually verified by the organizing team (if required).
Invalid or incorrect output = 0 points, regardless of code length.