UBS | 2026 | Java: Logistics Routing Hub | Complete Solutions & Tips | Java OOP & Strategy Pattern | Campus Assessment

Question · Posted Apr 2026

1. Java: Logistics Routing Hub Problem Statement: A logistics company wants to manage the worldwide transportation of materials efficiently using different vehicle types and delivery routes. The company uses cars, trucks, and planes to deliver a variety of goods and assigns delivery routes based on predefined routing strategies. They have two routing strategies: RouteStrategy1 and RouteStrategy2. Define a Deliverable class, which models an object that can be delivered. It should have the following attributes and a constructor method to initialize ...

The full answer & interview discussion are available to premium members.

Log in Create a free account