If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!
Tuesday, July 30, 2013
Wednesday, July 24, 2013
Finding second highest frequency of characters in String
Write a method that accepts a String and returns the character with the second highest frequency. For example "aabbbc" would return 'a'. If the string contains spaces, they can be disregarded from the count.
Note: my implementation returns a tuple (char, count) but that is just a matter of only returning the char itself.
Labels:
Scala
Tuesday, July 23, 2013
Creating immutable datastructures in Scala
I decided to take a shot at creating a simplified version of an immutable list structure and this is the result.
Labels:
Scala
Thursday, July 18, 2013
Tuesday, July 16, 2013
Monday, July 15, 2013
Thursday, July 11, 2013
Wednesday, July 10, 2013
Tuesday, July 9, 2013
constructing simple pipelines in Scala
Playing a bit with constructing pipelines logically in Scala.
A pipeline MUST start with a generator, folllowed by 0 to many transformers and MUST end with a serializer.
Labels:
Scala
Monday, July 8, 2013
Friday, July 5, 2013
Subscribe to:
Posts (Atom)