Skip to content

Commit

Permalink
Update README.md add Leetcode section
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniyd committed Feb 26, 2024
1 parent 7a6be55 commit 56295d5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ Grad it here: [UnionFind.swift](UnionStreet/UnionFind.swift)
# Problem

**Union Find** algorithm that I often has to write from scratch myself for [Leetcode](https://leetcode.com) solutions. I have seen Union Find being implemented in a form of `struct` or `class` instead of inline functions with two arrays. This project exists so one can quickly copy-and-paste a `UnionFind` data structure to a [Swift] Leetcode solutions.

# Goals

1. Simple AF
2. Tested

# Leetcode

Problems that *can* be solved with `Union Find` data structure.

* [2709. Greatest Common Divisor Traversal](https://leetcode.com/problems/greatest-common-divisor-traversal/)

0 comments on commit 56295d5

Please sign in to comment.