Today me and the CEO of the company where I work were trying to solve a problem. It was a simple logical problem which was from a website. Though the problem was solved by him. I really like the approach which he used to solve the problem.
Then in the afternoon I sat to work on some problem sums from Hacker Rank. I realized that the problem sums there too have the samples (i.e. test cases) to give a better understanding of the problem.
In maths, this too may be applied. The approach which I am talking about is having three section:
This is basically to solve big or complex problem, because most of the time we don't get the clear idea about the problem. To reach to the solution, one should first dissect the big chunk of problem in a minute section, out of this section one should draw a sample i.e. for this input what would be the output. Say that the process through which we withdrawn the out is our hypothesis.
Thus from this assumed output and process we try to form the solution and check whether it really solves the problem, if it does then we solved it, if it doesn't then we for sure our hypothesis is wrong, take a break then revert back and come up with a new process.
This way one can surely solve a big problem without getting stuck.
Note: This post contains complete abstract theory. One can't get any help from this post unless he/she practically implement this and draws a conclusion him/her-self.
Then in the afternoon I sat to work on some problem sums from Hacker Rank. I realized that the problem sums there too have the samples (i.e. test cases) to give a better understanding of the problem.
In maths, this too may be applied. The approach which I am talking about is having three section:
- Problem
- Samples
- Solution
This is basically to solve big or complex problem, because most of the time we don't get the clear idea about the problem. To reach to the solution, one should first dissect the big chunk of problem in a minute section, out of this section one should draw a sample i.e. for this input what would be the output. Say that the process through which we withdrawn the out is our hypothesis.
Thus from this assumed output and process we try to form the solution and check whether it really solves the problem, if it does then we solved it, if it doesn't then we for sure our hypothesis is wrong, take a break then revert back and come up with a new process.
This way one can surely solve a big problem without getting stuck.
Note: This post contains complete abstract theory. One can't get any help from this post unless he/she practically implement this and draws a conclusion him/her-self.
No comments:
Post a Comment