Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set 3:
- 1) loc1.getRow();
- 2) false
- 3) (4,4)
- 4) 135
- Set 4:
- 1) gr.getOccupiedLocations().size();
- gr.getNumRows()*gr.getNumCols()-gr.getOccupiedLocations().size();
- 2) Location bob= new Location(10,10);
- gr.isValid(bob);
- **OR**
- gr.isValid(new Location(10,10));
- 3) BoundedGrid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement