LC3143 Maximum Number of Alloys
# Maximum Number of Alloys (LeetCode 3143)
Practice note for coding interviews.
## Approach
DP on subsequences; roll arrays to save space.
## Complexity
State time and space clearly; call out edge cases (empty input, duplicates, extremes).
## Practice tip
Rehearse the explanation out loud. An [Linkjob AI copilot](https://www.linkjob.ai/) helps keep structure under time pressure.
Disclosure: personal study notes; I am affiliated with Linkjob AI.
Public Last updated: 2026-11-06 02:51:39 AM