However your current solution stores some amount of data twice in a hash where pointer is sufficient because @nums is already sorted.
In reply to Re^2: Padding search results with context
by moritz
in thread Padding search results with context
by moritz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |