Category Archives: General Concepts

“Without An If” Notes

Here is some notes which I took from a Google Tech Talks video: When to use Polymorphism if an object should behave differently based on its state If you have to check the same condition in multiple places Use Conditionals … Continue reading

Posted in General Concepts | Tagged , , | Leave a comment

Checking Some Opcodes in Assembly Language

A program written in an assembly language that implements the following Java code look like the one:   The program adds two numbers 3 and 7 that are in the variables THOMAS and SYLVESTER respectively, and stores the result 10 … Continue reading

Posted in General Concepts | Tagged , , | Leave a comment

Pipe-and-Filter Architecture and An Elegant Algorithm

The Problem: Given a dictionary of words in English, find all the anagrams in the dictionary. That is, find all the words that are permutations of each other. For example, pots, stop, and spot are anagrams of each other. Bentley, … Continue reading

Posted in Algorithm Analysis, General Concepts, Links, Software Architecture | Tagged , , , | Leave a comment

Tab Overload #1

Posted in General Concepts, Links | Tagged | Leave a comment