In programming you give the computer instructions . But how do those instructions go ? Where do you start , tell me where you go from A to Z.

How do I make everything clear while or for writing a program ?

I don’t think i understand your question, but i think you are asking about logic building. So you take a question, understand what it’s asking, break the question down into simple questions or simplify the question. Then think of a bruteforce solution, look if it can pass the given constraints. If yes then implement it (that’s another thing, it can range from easy to tough). If not then think of any optimization or algorithm you learned which might give the correct answer for your constraints. That’s pretty much my workflow for any question. Hope it helps :smiley:

1 Like