SnapKit / Masonry

Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout
MIT License
18.06k stars 3.15k forks source link

🛠 refactor: #554

Open broccolii opened 5 years ago

broccolii commented 5 years ago
  1. fix wrong word `heirachy` -> `hierarchy`
  2. Optimization method implementation `mas_closestCommonSuperview` (list this https://leetcode.com/problems/intersection-of-two-linked-lists/)
broccolii commented 5 years ago

Optimization time complexity O(n2) -> O(m+n)