là thế nào vậy thím? maxTravelDist kia là N à? và khi chọn và lấy ra 1 phần tử trong fowardRoutes phải chọn kèm theo 1 trong returnRoutes? thím post ảnh đề gốc lên được không?thanhNoel said:Bài 1 thì mình dùng 1 cấu trúc dữ liệu có sẵn của Java.
Bài 2 thì method signature nó như này:
List<List<Integer>> optimalUtilization(int maxTravelDist, List<List<Integer>> forwardRoutes, List<List<Integer>> returnRoutes);
Không dám post tiếng Anh sợ nó truy ra đánh trượt thì bỏ bu :sweat:
Sent from Asus ASUS_X00DD using vozFApp