Problem 2191. Order of things - 3
Solution Stats
Problem Comments
-
2 Comments
Jean-Marie Sainthillier
on 9 Aug 2014
I don't understand the grouping task vector coding.
Jonathan
on 9 Oct 2015
In test case 1, how can 4 be done before 3? Two rows of order_correct have 4 before 3.
Solution Comments
-
1 Comment
Alfonso Nieto-Castanon
on 4 Dec 2015
If I am interpreting correctly, tests 1, 3, and 5 might be incorrectly defined. In test 1, job4 depends on job3 (dependencies(4,3)==1) so the solution [4 3 5 2 1] would not be correct. Similarly, in test 3, job1 depends on job2 so [4 3 1 5 2] would not seem correct, etc. Am I misinterpreting?
Problem Recent Solvers1
Suggested Problems
-
22007 Solvers
-
36073 Solvers
-
Determine whether a vector is monotonically increasing
16915 Solvers
-
Rubik's Cube: 30 Moves or Less : Minimum Moves
2 Solvers
-
BattleShip - Petty Officer (Level 2)
4 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!