intermediate
Challenge: the insertion index
Implement this from the stub. Hidden tests grade the behaviour you write, not the comments you leave.
Challenge: The Insertion Index
export function insertionIndex(sorted: number[], target: number): number {
// Your implementation here
}challenge — implement from scratchCtrl+↵ submits · Ctrl+Shift+↵ runsstarter code