Question: grid = [ [ ' b ' , EMPTY, EMPTY ] , [ EMPTY , ' b ' , ' a ' ] , [

grid =[['b', EMPTY, EMPTY],[EMPTY,'b','a'],['a','a', EMPTY]]
ships =['a','b']
sizes =[3,2]
validate_character_counts(grid, ships, sizes)
False
But it is supposed to be True
 grid =[['b', EMPTY, EMPTY],[EMPTY,'b','a'],['a','a', EMPTY]] ships =['a','b'] sizes =[3,2] validate_character_counts(grid, ships,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!