January 28, 2008, 11:45 am

Einstein really was brilliant - if only due to his quotes below:
Insanity: doing the same thing over and over again and expecting different results.
Great spirits have always encountered violent opposition from mediocre minds.
If the facts don’t fit the theory, change the facts.
You have to learn the rules of the game. And then you have to play better than anyone else.
If A = success, then the formula is: A = X + Y + Z, X = work. Y = play. Z= keep your mouth shut.
Sometimes one pays most for the things one gets for nothing.
Strive not to be a success, but rather to be of value.
The secret to creativity is knowing how to hide your sources.
The true sign of intelligence is not knowledge but imagination.
Two things are infinite: the universe and human stupidity; and I’m not sure about the universe.
We can’t solve problems by using the same kind of thinking we used when we created them.
Tags:
Albert Einstein,
bicycle,
creativity,
human stupidity,
imagination,
infinite,
insanity,
intelligence,
people,
quotes,
stupidity,
success,
universe,
value Category:
Every Day Life,
Fun,
Technology,
Theory,
Work |
Comment
January 27, 2008, 2:23 pm
Despite my pseudo code skills = null, congrats on your awesome solution of the Gale-Shapley algorithm:
public class StableMarriage {
public static void main(String args[]) {
Terminal.startTranscript("transcript.txt");
test();
Terminal.stopTranscript();
}
public static Relation findMarriages(PersonList eligible) {
Relation couples = new Relation();
while (eligible != null) {
Man m = (Man) eligible.person;
Woman w = m.topPick();
Terminal.println("" + m + " proposes to " + w);
if (w.likes(m)) {
Terminal.print(" she accepts ");
}
return couple;
}
Manoj = new Man("manoj");
Gouri = new Woman("gouri");
}
}