For people who like to solve programming contest problems, what should one do if he is clueless and stuck on some problem?
-
Currently I am working my way through USACO gateway training (http://cerberus.delos.com:790/usacogate). I am about to finish section 2.3 with only 1 problem that I can't get out of my way :(. So steps would you take if you are in such situation? What sorts of questions would you ask you self or think about in order to walk your way through a solution?
-
Answer:
Think about it for a little longer, if you're still completely stuck, then ask someone who is more experienced than you for some hints. If you don't know anyone who could be of assistance, then you can ask on some forums, the topcoder forum is a good place to ask for hints. If you're still stuck after you receive the hints and spend more time thinking about the problem, then you can read the problem's solution. After you read the solution and understand it, you should implement it. Also, make sure that you save the problem's link somewhere so that you can later revisit it. This is a good way to ensure that you completely understood the idea behind it.
Mostafa Hany Gomaa at Quora Visit the source
Other answers
I don't know about you , But if you do sport programming because you like solving these programming puzzles just for the fun of it , My suggestion would be to think about a possible way to solve that problem for at most 1-2 hours every day and meanwhile move on to solving some other problem , Make this clear to yourself that whether you don't know what the problem statement asks or you don't know how to solve the problem that you understand well . For the first case it is always better to ask someone for clarification of problem statement ... After sometime return to the original problem and try to think for a possible solution, If you think you have some solution but still cannot express it , don't switch to any other question until you either prove that what you are thinking is wrong or you get a AC :) Give yourself some time to think for a solution don't hurry , sometimes it takes weeks to get the solution but when you get the solution on your own it will be a awesome experience and you will have a in depth knowledge about that subject .
Anonymous
Related Q & A:
- Do you know any web site for helping people who need a sponser to go abroad?Best solution by Yahoo! Answers
- What is the percentage of people who speak Japanese in the US?Best solution by Quora
- Do people who live in England who are disabled receive Disability income?Best solution by Yahoo! Answers
- What are the differences between people who have dyslexia, and people who have a hard time writing papers?Best solution by Yahoo! Answers
- Why are people who get their coffee from STARBUCKS usually better looking than those who go to DUNKIN DONUTS?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.