Solving Add Two Numbers in Python
Learn how to add two numbers represented as linked lists efficiently using Python.
Learn how to add two numbers represented as linked lists efficiently using Python.
Learn how to create a deep copy of a linked list where each node contains an additional random pointer using hash map and space-optimized interweaving approa...
Learn how to remove the n-th node from the end of a singly-linked list using the two-pointer approach in C#.
Learn how to reorder a singly-linked list in-place using the slow/fast pointer technique, list reversal, and alternate merging in C#.
Learn how to find the median of two sorted arrays using both an intuitive merging approach and the optimal O(log(N+M)) binary search approach in C#.
Learn how to detect a cycle in a linked list using Floyd’s Cycle-Finding Algorithm (Tortoise and Hare) in C#.
Discover how to merge two sorted linked lists into a single sorted list using an iterative approach with a sentinel node in C#.
Learn how to reverse a singly-linked list using both iterative and recursive (NeetCode) approaches in C#.
Learn how to build a time-based key-value store using a dictionary and binary search in C#.
Learn how to search for a target value in a rotated sorted array efficiently using binary search in C#.
Learn how to efficiently find the minimum element in a rotated sorted array using a modified binary search approach in C#.
Learn how to find the minimum eating speed for Koko using a Binary Search on Answer strategy in C#.
Explore multiple ways to search for a target value in a sorted 2D matrix, including the virtual 1D array and staircase search approaches.
Learn how to find a target value in a sorted array using a Binary Search approach in C#.
Learn how to compute trapped rain water efficiently using a left-max array and a reverse sweep in C#.
Learn how to find the largest rectangular area in a histogram by using either a centered-expansion strategy or an optimized monotonic stack approach in C#.
Learn how to find the maximum amount of water a container can store using an efficient two-pointer approach in C#.
Learn how to find all unique triplets in an array that add up to zero using sorting and a two-pointer approach in C#.
Learn how to find two numbers that add up to a specific target in a sorted array using a two-pointer approach within an iterative loop in C#.
Learn how to determine if a string is a palindrome by considering only alphanumeric characters and ignoring cases using a two-pointer approach in C#.
Learn how to determine the number of car fleets that will reach the target using a stack-based approach in C#.
Learn how to find the number of days until a warmer temperature using a Monotonic Stack in C#.
Learn how to evaluate arithmetic expressions in Reverse Polish Notation (RPN) efficiently using a Stack in C#.
Learn how to validate a 9x9 Sudoku board efficiently by checking rows, columns, and sub-boxes using HashSets.
Learn how to validate a string of parentheses efficiently by using a Stack and Dictionary to ensure every bracket matches correctly.
Learn how to design a stack that supports push, pop, top, and retrieving the minimum element in constant time using a single stack with Tuples.
Learn how to find the length of the longest consecutive sequence in an unsorted array in O(n) time using HashSets.
Learn how to calculate the product of all elements except the current one in O(N) time and O(1) extra space without using the division operator.
Learn how to encode and decode a list of strings in C# using both a unique separator and the robust length-prefix approach.
Learn how to find the most frequent elements in an array efficiently using a Dictionary and a Min-Heap (PriorityQueue) in .NET.
Learn how to efficiently group anagrams from a list of strings using sorting and dictionaries in .NET 10.
Learn how to solve the classic Two Sum LeetCode problem efficiently using a Dictionary for O(n) performance in .NET 10.
Learn how to add two numbers represented as linked lists efficiently using Python.
Learn how to create a deep copy of a linked list where each node contains an additional random pointer using hash map and space-optimized interweaving approa...
Learn how to remove the n-th node from the end of a singly-linked list using the two-pointer approach in C#.
Learn how to reorder a singly-linked list in-place using the slow/fast pointer technique, list reversal, and alternate merging in C#.
Learn how to find the median of two sorted arrays using both an intuitive merging approach and the optimal O(log(N+M)) binary search approach in C#.
Learn how to detect a cycle in a linked list using Floyd’s Cycle-Finding Algorithm (Tortoise and Hare) in C#.
Discover how to merge two sorted linked lists into a single sorted list using an iterative approach with a sentinel node in C#.
Learn how to reverse a singly-linked list using both iterative and recursive (NeetCode) approaches in C#.
Learn how to build a time-based key-value store using a dictionary and binary search in C#.
Learn how to search for a target value in a rotated sorted array efficiently using binary search in C#.
Learn how to efficiently find the minimum element in a rotated sorted array using a modified binary search approach in C#.
Learn how to find the minimum eating speed for Koko using a Binary Search on Answer strategy in C#.
Explore multiple ways to search for a target value in a sorted 2D matrix, including the virtual 1D array and staircase search approaches.
Learn how to find a target value in a sorted array using a Binary Search approach in C#.
Learn how to compute trapped rain water efficiently using a left-max array and a reverse sweep in C#.
Learn how to find the largest rectangular area in a histogram by using either a centered-expansion strategy or an optimized monotonic stack approach in C#.
Learn how to find the maximum amount of water a container can store using an efficient two-pointer approach in C#.
Learn how to find all unique triplets in an array that add up to zero using sorting and a two-pointer approach in C#.
Learn how to find two numbers that add up to a specific target in a sorted array using a two-pointer approach within an iterative loop in C#.
Learn how to determine if a string is a palindrome by considering only alphanumeric characters and ignoring cases using a two-pointer approach in C#.
Learn how to determine the number of car fleets that will reach the target using a stack-based approach in C#.
Learn how to find the number of days until a warmer temperature using a Monotonic Stack in C#.
Learn how to evaluate arithmetic expressions in Reverse Polish Notation (RPN) efficiently using a Stack in C#.
Learn how to validate a 9x9 Sudoku board efficiently by checking rows, columns, and sub-boxes using HashSets.
Learn how to validate a string of parentheses efficiently by using a Stack and Dictionary to ensure every bracket matches correctly.
Learn how to design a stack that supports push, pop, top, and retrieving the minimum element in constant time using a single stack with Tuples.
Learn how to find the length of the longest consecutive sequence in an unsorted array in O(n) time using HashSets.
Learn how to calculate the product of all elements except the current one in O(N) time and O(1) extra space without using the division operator.
Learn how to encode and decode a list of strings in C# using both a unique separator and the robust length-prefix approach.
Learn how to find the most frequent elements in an array efficiently using a Dictionary and a Min-Heap (PriorityQueue) in .NET.
Learn how to efficiently group anagrams from a list of strings using sorting and dictionaries in .NET 10.
Learn how to solve the classic Two Sum LeetCode problem efficiently using a Dictionary for O(n) performance in .NET 10.
This is a beginner tutorial for GitHub Actions. We start from zero and build a small workflow that tests a .NET project every time you push code. I use short...
I recently set up a full CI/CD pipeline for my PersonalFinance project with help from Claude Code. It works well, but a pipeline you can’t explain is a pipel...
Learn how to build a safe, production-grade user impersonation mechanism in ASP.NET Core MVC (.NET 10) to streamline QA and local development for Windows Aut...
Design patterns often feel intimidating when buried under enterprise boilerplate or third-party libraries. However, the Decorator Pattern is simple, elegant,...
When starting a new project or onboarding team members, setting up the same repetitive multi-project architecture by hand (creating a modern solution file, a...
Dropdown lists are a staple of web forms. Learn how to effectively use SelectList and MultiSelectList in ASP.NET Core MVC to create dynamic, data-driven sele...
Master the art of integrating JavaScript into your ASP.NET Core MVC projects. From script placement to AJAX calls with Antiforgery tokens, learn everything y...
Learn how to implement seamless asynchronous updates in your MVC applications. This guide provides a full, working example of the Fetch API interacting with ...
Explore the power of Tag Helpers in ASP.NET Core MVC .NET 10. Learn how they simplify your Razor views with clean, HTML-friendly syntax and discover the most...
Revisit the SOLID principles with practical C# examples. Learn how to apply these foundational patterns to build maintainable and flexible .NET systems.
Learn how to build resilient .NET applications using Polly. Explore strategies like Retries, Circuit Breakers, and Timeouts to handle transient failures grac...
Learn how to optimize memory usage and reduce garbage collection overhead using Span and Memory for high-performance .NET applications.
Level up your testing strategy. Explore Test-Driven Development (TDD), efficient mocking with NSubstitute, and high-confidence integration testing with WebAp...
Learn how to build and orchestrate custom middleware to handle cross-cutting concerns like logging, exception handling, and security in your .NET applications.
Explore the core concepts of Domain-Driven Design (DDD). Learn how to use Aggregates, Entities, and Value Objects to align your code with complex business re...
A deep dive into Dependency Injection in .NET. Learn about service lifecycles, the ‘Captive Dependency’ problem, and how to use the new Keyed Services in .NE...
Discover the principles of Clean Architecture. Learn how to separate business logic from technical details to create maintainable, testable, and scalable .NE...
Stop guessing which code is faster. Learn how to use BenchmarkDotNet to get scientific, reproducible performance metrics for your .NET applications.
Explore how Records and Pattern Matching can simplify your code, improve readability, and ensure data integrity in modern .NET applications.
Master advanced async patterns in .NET, including ValueTask for performance, IAsyncEnumerable for streaming, and the critical importance of CancellationToken.
Ready to move beyond CRUD apps? Explore the advanced C# features and architectural patterns you need to master to build robust, scalable, and high-performanc...
A comprehensive guide on creating a full-stack Todo list application using ReactJS for the frontend and ASP.NET Core .NET 10 for the backend, featuring both ...
Building modern, distributed applications can be complex. Between managing multiple services, setting up databases, and ensuring your logs and metrics are al...
Welcome! In this post, we’re going to dive into the world of OAuth 2.0 and OpenID Connect (OIDC) and learn how to use them to secure your .NET 10 Web APIs.
Today, we’re going to build a production-ready Identity Provider using Duende IdentityServer.
A deep dive into the standard .NET Dockerfile structure, explaining multi-stage builds and how each step contributes to a lean production image.
Welcome to Part 10 of our .NET Interview Series! Today, we’re diving into the world of Test-Driven Development (TDD) and Unit Testing. In modern software eng...
In this final part I add the two privacy features every app holding personal data should have: “download my data” and “delete my account”. They sound like a ...
For about a month, from late September to late October 2026, I built a Personal Finance app from an empty solution to a deployed, multi-service .NET 10 appli...
Most of this app was written with AI coding agents at the keyboard and me in the reviewer’s chair. This post is about how that worked: the files the agents r...
This part is about the safety net under the Personal Finance app: the tests, linters, analyzers and CI jobs that have to pass before anything reaches Azure. ...
The app is two services: a Web front end that users sign in to, and an ApiService behind it that owns the data. This part covers how I added roles and an adm...
Until this point, every budget number in the app came from a Google Sheet that I sync from Google Drive (see Part 2). That works for me, but not for anyone w...
This part is about architecture, and about changing my mind. In four days the app went from “controllers talk to the database” to CQRS with MediatR, then to ...
In this part I add an AI assistant to the app: a small chat bubble in the corner that answers questions about your budget, savings goals and net worth. The f...
This part covers the feature I use most in my own app: a Net Worth projection page that answers “if I keep saving like this, when am I financially independen...
This is the part where the app left my laptop. I packaged both services as Docker images, described the entire Azure environment in Bicep, and wrote a GitHub...
By the end of Part 3 the app had two processes: PersonalFinance.Web (the MVC front end) and PersonalFinance.ApiService (the REST API it calls). Running them,...
A personal finance app is useless if anyone can read anyone else’s budget, so after the first features worked I turned to accounts. This part covers how I se...
In Part 1 the app learned to list the files in a Google Drive folder. That’s not very useful on its own. This part is about reading those files: downloading ...
Every project starts with an empty folder and a lot of decisions. On September 20, 2026, I went from that empty folder to a working multi-project .NET 10 sol...
Explore how Records and Pattern Matching can simplify your code, improve readability, and ensure data integrity in modern .NET applications.
Master advanced async patterns in .NET, including ValueTask for performance, IAsyncEnumerable for streaming, and the critical importance of CancellationToken.
Ready to move beyond CRUD apps? Explore the advanced C# features and architectural patterns you need to master to build robust, scalable, and high-performanc...
Learn how to use SemaphoreSlim to throttle parallel asynchronous operations in C# .NET 10, preventing resource exhaustion and improving application stability.
Learn how to control your API usage and stay within the Google Geocoding free tier using SemaphoreSlim in C# .NET 10.
Welcome! In this post, we’re going to dive into the world of OAuth 2.0 and OpenID Connect (OIDC) and learn how to use them to secure your .NET 10 Web APIs.
Today, we’re going to build a production-ready Identity Provider using Duende IdentityServer.
A comprehensive guide to understanding and implementing generics in C#, covering best practices, constraints, variance, and advanced performance techniques.
Welcome to Part 10 of our .NET Interview Series! Today, we’re diving into the world of Test-Driven Development (TDD) and Unit Testing. In modern software eng...
Learn how to use SemaphoreSlim to throttle parallel asynchronous operations in C# .NET 10, preventing resource exhaustion and improving application stability.
Learn how to use Rotativa.AspNetCore to generate PDF files in .NET 10 for both traditional MVC applications and modern Blazor apps.
Beyond Rotativa: Explore modern, high-performance alternatives for generating PDFs in Blazor, including QuestPDF, PuppeteerSharp, and the built-in HtmlRender...
Learn how to perform common I/O tasks in .NET 10 with high performance and modern C# syntax. From simple file reading to advanced stream handling.
From basic patterns to high-performance Source Generators, learn how to master Regex in .NET 10 with this comprehensive study guide.
A comprehensive guide to understanding and implementing generics in C#, covering best practices, constraints, variance, and advanced performance techniques.
When starting a new project or onboarding team members, setting up the same repetitive multi-project architecture by hand (creating a modern solution file, a...
Revisit the SOLID principles with practical C# examples. Learn how to apply these foundational patterns to build maintainable and flexible .NET systems.
Learn how to build resilient .NET applications using Polly. Explore strategies like Retries, Circuit Breakers, and Timeouts to handle transient failures grac...
Explore the core concepts of Domain-Driven Design (DDD). Learn how to use Aggregates, Entities, and Value Objects to align your code with complex business re...
Discover the principles of Clean Architecture. Learn how to separate business logic from technical details to create maintainable, testable, and scalable .NE...
Ready to move beyond CRUD apps? Explore the advanced C# features and architectural patterns you need to master to build robust, scalable, and high-performanc...
Learn how to build a safe, production-grade user impersonation mechanism in ASP.NET Core MVC (.NET 10) to streamline QA and local development for Windows Aut...
Design patterns often feel intimidating when buried under enterprise boilerplate or third-party libraries. However, the Decorator Pattern is simple, elegant,...
Dropdown lists are a staple of web forms. Learn how to effectively use SelectList and MultiSelectList in ASP.NET Core MVC to create dynamic, data-driven sele...
Master the art of integrating JavaScript into your ASP.NET Core MVC projects. From script placement to AJAX calls with Antiforgery tokens, learn everything y...
Learn how to implement seamless asynchronous updates in your MVC applications. This guide provides a full, working example of the Fetch API interacting with ...
Explore the power of Tag Helpers in ASP.NET Core MVC .NET 10. Learn how they simplify your Razor views with clean, HTML-friendly syntax and discover the most...
Learn how to use Rotativa.AspNetCore to generate PDF files in .NET 10 for both traditional MVC applications and modern Blazor apps.
Beyond Rotativa: Explore modern, high-performance alternatives for generating PDFs in Blazor, including QuestPDF, PuppeteerSharp, and the built-in HtmlRender...
Learn how to perform common I/O tasks in .NET 10 with high performance and modern C# syntax. From simple file reading to advanced stream handling.
From basic patterns to high-performance Source Generators, learn how to master Regex in .NET 10 with this comprehensive study guide.
This is a beginner tutorial for GitHub Actions. We start from zero and build a small workflow that tests a .NET project every time you push code. I use short...
I recently set up a full CI/CD pipeline for my PersonalFinance project with help from Claude Code. It works well, but a pipeline you can’t explain is a pipel...
A professional guide to using Kusto Query Language (KQL) to explore, analyze, and visualize your Application Insights data.
Learn the basics of Dockerfiles, how they work, and how to create your first container image from scratch.
A deep dive into the standard .NET Dockerfile structure, explaining multi-stage builds and how each step contributes to a lean production image.
Learn the basics of Dockerfiles, how they work, and how to create your first container image from scratch.
I recently set up a full CI/CD pipeline for my PersonalFinance project with help from Claude Code. It works well, but a pipeline you can’t explain is a pipel...
A professional guide to using Kusto Query Language (KQL) to explore, analyze, and visualize your Application Insights data.
Learn how to optimize memory usage and reduce garbage collection overhead using Span and Memory for high-performance .NET applications.
Stop guessing which code is faster. Learn how to use BenchmarkDotNet to get scientific, reproducible performance metrics for your .NET applications.
1. What is FHIR? (The “Explain Like I’m 5” Version)
1. What is FHIR? (The “Explain Like I’m 5” Version)
Building modern, distributed applications can be complex. Between managing multiple services, setting up databases, and ensuring your logs and metrics are al...
Learn how to control your API usage and stay within the Google Geocoding free tier using SemaphoreSlim in C# .NET 10.
A comprehensive guide on creating a full-stack Todo list application using ReactJS for the frontend and ASP.NET Core .NET 10 for the backend, featuring both ...
A comprehensive guide on creating a full-stack Todo list application using ReactJS for the frontend and ASP.NET Core .NET 10 for the backend, featuring both ...
Learn how to build and orchestrate custom middleware to handle cross-cutting concerns like logging, exception handling, and security in your .NET applications.
Level up your testing strategy. Explore Test-Driven Development (TDD), efficient mocking with NSubstitute, and high-confidence integration testing with WebAp...
When starting a new project or onboarding team members, setting up the same repetitive multi-project architecture by hand (creating a modern solution file, a...
Design patterns often feel intimidating when buried under enterprise boilerplate or third-party libraries. However, the Decorator Pattern is simple, elegant,...