Solving LeetCode #1: Two Sum in Swift

In this video, we solve LeetCode #1: Two Sum using Swift.

We’ll start with a simple brute-force approach using nested loops, walk through the solution step by step, and discuss the time and space complexity. The goal is not just to solve the problem, but to understand the reasoning behind the solution and improve our problem-solving skills with Swift.

This video is part of my LeetCode in Swift series, where we’ll use LeetCode problems to learn and practice data structures, algorithms, and problem-solving techniques.

In partnership with
Fastlane alternative – CLI tools

Are you tired of Ruby and Fastlane installation issues? There's got to be a better way! Discover Codemagic open source CLI tools. It is not a drop-in replacement for all of what Fastlane does (screenshots for example), but we use it at Codemagic to build and publish iOS and Android apps, also versioning and device provisioning.

View on GitHub
© 2026 Mobile Signal. All rights reserved.
Made by
Stan
linkedin