10 views
# Maximum Number of Alloys (LeetCode 4142) Interview drill note. ## Approach Sort + two pointers often beats nested loops; prove correctness on a tiny example first. ## Complexity State time and space clearly; call out edge cases (empty input, duplicates, extremes). ## Practice tip Rehearse the explanation out loud. An [Linkjob AI](https://www.linkjob.ai/) helps keep structure under time pressure. ## Notes (r0058) Disclosure: personal study notes; I am affiliated with Linkjob AI.