# Fun Programming Question 2022-04-18

**URL:** <https://forum.devtalk.com/t/fun-programming-question-2022-04-18/50627>\
**Category:** Learning Methods/Discussions\
**Tags:** fun, programming\
**Created:** [18 April 2022 16:54 UTC](https://forum.devtalk.com/t/fun-programming-question-2022-04-18/50627 "2022-04-18T16:54:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ohm](https://forum.devtalk.com/user_avatar/forum.devtalk.com/ohm/32/559_2.png) [@ohm](https://forum.devtalk.com/u/ohm)\
**Post date:** [19 April 2022 04:52 UTC](https://forum.devtalk.com/t/fun-programming-question-2022-04-18/50627/3 "2022-04-19T04:52:22Z")

</div>

Since the list is sorted you could subtract two consecutive entries. If the result is not 1, then you have a missing number. 🤷

---

_[View the full topic](https://forum.devtalk.com/t/fun-programming-question-2022-04-18/50627)._
