LeetCode Question · Feb 2021

Uber Oa

9 upvotes 2,934 views 12 replies

Question Details

1) given an array Find number of elements equal to mean of neighbor elements. 2 4 6 6 3 Ans: 3 2,4,3 satisfy that condition 2=4+0/2, 4=2+6/2 2) delete min of peak elements one by one...

Full Details

🔒

Unlock all Uber 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 uber interview for a swe role during the oa round reported in 2021.

It covers the following topics: Arrays, Matrix .