Senior Scientist Interview Questions

5,954 senior scientist interview questions shared by candidates

LeetCode "704. Binary Search". Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists, then return its index. Otherwise, return -1. You must write an algorithm with O(log n) runtime complexity.
avatar

Senior Data Scientist GENAI

Interviewed at Manulife

4
Apr 6, 2025

LeetCode "704. Binary Search". Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists, then return its index. Otherwise, return -1. You must write an algorithm with O(log n) runtime complexity.

Viewing 631 - 640 interview questions

Glassdoor has 5,954 interview questions and reports from Senior scientist interviews. Prepare for your interview. Get hired. Love your job.