Red-Green-Code

Deliberate practice techniques for software developers

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

LeetCode Tip 2: A Sample Problem

By Duncan Smith Leave a Comment Jan 18 0

To help make the upcoming tips less abstract, I’m going to start with a sample problem that I’ll refer to when needed: LeetCode problem 704, Binary Search. I chose binary search because it has a short implementation that uses only basic language features, but even experts have trouble getting it right.

Continue

LeetCode Tip 1: Why LeetCode?

By Duncan Smith Leave a Comment Jan 11 0

We’re going to be covering LeetCode tips in the coming year. But before we get to the tips, I’d like to discuss why I chose LeetCode as a study topic, so you can decide if this year’s project is right for you. I chose LeetCode because: It focuses on coding interviews: There are several reasons […]

Continue

A Project for 2023

By Duncan Smith Leave a Comment Jan 4 0

While working on my LeetCode project last year, I started a list of general practice notes. Not notes on specific problems, though those are essential, but notes on the LeetCode practice process in general. My plan for this year is to turn those into a short LeetCode practice tip each week.

Continue

2022 in Review: Content Bots

By Duncan Smith Leave a Comment Dec 28 0

Quora relies on machine learning. No surprise there. Any major service that accepts user-generated content needs more than human moderation to keep up with the influx of submissions. Algorithms help filter out bad content and promote good content (or at least content that increases user engagement). But this year seems to be an inflection point […]

Continue

Quora: How Can an Interviewer Effectively Evaluate Multiple Ways of Solving a Coding Problem?

By Duncan Smith Leave a Comment Dec 21 0

A good question for interviewers to think about: As a software engineering interviewer, how can you avoid getting into a mindset that your own method for solving a coding challenge is the best way to solve it, and reject any other implementation? (answer) See A Project for 2022 to find out what I’m working on […]

Continue

Quora: Is Stack Overflow Giving ChatGPT Too Much Attention?

By Duncan Smith Leave a Comment Dec 14 0

Everyone is talking about ChatGPT this week. Isn’t Stack Overflow advertising ChatGPT when it bans it and then makes numerous posts about why it banned it? (answer) See A Project for 2022 to find out what I’m working on this year.

Continue

Quora: Do Interviewers Look Up Solutions to the Coding Questions They Ask?

By Duncan Smith Leave a Comment Dec 7 0

This question is about preparing to conduct an interview, rather than preparing to be interviewed. Do software engineers in FAANG and similar tech companies who ask coding challenges in interviews sometimes look up the solution before they ask the questions in an interview? (answer) See A Project for 2022 to find out what I’m working […]

Continue

Quora: How Can One Become an Expert in Competitive Coding?

By Duncan Smith Leave a Comment Nov 30 0

Quora is moving away from the concept of a “canonical question,” in which similar questions are merged into one. So popular questions like this can one can now be asked and answered as often as we want and will be displayed together as “related questions.” How can one become an expert in competitive coding (like […]

Continue

Quora: Should I Start by Learning Algorithms, or Start by Solving Problems?

By Duncan Smith Leave a Comment Nov 23 0

Learn first, or practice first? Should I start learning DSA for CP or practice random topics first (My CF rating is only 800)? (answer) See A Project for 2022 to find out what I’m working on this year.

Continue

Quora: Is It True That LeetCode Questions With a Lot of Downvotes Are Not Worth Solving?

By Duncan Smith Leave a Comment Nov 16 0

Crowdsourcing LeetCode question quality. Is it true that LeetCode questions with a lot of downvotes are not worth solving? (answer) See A Project for 2022 to find out what I’m working on this year.

Continue
  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • …
  • 43
  • Next Page »

Getting Started

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

  • 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

  • LeetCode Tip 11: How To Use Spaced Repetition (Part 1) March 22, 2023
  • LeetCode Tip 10: Planning a Spaced Repetition Schedule March 15, 2023
  • Book Review – Algorithmic Thinking: A Problem-Based Introduction, Second Edition March 9, 2023
  • LeetCode Tip 9: Spaced Repetition March 8, 2023
  • LeetCode Tip 8: Anatomy of a Model Solution March 1, 2023
  • LeetCode Tip 7: How to Write a Model Solution February 22, 2023
  • LeetCode Tip 6: Model Solutions February 15, 2023
  • LeetCode Tip 5: Choosing a Model Problem February 8, 2023
  • LeetCode Tip 4: Model Problems February 1, 2023
  • LeetCode Tip 3: A Goal for LeetCode Practice January 25, 2023
Red-Green-Code
  • Home
  • About
  • Contact
  • Project 462
  • CP FAQ
  • Newsletter
Copyright © 2023 Duncan Smith