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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: AlgoDaily – One-a-day programming challenges for web developers

21 点作者 sciencewolf大约 6 年前

3 条评论

gatherhunterer大约 6 年前
The second question says &quot;Select the proper order&quot; but only lists single options, then when I clicked (thinking I was supposed to rearrange them) it just showed me the answer. From what I can tell it cannot be marked as correct or incorrect like the others. The use of the word &quot;select&quot; is confusing in that case.<p>While I realize these are toy problems, I would stay away from using &quot;==&quot; in an interview (or at all, unless you are contributing to a codebase that uses it). The reason is pretty clear from looking at the equality diagrams[1,2]. If you use &quot;==&quot; in an interview you should expect to be asked questions about how it works.<p>Will this evaluate to true? ( [1] == true )<p>How about this? ( [0] == true )<p>This one? ( [] == true )<p>This one? ( [[]] == true )<p>This one? ( undefined == null )<p>I would rather not spend my time in an interview talking about the JavaScript equality operator&#x27;s Bizzaro World counterpart.<p>1. === chart <a href="https:&#x2F;&#x2F;i.stack.imgur.com&#x2F;62vxI.png" rel="nofollow">https:&#x2F;&#x2F;i.stack.imgur.com&#x2F;62vxI.png</a><p>2. == chart <a href="https:&#x2F;&#x2F;i.stack.imgur.com&#x2F;35MpY.png" rel="nofollow">https:&#x2F;&#x2F;i.stack.imgur.com&#x2F;35MpY.png</a>
评论 #19417462 未加载
jazzyjazzy大约 6 年前
Nice site, a lot prettier than most coding problem sites. I&#x27;m also digging that JS is the language of choice! Some quick feedback:<p>- For the landing page, I&#x27;m not sure where my attention should be going. There&#x27;s the daily challenge, but do you want me to sign up? Or to go through the challenge? The scrolling navigation is a bit unintuitive, it made a lot more sense when I opened the full page.<p>- The code editor is decent but I had no idea how to run code. Cmd+Enter isn&#x27;t really a default shortcut anywhere for executing code (more so for line breaks).<p>Congrats on shipping!
评论 #19416336 未加载
hacym大约 6 年前
Code for today&#x27;s problem has an issue... uses &#x27;const&#x27; on something that it redeclares... Also couldn&#x27;t get my solution to run.
评论 #19430507 未加载