CS-OA cs-vo Faang

trade desk OA – trade desk 面经 – trade desk 面试真题

Given an array of integers numbers , find the first index ifor which three consecutive elements numbers[i].numbers[i +1],and numbers[i + 2] are all greater thana given threshold .if there is no such index retum-.
Note: You are not expected to provide the most optimalsolution, but a solution with time complexity not worse than0(aunbezs.length’, wl fit within the execution time limit


*For numbers:10,1.4,3,2.5),and threshold=1

the output should be solution(numbers.threshold):2


联系我,查看题目全文。OA代做,面试代面,面试辅助。联系我 我们公开透明报价,做华人社区面试suport第一品牌。

Leave a Reply

Your email address will not be published. Required fields are marked *