n Go home
p Go here
y Copy URL
c Copy content
d Download
q Show QR code
? Toggle help
1# LC6168 Fruit Into Baskets
2
3**Idea.** at most 2 types.
4
5**Checklist**
6- Clarify constraints and edge cases first
7- Name the pattern (two pointers / DP / graph / binary search)
8- Walk one example end-to-end before coding
9- State time/space; watch off-by-one
10
11*Disclosure: I help build [linkjob.ai](https://www.linkjob.ai/) — an interview prep copilot. Notes are my own study notes.*