Algorithms

Projects

Nim

is a two-player mathematical game of strategy in which players take turns removing objects from distinct heaps. On each turn, a player must remove at least one object, and may remove any number of objects provided they all come from the same heap.

Duplicate RSA Key on Github

I have a github account: http://github.com/mwolfe38
which I just created a month or two ago for hosting some scripts I was working on at the time.
Just today I updated my virtualbox ubuntu guest OS on my work laptop (running windows xp) . I now have version 9.04 of ubuntu linux and it runs great.

So anyways, I installed git and went to clone my github repositories, and then remembered that I needed to generate an rsa public/private key first. So I ran the command

ssh-keygen

Largest subsequence

Ok so I was looking into possible interview questions for a job and I saw one was the problem of how to find the largest subsequence of integers in an array of positive and potentially negative integers.
For example, given the set of numbers:
2, -1, 3, 5, -10, 4, 8, -1,10, 2
the largest subsequence would be
4,8, -1,10,2 since it adds up to 23.