PROGRAMMING

How I Completely Destroyed This Challenge Using “One Line of Code”

Think Twice, Code Once — Solving “Game of Maximization” Problem like a Pro

Nishu Jain
Towards Data Science
5 min readNov 3, 2020

--

Source: Image by the author (quote from Linus Torvalds)

Recently I participated in a competition, held by HackerRank (HackerFest 2020), where I encountered a problem called “Game of Maximization”. And I solved it with only one line of code!

--

--

Obsessed with Tech & Biz; Building my SaaS startup; Does NOT dumb down the writing; Skilled Wordsmith; Delivers the best — https://links.nishu.io