TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

I can write programs but can't solve problems. What is going on?

3 点作者 ExtremisAndy超过 5 年前
Here&#x27;s the deal: I&#x27;ve been programming off and on for most of my life (currently in my 40s). While I&#x27;ve created a few basic web sites for money, it has mainly been a hobby for me, and one I greatly enjoy. I&#x27;ve written simple 2D video games (C++), simple chatbots (Python), quiz-generating systems(JS-PHP-MySQL), etc., so I&#x27;m not totally clueless about this stuff. However, there seems to be a very real, and quite frankly disappointing <i>limit</i> to what my brain is able to do. For example, I have recently joined HackerRank, and have been working on several of the problems. I don&#x27;t know what it is, but for some reason even some of the problems marked <i>easy</i> are incredibly hard for me to figure out. While I&#x27;ve successfully answered the majority of the problems I&#x27;ve attempted there, there are some that, based on the number of successful submissions and the rank of <i>easy</i> MUST be simple and yet I&#x27;ve spent sometimes 2 hours on those and cannot produce a program that passes all the tests. That&#x27;s very discouraging because I want to become a better programmer but I feel I may have reached the limit of what my brain can do. Has anyone experienced anything like this? If so, were you able to figure it out and improve your problem-solving skill set? Thanks for any advice you could offer!

3 条评论

petee超过 5 年前
Perhaps try to categorize the types of problems that are giving you trouble and really narrow down the core concepts that are the issue; you either might have never learned the appropriate prerequisites, or simply just learned it from a different angle, if you will.<p>That said, some peoples brains are just wired differently. You might find other difficult things easy, that others who completed the easy ones struggle on.
iron0013超过 5 年前
Read either CTCI or Elements of Programming Interviews. The key is knowing that the problems you’ll be presented with aren’t as novel or random as they might seem. The same general topics and problem classes come up over and over, and once you can recognize them you can learn to solve them. It’s really hard, but it’s a matter of effort, not intellect (or at least not solely intellect).
dossy超过 5 年前
Many programming puzzles are simply formulations of classic problems that have well-understood solutions, which students in any Computer Science degree program are taught.<p>I&#x27;m guessing you do not have a CS degree?<p>I don&#x27;t think you need to get a CS degree, but you should get a bunch of syllabi from various CS programs, and get all of the material and study it.
评论 #22275967 未加载