Sunday, October 30, 2011

Arrays to the finish

Finding pairs

Constructed from memory... I hope it resembles what we did...

Reversing an array...

(Thank you for sending me these!!)

In place

As a copy

Some cellular automaton thing

That we didn't really finish... so don't worry about what it means :)

See you Tuesday!

Sunday, October 23, 2011

Code from 10/18

Palindrome

Anagrams...

So we didn't finish this one in recitation and on reflection it's really way too long... Here's a solution someone emailed me (sorry I forgot to ask you if you were OK with me sharing this if you mind I'll take it down) (also I reformatted a little) See you Tuesday!

Tuesday, October 11, 2011

Code from our exam review

Hi Everyone! Here's code we worked on on Tuesday (10/11). Here's the Nth Prime puzzle: Here's the 7s puzzle: Here's the highest-lowest puzzle: You're probably forgotten all about this by now, but here's that timing puzzle we did the week before. It doesn't quite work yet... but it's sooo close: And then there's that 3n+1 puzzle: Everyone, good luck on the exam!! I hope it goes wonderfully. If you have any questions or concerns or opinions or rants or hopes or dreams you can email me. Or if there's some code I forgot to put up here that you'd like to see. See you next week!