Zaremba was born in Kluczbork, Poland. At a young age, he won local competitions and awards in mathematics, computer science, chemistry and physics.[5] In 2007, Zaremba represented Poland in the International Mathematical Olympiad in Vietnam, and won a silver medal.[6]