How to improve logical skills for programming?

Hitesh7799

Hitesh7799

@hitesh7799-NylUnf Oct 26, 2024
Sir plz tell.me how to improve logical skills.
Is there is any book for practice
I usually do online coding on sites like codechef,spoj.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Ankita Katdare

    Ankita Katdare

    @abrakadabra Jul 16, 2015

    My top three tips are:

    1. Start reading code. Find a code written by another developer.
    Try to understand why it was written that way and understand it completely. Once you have understood why it was written they way it is written, check to see if you could improve that logic.

    2. Find a problem statement for which you want to write the code. Create an algorithm and draw a flowchart for yourself before actually writing the code. As you progress, you can make changes to the flowchart so that whenever you encounter a similar problem again, you remember the kind of logic you've applied before.
    Flowcharts are essentially graphs/diagrams and therefore images which stick to memories.

    3. Practice, practice and practice.

    Lastly, you can take up courses in Formal Logic Theory on online education portals such as Coursera and Udemy.

    Tagging #-Link-Snipped-# #-Link-Snipped-# #-Link-Snipped-#
  • nINAD pARDHIYE

    nINAD pARDHIYE

    @ninad-pardhiye-MoFtnw Jul 17, 2015

    Ankita Katdare
    Practice, practice and practice.
    The simplest and most difficult tip.