Skip to content

Commit

Permalink
Forgot READ.me
Browse files Browse the repository at this point in the history
  • Loading branch information
sarcodian committed Jan 23, 2017
1 parent 88f77c9 commit 1db18a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions challenge_7/python/sarcodian/READ.me
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Assume we are giving a list of unorder consective ints. We have to find
which int is missing. Since we know a single int is missing, we know
that the original list must have a length of given list + 1.
Therefore, we sum all elements of range( lenght_of_given_list + 1) and
subtract the sum of all elements in the given list.

0 comments on commit 1db18a9

Please sign in to comment.