Status: IN
When a problem asks for indices of a single target value in a sorted array, counting elements less-than and equal-to the target gives O(n) time vs O(n log n) for actually sorting, since equal elements are always contiguous in sorted order.
Source: entries/2026/06/06/find-target-indices-after-sorting-array-solution.md