Challenge: Insert a Value Before an Index in Sorted Order
We'll cover the following...
Problem Statement:
In this challenge, you have to implement the insert
function which will be taking three parameters as inputs: array
, rightIndex
, and value
.
Explanation:
Before the insert function ...