1p3a_oj Question

Implement Binary Search (easy variant)

Question Details

Problem: Implement Binary Search (easy) Given an integer array nums sorted in ascending order (possibly empty) and an integer target, search for target in the array: If target exist

Full Details

🔒

Unlock all Google questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a google interview for a swe role during the coding round.

It covers the following topics: Arrays, Binary Search .

Difficulty rating: Easy