LeetCode Question · Aug 2023

Uber OA questions

2 upvotes 412 views

Question Details

Uber: Q1) You are given an array of integers u can replace two adjacent number (x,y) by their lcm iff gcd(x,y)>1. Find the array left after applying this operation to the...

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 2023.

It covers the following topics: Arrays, Math, Strings .