Блог пользователя letsJustDoIt

Автор letsJustDoIt, история, 18 месяцев назад, По-английски

Hello everyone,

Context:

Regrading the books "Competetive Programing Handbook" in C++, do we have Python version of the same? I want to start reading about python to solve problems in CP.

What:

Do we have python version of this book (as the content of the book is very comprehensive) ?

Why:

I want to start code in python and solve the problems using python.

Any alternative suggestion on following any other resources ??

Thanks for suggesting any alternatives if you have any.

Kind regards.

  • Проголосовать: нравится
  • -6
  • Проголосовать: не нравится

»
18 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

The CodeChef tutorial is good

Although the Codeforces community believes that this is not beneficial, it is indeed a good option for beginners to get started.

»
18 месяцев назад, # |
  Проголосовать: нравится +6 Проголосовать: не нравится

I think even if there are any books like that written in python they won't be nearly as good (since all of the main ones are in c++). I would suggest still reading all of the resources in c++ and converting it (either in your head or actually writing it) into python as an exercise. Most of the handbook's code snippets read a lot like pseudocode and it even tells you how c++ syntax works at the beginning.

I really suggest being able to read other languages as a useful skill in general.

If you really can't bear reading the c++ in the handbook, for every algorithm it mentions you can try searching it up on GeeksForGeeks, as they have python translations for almost everything that is on the website.

»
18 месяцев назад, # |
  Проголосовать: нравится +17 Проголосовать: не нравится

This is like making soup in a teapot. You can but why, it just has way more drawbacks than benefits.

  • »
    »
    18 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Xellos Thanks for the reply, would you recommend any alternative sources for that, that would really help :) Thanks a lot :)

    • »
      »
      »
      18 месяцев назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      Try competitive programming handbook in C++, and learn to solve anything non-trivial in C++.