Red-Green-Code

Deliberate practice techniques for software developers

  • Home
  • About
  • Contact
  • Project 462
  • CP FAQ
  • Newsletter

Quora: The Perpetual Coding Interview Complaint

By Duncan Smith Leave a Comment Mar 4 0

Companies won’t stop doing it, but that doesn’t mean candidates have to like it. Why is it that many companies expect to find software engineers capable of solving real-world problems by throwing whiz-kid LeetCode style tests at them? (answer) I’m doing most of my writing on Quora this year. For more information, see A Project […]

Continue

Quora: How to Use Solutions

By Duncan Smith Leave a Comment Feb 26 0

It’s useful to practice problems that have solutions available, but you have to use them correctly: Should I just copy and submit the Codeforces solution from the editorial after trying hours to understand it even though I don’t? (answer) I’m doing most of my writing on Quora this year. For more information, see A Project […]

Continue

Quora: Solving Problems Quickly

By Duncan Smith Leave a Comment Feb 19 0

Standardized tests, programming contests, and coding interviews all rely on short time limits. So there isn’t time to figure problems out from scratch. What’s the alternative? How can the tops finish LeetCode weekly challenge that fast, usually under 20 minutes? (answer) I’m doing most of my writing on Quora this year. For more information, see […]

Continue

Quora: How Long Does it Take to Learn Interview-Style Coding?

By Duncan Smith Leave a Comment Feb 12 0

Mastering the craft of programming can take many years, but what about learning enough to pass an interview? How long had you been learning programming for until you were able to solve medium/hard problems on LeetCode? What about the easy ones? (answer) I’m doing most of my writing on Quora this year. For more information, […]

Continue

Quora: Finding Your Next Practice Problem

By Duncan Smith Leave a Comment Feb 5 0

There are so many competitive programming practice problems available online now that it can be hard to decide which one to work on next: How do you determine which problem is suitable for you at your level in competitive programming? (answer) I’m doing most of my writing on Quora this year. For more information, see […]

Continue

Quora: Java vs. C++ in Competitive Programming

By Duncan Smith Leave a Comment Jan 29 0

Two top competitive programmers who used to submit their solutions in Java have recently made the switch to C++. But how did they do so well with Java in the first place? How has Petr Mitrichev won so many competitive programming contests by using Java and not C++? (answer) I’m doing most of my writing […]

Continue

Quora: Do Companies Want Competitive Programmers?

By Duncan Smith Leave a Comment Jan 22 0

Companies aren’t looking for competitive programmers. But because of how interviews work, it can seem like they are. So Quora ends up with some odd questions: Do I need to be a competitive programmer to work at one of the top tech companies? (answer) I’m doing most of my writing on Quora this year. For […]

Continue

Quora: Memorizing the Answers

By Duncan Smith Leave a Comment Jan 15 0

A popular criticism of coding interviews is that candidates can cheat by looking up common questions and memorizing the answers. I don’t know if anyone has succeeded using that approach, but it doesn’t seem to me like it would work. Is it possible to memorise the tricks of algorithm questions to crack the Google interview? […]

Continue

Quora: Optimizing Competitive Programming Solutions

By Duncan Smith Leave a Comment Jan 8 0

Long ago, I wrote an article about Profiling Java Programs with VisualVM. It can be interesting to analyze code to find performance bottlenecks. But for competitive programming solutions, it’s usually a losing battle. If you choose the wrong algorithm, no amount of micro-optimization will help. What are ways to optimize programs? My algorithms are strong […]

Continue

A Project for 2020

By Duncan Smith Leave a Comment Jan 1 0

People often use the term competitive programming to refer to any activity (besides homework) where programmers create solutions to made-up puzzles rather than real-world problems. For example, consider this Quora question: Which is the best online judge for competitive programming, HackerRank, HackerEarth or LeetCode? As Bohdan Pryshchenko points out in his answer, these three sites […]

Continue
  • « Previous Page
  • 1
  • …
  • 21
  • 22
  • 23
  • 24
  • 25
  • …
  • 49
  • Next Page »

Getting Started

Are you new here? Check out my review posts for a tour of the archives:

  • 2023 in Review: 50 LeetCode Tips
  • 2022 in Review: Content Bots
  • 2021 in Review: Thoughts on Solving Programming Puzzles
  • Lessons from the 2020 LeetCode Monthly Challenges
  • 2019 in Review
  • Competitive Programming Frequently Asked Questions: 2018 In Review
  • What I Learned Working On Time Tortoise in 2017
  • 2016 in Review
  • 2015 in Review
  • 2015 Summer Review

Archives

Recent Posts

  • Do Coding Bots Mean the End of Coding Interviews? December 31, 2024
  • Another Project for 2024 May 8, 2024
  • Dynamic Programming Wrap-Up May 1, 2024
  • LeetCode 91: Decode Ways April 24, 2024
  • LeetCode 70: Climbing Stairs April 17, 2024
  • LeetCode 221: Maximal Square April 10, 2024
  • Using Dynamic Programming for Maximum Product Subarray April 3, 2024
  • LeetCode 62: Unique Paths March 27, 2024
  • LeetCode 416: Partition Equal Subset Sum March 20, 2024
  • LeetCode 1143: Longest Common Subsequence March 13, 2024
Red-Green-Code
  • Home
  • About
  • Contact
  • Project 462
  • CP FAQ
  • Newsletter
Copyright © 2025 Duncan Smith