Mail Followup

Function Kata „Mail Followup“ Implement a function which maps special mail followup email addresses to date and time values. You may also take a look at the „Mail Followup“ architecture kata. The function to be implemented should have the following signature: DateTime...

From Roman Numerals

Function Kata „From Roman Numerals“ Implement a function that maps roman numerals to decimals. Examples: „I“ -> 1 „II“ -> 2 „IV“ -> 4 „V“ -> 5 „IX“ -> 9 „XLII“ -> 42 „XCIX“ -> 99 „MMXIII“ -> 2013 Roman numerals are defined in the range of „I“...

CSV tabellieren

Function Kata „CSV tabellieren“ Schreibe eine Funktion, die CSV Zeilen tabelliert. IEnumerable Tabelliere(IEnumerable CSV_zeilen); Als Eingabe erhält die Funktion eine Aufzählung von Strings. Jeder dieser Strings ist eine CSV-Zeile, die beispielsweise aus einer Datei...

Russian Peasant Multiplication

Function Kata „Russian Peasant Multiplication“ Write a function that multiplies two whole numbers by using the Russian Peasant Multiplication algorithm [1]. The signature of the function should be as follows: int Mul(int x, int y); The algorithm of the Russian Peasant...

ROT-13

Function Kata „ROT-13“ Implement a function that encodes a text by [ROT-13]. The ROT-13 coding exchanges every character by the character 13 positions further back in the alphabet. If the value lies behind the end of the alphabet it is fetched from the beginning....

LOC

Function Kata „LOC“ Implement a function that counts the Lines of Code (LOC) in a C# source text. The source text is given as a string. The function returns the number of executable lines of code. Lines containing only comments or whitespace should be filtered [1]....