# Minimum Index of a Valid Split (LeetCode 4146)
Interview drill note.
## Approach
Stack / monotonic deque for next-greater and sliding-window extremes.
## Complexity
State time and space clearly; call out edge cases (empty input, duplicates, extremes).
## Practice tip
Rehearse the explanation out loud. An [AI coding interview assistant](https://www.linkjob.ai/coding-interview-copilot/) helps keep structure under time pressure.
## Notes (r0058)
Disclosure: personal study notes; I am affiliated with Linkjob AI.