# LeetCode

LeetCode is an online coding platform with programming questions, an integrated code editor, debugging and testing tools, and an online judging system.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Ryan Williams Explains the 3SUM Problem and Its O(n²) Solution

DevFeed: [Ryan Williams Explains the 3SUM Problem and Its O(n²) Solution](<https://devfeed.tech/articles/mit-complexity-theorist-why-you-can-do-better-than-optimal-on-leetcode-sat-ryan-williams-18094.md>)

Original publisher: [Read original article](<https://www.developing.dev/p/mit-complexity-theorist-on-leetcode>)

Author: Ryan Peterman

Published: 2026-06-29T10:02:33Z

Content type: article

Language: en

Sources: [The Developing Dev](<https://devfeed.tech/sources/the-developing-dev.md>)

Topics: [LeetCode](<https://devfeed.tech/topics/leetcode.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Computer science](<https://devfeed.tech/topics/computer-science.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [apple](<https://devfeed.tech/tags/apple.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [go](<https://devfeed.tech/tags/go.md>), [youtube](<https://devfeed.tech/tags/youtube.md>)

### AI overview

An interview with MIT professor Ryan Williams begins with the LeetCode 3SUM problem. It explains the brute-force O(n³) approach and an O(n²) method that sorts the numbers and uses two moving pointers to search for a solution.

### Source excerpt

Ryan Williams is a professor at MIT and the winner of the Gödel Prize in theoretical computer science.

## Launching comprehensive resources to master coding interviews

DevFeed: [Launching comprehensive resources to master coding interviews](<https://devfeed.tech/articles/launching-comprehensive-resources-to-master-coding-interviews-33573.md>)

Original publisher: [Read original article](<https://blog.algomaster.io/p/launching-comprehensive-resources>)

Author: Ashish Pratap Singh

Published: 2026-04-05T13:30:09Z

Content type: release

Language: en

Sources: [AlgoMaster Newsletter](<https://devfeed.tech/sources/algomaster-newsletter.md>)

Topics: [coding](<https://devfeed.tech/topics/coding.md>), [LeetCode](<https://devfeed.tech/topics/leetcode.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [coding](<https://devfeed.tech/tags/coding.md>), [courses](<https://devfeed.tech/tags/courses.md>), [dsa](<https://devfeed.tech/tags/dsa.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [launch](<https://devfeed.tech/tags/launch.md>), [python](<https://devfeed.tech/tags/python.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

AlgoMaster launches a collection of resources for data structures and algorithms study and coding interview preparation, including a problem list, course, company-specific practice, animations, an AI-powered coding interview simulator, and an in-platform code editor and evaluation feature.

### Source excerpt

I'm excited to launch a comprehensive set of resources on algomaster.io to help you master DSA and prepare for coding interviews:

## I Failed to Implement the Diameter of a Binary Tree in a Coding Interview

DevFeed: [I Failed to Implement the Diameter of a Binary Tree in a Coding Interview](<https://devfeed.tech/articles/i-failed-to-implement-the-diameter-of-a-binary-tree-in-a-coding-interview-20517.md>)

Original publisher: [Read original article](<https://code.dblock.org/2025/06/21/i-failed-to-implement-the-diameter-of-a-binary-tree-in-a-coding-interview.html>)

Author: Daniel Doubrovkine (dblock@dblock.org)

Published: 2025-06-21T01:00:00Z

Content type: opinion

Language: en

Sources: [Daniel Doubrovkine](<https://devfeed.tech/sources/daniel-doubrovkine.md>)

Topics: [LeetCode](<https://devfeed.tech/topics/leetcode.md>), [coding](<https://devfeed.tech/topics/coding.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [advice](<https://devfeed.tech/tags/advice.md>), [ai](<https://devfeed.tech/tags/ai.md>), [coding](<https://devfeed.tech/tags/coding.md>), [interview](<https://devfeed.tech/tags/interview.md>), [interviewing](<https://devfeed.tech/tags/interviewing.md>), [junior](<https://devfeed.tech/tags/junior.md>), [principal-engineer](<https://devfeed.tech/tags/principal-engineer.md>)

### AI overview

A Principal Engineer recounts freezing during a basic coding interview despite decades of programming experience. The article offers advice for recovering from interview failure, including maintaining perspective, practicing, and recognizing the role of luck in LeetCode-style interviews.

### Source excerpt

Six months ago I failed a basic coding interview at a FAANG. Yes, I was a Principal Engineer, and yes, I was paid absurd amounts of money, yet I couldn't implement a diameter of a binary tree as a "warm up" exercise, 10 lines of code. The interviewer was very nice about it, and was equally surprised. You see, I've been coding for 35 years, and I am not "rusty" at it, which is a typical excuse for senior ICs bombing LeetCode interviews. At that time I was writing code every day. I simply froze, and couldn't do it. All I could think of was "why the hell am I here doing this to myself?". I couldn't turn my brain around, apologized, cut the interview short, and, while I did ace several coding interviews at other companies for IC roles, went back to management for which I am, obviously, more qualified. Did you just bomb a coding interview? Here's some practical advice of how to deal with it. First, keep your head high and do not let this negative experience get to you. It feels awful, but unless you are blogging about your failure to implement the diameter of a binary tree, nobody other than you and the interviewer will ever know. Most likely the interviewer was also a half asleep drone deep inside the borg, administering a coding puzzle every day to the next sucker, so they will forget about you the next day. I see a lot of junior Engineers affected by failing at these. If you are recently out of college, it's helpful to think of these interviews as a school test, such as an SAT. I never had to take SATs (my children did), but most European schools have oral exams where you get a ticket from a jar with the problem statement. I had slept through too many alarms to attend an 8 AM physics class around 1996 because of a grueling late night partying schedule, and only really knew maybe half the material. Luckily 2/3 questions in my ticket overlapped with those classes I did attend, and so I did well. If you don't like school and prefer video games, think of these interviews

## 10 Online Platforms for Practicing Python

DevFeed: [10 Online Platforms for Practicing Python](<https://devfeed.tech/articles/top-10-online-platforms-to-practice-python-every-dev-should-know-17874.md>)

Original publisher: [Read original article](<https://www.codemotion.com/magazine/backend/top-10-online-platforms-to-practice-python-every-dev-should-know/>)

Author: Lucilla Tomassi

Published: 2025-05-13T08:40:57Z

Content type: comparison

Language: en

Sources: [Backend Job: skill, salary and insights - Codemotion Magazine](<https://devfeed.tech/sources/backend-job-skill-salary-and-insights-codemotion-magazine.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [LeetCode](<https://devfeed.tech/topics/leetcode.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Repl.it](<https://devfeed.tech/topics/replit.md>), [HackerRank](<https://devfeed.tech/topics/hackerrank.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [algorithms-and-data-structures](<https://devfeed.tech/tags/algorithms-and-data-structures.md>), [backend](<https://devfeed.tech/tags/backend.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [learning](<https://devfeed.tech/tags/learning.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [replit](<https://devfeed.tech/tags/replit.md>)

### AI overview

This comparison introduces ten online platforms for practicing Python, considering their advantages and drawbacks for learners and experienced developers. The supplied text highlights Replit for browser-based coding and collaboration, and LeetCode for algorithm and data-structure challenges and interview preparation.

### Source excerpt

Learning and improving your Python skills is a never-ending journey. Whether you're a beginner taking your first steps into the world of programming or a senior developer looking to sharpen your expertise, practicing Python is essential for growing as a programmer. Luckily, in 2025, there are plenty of online platforms offering both basic exercises for... Read more The post Top 10 online platforms to practice Python every dev should know appeared first on Codemotion Magazine.

## Rethinking Technical Interviews for Virtual Hiring and AI-Assisted Candidates

DevFeed: [Rethinking Technical Interviews for Virtual Hiring and AI-Assisted Candidates](<https://devfeed.tech/articles/you-can-t-outrun-ai-in-tech-interviews-so-we-designed-around-it-26537.md>)

Original publisher: [Read original article](<https://annajmcdougall.medium.com/you-cant-outrun-ai-in-tech-interviews-so-we-designed-around-it-018ae0ac4ddd?source=rss-51f15275ef3a------2>)

Author: Anna J McDougall

Published: 2025-04-17T19:08:54Z

Content type: opinion

Language: en

Sources: [Anna J McDougall](<https://devfeed.tech/sources/anna-j-mcdougall.md>)

Topics: [Tech Careers](<https://devfeed.tech/topics/tech-careers.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [LeetCode](<https://devfeed.tech/topics/leetcode.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [careers](<https://devfeed.tech/tags/careers.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [engineering-management](<https://devfeed.tech/tags/engineering-management.md>), [interview](<https://devfeed.tech/tags/interview.md>), [interviewing](<https://devfeed.tech/tags/interviewing.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [technical-interview](<https://devfeed.tech/tags/technical-interview.md>), [technology](<https://devfeed.tech/tags/technology.md>)

### AI overview

This opinion article argues that virtual hiring and AI tools have exposed weaknesses in traditional technical interviews. It discusses limitations and equity concerns associated with algorithm assessments and take-home projects, and introduces the McDougall Method at HelloBetter as a proposed response.

### Source excerpt

Building the McDougall Method at HelloBetter: A Fairer, More Modern Approach to Technical Interviews As someone obsessed with tech careers, business growth, and engineering management, I am constantly coming up against the boogey-man of technical interviews. In many ways, tech companies are stuck in the thinking of 20-30 years ago: white boards, algorithms, logic puzzles, and tasks that rotated around an in-person interview space. We're in a new era, where 99% of engineering interviews are done virtually and the candidate's workspace is uncontrollable by the interviewing team. We need to adapt to this, not by simply porting previous methods across to an online platform, but by fundamentally rethinking the skills we expect 21st century software engineers to have. Naturally, opinions about what is wrong with technical interviews are prevalent both from employers and (potential) employees. For example, leetcode-style assessments have long been derided as being a bad test of abilities. "Instead," opponents argue, "you should use take-home tests or projects that the candidate can explain back to you". Ah, but you see, not everyone can afford to let their evenings and weekends disappear into these take-home tests or side projects. Due to this inconveniently linear construct called "time", more experienced engineers start having or caring for families, adopting pets, or (lord forbid) doing sports and hobbies. It's also no big secret that the majority of housework and care duties still tend to be shouldered by women. To put your best foot forward as a candidate, you will create the best possible solution, no matter how many hiring managers tell you to "only spend 2-3 hours on a solution". Therefore, take-home or "own project" technical interviews tend to put older candidates and women candidates at a disadvantage. One other problem popping up nowadays is the prevalence of AI tools for engineers to pass technical interviews, ranging from manually entering prompts into ChatGP

## Intuitive Proofs for Linked-List Loop Detection and Majority-Element Algorithms

DevFeed: [Intuitive Proofs for Linked-List Loop Detection and Majority-Element Algorithms](<https://devfeed.tech/articles/relatively-non-obvious-tricks-in-solving-simple-algorithmic-problems-38655.md>)

Original publisher: [Read original article](<https://krossovochkin.com/posts/2024_12_21_relatively_non_obvious_tricks_in_solving_simple_algorithmic_problems/>)

Published: 2024-12-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Vasya Drobushkov](<https://devfeed.tech/sources/vasya-drobushkov.md>)

Topics: [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [LeetCode](<https://devfeed.tech/topics/leetcode.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [array](<https://devfeed.tech/tags/array.md>), [code](<https://devfeed.tech/tags/code.md>), [collections](<https://devfeed.tech/tags/collections.md>), [counter](<https://devfeed.tech/tags/counter.md>), [examples](<https://devfeed.tech/tags/examples.md>), [memory](<https://devfeed.tech/tags/memory.md>), [pointers](<https://devfeed.tech/tags/pointers.md>), [solutions](<https://devfeed.tech/tags/solutions.md>), [time](<https://devfeed.tech/tags/time.md>)

### AI overview

This tutorial explains why concise solutions to seemingly easy algorithmic problems work. It uses linked-list loop detection with slow and fast pointers and majority-element detection with a counter, emphasizing intuitive proofs over implementation alone.

### Source excerpt

Blowing the dust off LeetCode once again, I found myself, as in the past, struggling with coding relatively simple algorithms. Just like with anything else, if you don't practice for years, you lose some of the hands-on experience. On the positive side, I noticed that for some problems, my new submissions were much better and more concise compared to my old ones. That's an awesome feeling--a tangible measure of growth. While tackling certain easy problems, I realized that "easy" usually just means "doesn't require much code." However, the idea behind the optimal solution might still not be very intuitive. Sure, one can use brute force or additional collections, but in most cases, this leads to either a "time limit exceeded" or an "out of memory" error.

## A Methodical Approach to Improving Coding Problem-Solving Skills

DevFeed: [A Methodical Approach to Improving Coding Problem-Solving Skills](<https://devfeed.tech/articles/improve-your-problem-solving-34901.md>)

Original publisher: [Read original article](<https://frontendfocus.substack.com/p/improve-your-problem-solving>)

Author: Mads Brodt

Published: 2023-12-14T16:15:00Z

Content type: tutorial

Language: en

Sources: [Front-End Focus](<https://devfeed.tech/sources/front-end-focus.md>)

Topics: [coding](<https://devfeed.tech/topics/coding.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [LeetCode](<https://devfeed.tech/topics/leetcode.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [learning](<https://devfeed.tech/tags/learning.md>)

### AI overview

The article argues that developers primarily solve problems rather than merely write code. It recommends breaking problems into smaller components, drafting a simple working solution, refining it, comparing it with others' solutions, and reinforcing the learning through practice on platforms such as Edabit and LeetCode.

### Source excerpt

Hey hey hey!

## Algorithm-focused technical interviews can overlook application development skills

DevFeed: [Algorithm-focused technical interviews can overlook application development skills](<https://devfeed.tech/articles/leetcode-style-algorithms-in-interviews-suck-cut-it-out-39062.md>)

Original publisher: [Read original article](<https://blog.devdetails.com/p/algorithms-in-interviews-suck-cut>)

Author: Mike

Published: 2023-07-08T20:12:06Z

Content type: opinion

Language: en

Sources: [Dev Details](<https://devfeed.tech/sources/dev-details.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Application Development](<https://devfeed.tech/topics/application-development.md>), [LeetCode](<https://devfeed.tech/topics/leetcode.md>), [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [interview](<https://devfeed.tech/tags/interview.md>), [interviews](<https://devfeed.tech/tags/interviews.md>), [order](<https://devfeed.tech/tags/order.md>), [technical-interview](<https://devfeed.tech/tags/technical-interview.md>), [time](<https://devfeed.tech/tags/time.md>)

### AI overview

This opinion article argues that LeetCode-style algorithm interviews can produce false signals because they assess algorithm problem solving and Big-O analysis while overlooking the broader skills needed for application development. It suggests that developing applications is the way to build those skills.

### Source excerpt

Interviews that focus on algorithms get false signals and overlook qualified candidates

## How to Prepare for Data Structures and Algorithms Job Interviews

DevFeed: [How to Prepare for Data Structures and Algorithms Job Interviews](<https://devfeed.tech/articles/on-interviewing-25668.md>)

Original publisher: [Read original article](<https://adambennett.dev/2021/11/on-interviewing/>)

Published: 2021-11-24T11:00:29Z

Content type: tutorial

Language: en

Sources: [Posts on Adam Bennett](<https://devfeed.tech/sources/posts-on-adam-bennett.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Computer science](<https://devfeed.tech/topics/computer-science.md>), [LeetCode](<https://devfeed.tech/topics/leetcode.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>)

Tags: [advice](<https://devfeed.tech/tags/advice.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [android](<https://devfeed.tech/tags/android.md>), [blog](<https://devfeed.tech/tags/blog.md>), [career](<https://devfeed.tech/tags/career.md>), [compose](<https://devfeed.tech/tags/compose.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [development](<https://devfeed.tech/tags/development.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [finance](<https://devfeed.tech/tags/finance.md>), [functional](<https://devfeed.tech/tags/functional.md>), [growth](<https://devfeed.tech/tags/growth.md>), [interviewing](<https://devfeed.tech/tags/interviewing.md>), [java](<https://devfeed.tech/tags/java.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jobs](<https://devfeed.tech/tags/jobs.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [money](<https://devfeed.tech/tags/money.md>), [notes](<https://devfeed.tech/tags/notes.md>), [opinions](<https://devfeed.tech/tags/opinions.md>), [remote](<https://devfeed.tech/tags/remote.md>), [retention](<https://devfeed.tech/tags/retention.md>), [shortage](<https://devfeed.tech/tags/shortage.md>), [software](<https://devfeed.tech/tags/software.md>), [startups](<https://devfeed.tech/tags/startups.md>), [thoughts](<https://devfeed.tech/tags/thoughts.md>), [training](<https://devfeed.tech/tags/training.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This article shares practical advice for preparing for software engineering interviews, especially Data Structures & Algorithms interviews. It recommends actively studying computer science fundamentals, algorithms, data structures and related strategies instead of solving random LeetCode questions without a structured study method.

### Source excerpt

In case you weren't already aware, the market right now for software engineers is super hot - it's crazy out there. A combination of the entire world moving online, people burning out of their jobs and a chronic shortage of experienced software engineers means there's never been a better time to see what's on offer. If you want fully remote, better pay and a title change, there are many companies out there willing to give it to you.