Posts
-
2D Matrix Rotator
Jul 16, 2014 • data-disqus->View CommentsSimple challenge was posted up on reddit.
There was a really simple solution to it which would perform the task with O(n2) space and O(n2) time. It would involve creating a new array with the same dimensions as the original matrix, and copying the values into their new spots.
-
Simple RummyChecker
Jul 14, 2014 • data-disqus->View CommentsThis is a build up on the BlackJack Checker. The Rummy Checker challenge is also from Reddit and can be found here. I think it’s more organized than the blackjack checker and less hacky (except for the Run checker function - this function is soooo messy. I need to fix it, urgh).
-
Simple BlackJackChecker
Jul 12, 2014 • data-disqus->View CommentsWanted to add something very quick before heading to bed. I’m going to edit this post when I wake up. Here’s my first take on Reddit’s simple blackjack checker.
-
Vector vs. Arrays
Jul 11, 2014 • data-disqus->View CommentsThere aren't a whole lot of differences between Vectors and Arrays internally (i.e. in terms of performance). Vectors use an array structure internally but have additional functions to manage it.
-
Challenge 1: Accepting console input
Jul 11, 2014 • data-disqus->View CommentsLets read in strings. we will give n the number of strings then the strings.
subscribe via RSS