Search⌘ K

Challenge: Sparse Search

Explore how to implement a sparse search algorithm to find a target string in a sorted array containing empty strings. Learn to design efficient solutions useful for coding interviews and improve your problem-solving skills in Java.

Problem statement

Implement a function that returns the index of the target string in a sorted and sparsed array of strings.

Input

...