Conquering the Climbing Stairs Challenge with Swift: A Dynamic Programming Approach

how to solve leetcode Climbing Stairs Problem in Swift

Hello, Swift enthusiasts and coding aficionados! Today, we’re diving into an exciting journey through the world of dynamic programming, as we tackle a popular problem from LeetCode: the “Climbing Stairs” challenge. This fun yet challenging problem is a fantastic opportunity to explore the principles of dynamic programming and how it can be elegantly applied in […]

Ace Your Next Interview: A Free Study Guide to Algorithms for iOS Developers

iOS algorithms in Swift and SwiftUI tutorial

Hallo nieuwe en oude jaren, Leo hier. Today we will talk about how to study algorithms for iOS Developers, without paying a penny. This year was fantastic. We learned a lot about various topics. I started to write about SwiftUI because I started to work with SwiftUI. I’m really enjoying this new UI framework and […]

Longest Substring Without Repeating Characters in Swift

Longest Substring Without Repeating Characters Example solved in Swift

Hallo vrienden en familie, Leo hier. Today we will solve an interesting algorithm called Longest Substring Without Repeating Characters in Swift. That algorithm is solved with a very common tactic on algorithmic challenges called the “Sliding Window” technique/pattern. But what is that? The sliding window pattern consists in create a range, with beginning and end, […]

Linked List Problem – Add Two Numbers in Swift

Leetcode linked list problem called Add Two Numbers in Swift example

Hallo dames en heren, Leo hier. Today we will explore the Leetcode linked list problem called Add Two Numbers in Swift. The problem involves we apply the adding operations to two linked lists. It is not a complex problem but you should know how to traverse a linked list to solve it. Keeping the actual […]

Two Sum Problem in Swift

How to solve the Two Sum Problem in Swift with hash map and dictionary and brute force

Hallo beren en zalmen, Leo hier. Today we will solve the very first Leetcode challenge called the Two Sum problem in Swift. This problem looks very simple at first. You just have to traverse the array with two loops and find what is asked. But that is the best approach? What if we could optimize the […]

Recreating C++ atoi Function in Swift

Recreating C++ atoi Function in Swift example

Hallo iedereen, Leo hier. Today’s topic is how to solve a Leetcode problem that asks to recreate the atoi function in Swift that C/C++ has. This article is inspired by a Leetcode problem number 8 that is Integer to String(atoi) and we will solve that using Swift. We also have something interesting about integers in […]

Algorithm: Binary Tree Right Side View in Swift

Binary Tree Right Side View problem solved image example

Hallo vrienden, Leo hier. The Leetcode problem we will solve today is called Binary Tree Right Side View. We will explore a binary tree problem. Binary tree problems usually are down to two main approaches, breadth-first search, and depth-first search, which are BFS and DFS respectively. In our case, we will use BFS, because it […]

Merge Sort a Classic Algorithm Series in Swift

Merge Sort a Classic Algorithm Series in Swift and iOS example

Hallo vrienden, alles goed? Leo hier. Today we will study a classic sorting algorithm called Merge Sort and how you can do it in Swift. Today we will study what is in my opinion one of the most classic sorting algorithms, the legendary merge sort. I remember learning this in college and I was amazed […]

Odd Even Linked List Problem in Swift

Odd Even Linked List Problem in Swift guide solved

Hallo vrienden, Leo Hier. The topic today is how to solve the Odd Even Linked List problem in Swift. Today we will explore a linked list problem. Linked lists are a very curious data structure because you can have a lot of variants of them. For example, you can have a Doubly linked or a […]

Reverse Linked List Using Recursion

Reverse Linked List Using Recursion example image

Hallo alle mensen, Leo hier. Today’s topic is how to reverse linked list using recursion and how to do that in our custom linked list data structure. Today we will continue to explore the solution to the legendary interview problem called: Reverse Linked List. We study previously the solution using an iterative technique, now let’s […]

Join our Newsletter!

From beginner-friendly tutorials to advanced coding techniques, the newsletter is designed to help you level up your skills and stay up-to-date with the latest trends in app development.