ntuee-web-programming / 111-1_WebProgramming-Hack1_QA

0 stars 3 forks source link

[README CORRECTION] Todo 4 coloring example #10

Open linj45 opened 1 year ago

linj45 commented 1 year ago

why nanan is [‘yellow’, ‘grey’, ‘green’, ‘grey’, ‘yellow’] when solution is FUNNY.

In my understanding, we remove one 'n' when we find the green spot, then we remove one 'n' for the first yellow spot, i don't get why the last character is also yellow

chinyi0523 commented 1 year ago

You're right, it should be [‘yellow’, ‘grey’, ‘green’, ‘grey’, ‘grey’] Please also pay attentions to TAs' update, thanks