# soapyigu/LeetCode-Swift

Solutions to LeetCode by Swift

Repository: https://github.com/soapyigu/LeetCode-Swift
Canonical: https://ross.abutalabs.com/products/leetcode-swift
Language: Swift
License: MIT
License Family: permissive
Topics: leetcode, swift, algorithm, data-structures, interview
Last push: 2024-05-18T11:02:25+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3807, "days_push": 837, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4962, forks 895 (observed 2026-08-28T04:09:03.902889+00:00)

## What it is
A collection of 400+ Swift solutions to LeetCode algorithm and data structure problems, organized by topic and company. It serves as a study reference for coding interviews, with complexity annotations for each solution.

## Use cases
- prepare for coding interviews with Swift
- study algorithm solutions in Swift
- learn data structures like linked lists and trees
- practice LeetCode problems by company
- review dynamic programming and graph problems

## When to choose
- you interview for iOS/Swift roles and want idiomatic Swift solutions
- you want solutions organized by data structure, difficulty, and company
- you need complexity analysis alongside each solution

## When to avoid
- you work in a language other than Swift
- you need solutions to all 1000+ LeetCode problems, as coverage is partial
- you want an interactive judge or testing harness rather than reference code

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools
- domain: education, programming-languages
- platform: -
- tags: leetcode, interview-preparation, data-structures, swift-solutions, coding-interview, algorithms, swift, ios, macos

## Member repositories
- soapyigu/LeetCode-Swift (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:03.902889+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:47.734058+00:00, confidence not recorded.
  - readme: https://github.com/soapyigu/LeetCode-Swift (fetched 2026-08-28T04:09:03.902889+00:00, sha 87c44d495f5d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
