bernicechio / pe

0 stars 0 forks source link

Reverse name not in lexographical order #14

Open bernicechio opened 4 years ago

bernicechio commented 4 years ago

Screenshot 2019-11-15 at 5.00.24 PM.png

nus-pe-bot commented 4 years ago

Team's Response

Lexicographical order is alphabetical order preceded by a length comparison. That is to say, a string a is lexicographically smaller than a string b if the length of a is smaller than the length of b, or else they are of the same length and a is alphabetically smaller than b.

My algorithm was based on the comparison of letters but length plays a part in the comparison too.

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: [replace this with your reason]