Search⌘ K
AI Features

Find Target Indices After Sorting Array

Find Target Indices After Sorting Array asks you to sort an array of positive integers, then return the increasing indexes whose values equal the target, or an empty list if none do.

Statement

You are given a 0-indexed array of positive integers, nums, and a value, ...