The Java API contains numerous classes for managing collections (or sets) of objects. A collection allows us to easily model a large number of data values or objects. There are four main types of collections which are available through various API packages; firstly lists. A list is an ordered collection of objects, we’d use this […]
Read MoreLets Talk About Sets
A set is a collection of distinct objects considered as a whole. [Wikipedia – http://en.wikipedia.org/wiki/Set ] A set can be thought of as a collection of objects – or elements – and these objects can be anything, data – numerical – or indeed other sets. Elements in a set are in no particular order, and […]
Read MoreCombinatorics
Combinatorics is a branch of mathematics concerned with the study of finite objects, and has many applications in the field of Computer Science. Combinatorics is useful in problem solving, and is most often involves ideas such as counting elements in a set, or calculating permutations or combinations of elements in a set.
Read More