Alexander Obregon

Apr 12, 2024

18 stories

2 saves

Explore my 'Two Sum' problem walkthroughs for each LeetCode supported language—each with three solutions and detailed time/space complexity analysis. Access is free to anyone, and the code is ready to copy and paste for easy LeetCode submission.

Elixir solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Map, and One-Pass Map approaches with complexity analysis.
Erlang solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Map, and One-Pass Map approaches with complexity analysis.
Racket solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
Rust solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
Scala solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
Ruby solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
C solutions for the Two Sum problem featuring step-by-step Brute Force, Sorting and Two Pointers, and Optimized Pointer approaches with complexity analysis.
Go solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
Dart solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
Kotlin solutions for the Two Sum problem featuring step-by-step Brute Force, Sorting and Two Pointers, and Hash Map approaches with complexity analysis.
Swift solutions for the Two Sum problem featuring step-by-step Brute Force, Sorting and Two Pointers, and Dictionary approaches with complexity analysis.
PHP solutions for the Two Sum problem featuring step-by-step Brute Force, Sorting and Two Pointers, and Associative Array approaches with complexity analysis.
Typescript solutions for the Two Sum problem featuring step-by-step Brute Force, Sorting and Two Pointers, and Optimized Hash Map approaches with complexity analysis.
JavaScript solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
C# solutions for the Two Sum problem featuring step-by-step Brute Force, Sorting and Two Pointers, and Optimized Hash Map approaches with complexity analysis.
Python solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
C++ solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
Java solutions for the Two Sum problem featuring step-by-step Brute Force, Two-Pass Hash Table, and One-Pass Hash Table approaches with complexity analysis.
Alexander Obregon

Alexander Obregon

Friend of Medium

Software Engineer, fervent coder & writer. Devoted to learning & assisting others. Connect on LinkedIn: https://www.linkedin.com/in/alexander-obregon-97849b229/