#Find missing number in an array of consecutive numbers

3 messages · Page 1 of 1 (latest)

ionic coyoteBOT
#

This post has been reserved for your question.

Hey @civic tendon! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

dreamy trellis
#

i think it's fine but:

  • i think the wording is a bit awkward; would be nice if the message was something like:
Missing number is 17, expected at position 2. Got value 18 instead
  • the indentation and spacing is not great so perhaps you can look to improve that