Red-Green-Code

Deliberate practice techniques for software developers

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

Quora: Learning from Test Cases

By Duncan Smith Leave a Comment Mar 11 0

Red-Green-Code Quora 2020

Although it’s unwise to abuse the Submit button, sometimes a few submissions is what it takes to get the most out of a problem.

Is it okay to submit multiple times and look at the test cases that you’ve failed when practicing competitive programming? (answer)

I’m doing most of my writing on Quora this year. For more information, see A Project for 2020.

Quora: The Perpetual Coding Interview Complaint

By Duncan Smith Leave a Comment Mar 4 0

Red-Green-Code Quora 2020

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 for 2020.

Quora: How to Use Solutions

By Duncan Smith Leave a Comment Feb 26 0

Red-Green-Code Quora 2020

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 for 2020.

Quora: Solving Problems Quickly

By Duncan Smith Leave a Comment Feb 19 0

Red-Green-Code Quora 2020

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 A Project for 2020.

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

By Duncan Smith Leave a Comment Feb 12 0

Red-Green-Code Quora 2020

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, see A Project for 2020.

Quora: Finding Your Next Practice Problem

By Duncan Smith Leave a Comment Feb 5 0

Red-Green-Code Quora 2020

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 A Project for 2020.

Quora: Java vs. C++ in Competitive Programming

By Duncan Smith Leave a Comment Jan 29 0

Red-Green-Code Quora 2020

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 on Quora this year. For more information, see A Project for 2020.

Quora: Do Companies Want Competitive Programmers?

By Duncan Smith Leave a Comment Jan 22 0

Red-Green-Code Quora 2020

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 more information, see A Project for 2020.

Quora: Memorizing the Answers

By Duncan Smith Leave a Comment Jan 15 0

Red-Green-Code Quora 2020

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? (answer)

I’m doing most of my writing on Quora this year. For more information, see A Project for 2020.

Quora: Optimizing Competitive Programming Solutions

By Duncan Smith Leave a Comment Jan 8 0

Red-Green-Code Quora 2020

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 enough but I am having serious difficulties in optimizations. I wonder how people in Online Judges think so creatively. (answer)

I’m doing most of my writing on Quora this year. For more information, see A Project for 2020.

  • « Previous Page
  • 1
  • …
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • Next Page »

Stay in the Know

I'm trying out the latest learning techniques on software development concepts, and writing about what works best. Sound interesting? Subscribe to my free newsletter to keep up to date. Learn More
Unsubscribing is easy, and I'll keep your email address private.

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