Skip to content

Code fails to pass case: [0,0]#5

Open
pshivvy wants to merge 1 commit intocherryljr:masterfrom
pshivvy:patch-1
Open

Code fails to pass case: [0,0]#5
pshivvy wants to merge 1 commit intocherryljr:masterfrom
pshivvy:patch-1

Conversation

@pshivvy
Copy link

@pshivvy pshivvy commented Nov 25, 2020

The output for [0,0] should be [0,1] but your code returns [1,0,0]. I added an if statement to deal with this case.

The output for [0,0] should be [0,1] but your code returns [1,0,0]. I added an if statement to deal with this case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant