We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Not usually, I'll search web on syntax, or the specific methods that the code test emphasising if I'm unclear. Then I do a few passes to clean up successful code. But, I do like to look at conversations after I pass, to see how other people are solving it, and I might take a snippet or idea if I really like it and do another code cleaning pass. Overall, I try to make the code as readable as possible while keeping succint. I'm pretty experienced, but also trying to improve and learn new tricks as as I go. Don't be discouraged, just get it to work first, then try to understand how different people solve the problem, that way you can really expand your skills in different directions you didn't think about, and see how other, usually better ways (as you start out) there are to solve the problem. Sometimes, I'll look up syntax (usually using official python docs) on solutions in the discussions, if i'm unclear and impressed, just to really keep learning new ideas, even after the problem itself is solved. Don't be afraid to put a print to see your vars while you are coding, and if anything pops up that you are not 100% surlook it up until you know it!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
The Minion Game
You are viewing a single comment's thread. Return to all comments →
Not usually, I'll search web on syntax, or the specific methods that the code test emphasising if I'm unclear. Then I do a few passes to clean up successful code. But, I do like to look at conversations after I pass, to see how other people are solving it, and I might take a snippet or idea if I really like it and do another code cleaning pass. Overall, I try to make the code as readable as possible while keeping succint. I'm pretty experienced, but also trying to improve and learn new tricks as as I go. Don't be discouraged, just get it to work first, then try to understand how different people solve the problem, that way you can really expand your skills in different directions you didn't think about, and see how other, usually better ways (as you start out) there are to solve the problem. Sometimes, I'll look up syntax (usually using official python docs) on solutions in the discussions, if i'm unclear and impressed, just to really keep learning new ideas, even after the problem itself is solved. Don't be afraid to put a print to see your vars while you are coding, and if anything pops up that you are not 100% surlook it up until you know it!