Skip to content
RED SAG Skills
medium10 pts · first answer countssorting-and-searching

Cost of inserting into a sorted array

A service keeps prices in a sorted array to answer lookups with binary search. What is the cost of inserting a new price while keeping the array sorted?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions