Skip to content

Commit

Permalink
Add solution explanation to README
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbotello committed Jan 8, 2017
1 parent 1b066f7 commit 1e03ea2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions challenge_5/python/alexbotello/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Find The Difference
###### Language Version (Python 3.6.0)

Uses the Counter object from the collections module to count how many times each letter occurs in s and t.

Then iterates through t to compare each other's key-values. The odd key-value pair out is the difference


### Compile

```
Expand Down
5 changes: 4 additions & 1 deletion challenge_7/python/alexbotello/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Find The Missing Number
### Language Version (Python 3.6.0)

We calculate the sum of the array's indexes and then calculate the sum of the array's values.
Subtracts the values against each other to find the missing number

### Compile

```
Expand All @@ -17,4 +20,4 @@ Run tests.py to check against unit test

Run missing_num.py to test your own implementation
- First line of input is the size of the list
- Subsequent inputs are the values of the list
- Subsequent inputs are the values of the lis

0 comments on commit 1e03ea2

Please sign in to comment.