Learn Python and Algorithm Using TopCoder - 1

Hong Sun
Hong Sun
Aug 8, 2017 · 2 min read

This post is for beginners in algorithm and people who know python basic syntax. I am a beginner also.

TopCoder hosts fortnightly online competitive programming competitions — kwon as SRMs or “single round matches” — as well as weekly competitions in graphic design and development. (wiki)

We will focus on SRM. Briefly put, we will solve past algorithm problems. And I will refer to a book. Just follow me with your computer.


Start TopCoder

  • Join topcode
  • Go to topcoder ARENA(you can solve problems in this page)
this page is ARENA and let’s go to practice problems
we can search problems in this page

We have done for diving the algorithm and python word.

Let’s practice first problem.

  • search “KiwiJuiceEasy” and click!

Topcoder presents a problem statement, definition, limits, constraints, and example. Then definition include a class name, a method name, a return type, and argument types.

In my case, first I read a problem and think think think. Second I check definition and then start coding. If the problem is ambiguous, I check examples.

Try to solve this problem! Next time I will show you my code(or book’s code) and python tips.


+ I am not a native english speaker. Therefore, my posts have error. :)
+ I love feedback

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade