LeetCode Question · Dec 2021 · Los Angeles

Amazon Interview | OA | Shrink Array

1 upvote 1,005 views 3 replies

Question Details

Given an array of numbers. Perform below operations 1. Find the adjacent numbers which are not co prime. 2. Delete those two numbers and replace with the LCM of two numbers. Example ::...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Math