You are viewing a single comment's thread. Return to all comments →
width problem??
Solution: Search for this line in your code.
(1) -> List result = Result.serviceLane(n, cases);
now change it to ,
-> List result = Result.serviceLane(n, cases,width);
and one more change ,
(2) -> public static List serviceLane(int n,
List> cases) {
-> public static List<Integer> serviceLane(int n, , List<List<Integer>> cases, List<Integer> width ){
Seems like cookies are disabled on this browser, please enable them to open this website
Service Lane
You are viewing a single comment's thread. Return to all comments →
width problem??
Solution: Search for this line in your code.
(1) -> List result = Result.serviceLane(n, cases);
-> List result = Result.serviceLane(n, cases,width);
(2) -> public static List serviceLane(int n,
List> cases) {