Panda Guru LogoPanda
Guru

UBER OA

Round 1

Questions: The problem involves minimizing the total cost of transporting trees from villages to sawmills in Byteland. You are given:

You need to determine where to build the sawmills to minimize the transportation cost, which is calculated as one cent per kilometer per tree.

Example: image

Input:

Output:

Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.