Format:
Recent snippets matching tags of kata
/* Ordered Jobs Kata http://invalidcast.com/2011/09/the-ordered-jobs-kata Sherwin Rice 30/09/2011 */ USE TempDB /*drop & create the OrderTheJobs function */ IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[OrderTheJobs]') )
132 Views
no comments
class Anagram { public string[] GetWords(string word) { return GetWords(word, word.Length); } private string[] GetWords(string word, int level) { IList<string> anagrams = new List<string>();
82 Views
no comments
class Anagram { public string[] GetWords(string word) { IList<string> anagrams = new List<string>(); if (word.Length == 1) { anagrams = GetWords(word, 1); } else if (word.Length == 2)
73 Views
no comments
class Anagram { public string[] GetWords(string word) { IList<string> anagrams = new List<string>(); if (word.Length == 1) { anagrams = GetWords(word, 1); } else if (word.Length == 2)
81 Views
no comments
class Anagram { public string[] GetWords(string word) { IList<string> anagrams = new List<string>(); if (word.Length == 1) { anagrams = GetWords(word, 1); } else if (word.Length == 2)
81 Views
no comments
class Anagram { public string[] GetWords(string word) { IList<string> anagrams = new List<string>(); if (word.Length == 1) { anagrams.Add(word); } else if (word.Length == 2)
81 Views
no comments
class Anagram { public string[] GetWords(string word) { IList<string> anagrams = new List<string>(); if (word.Length == 1) { anagrams.Add(word); } else if (word.Length == 2)
102 Views
no comments
class Anagram { public string[] GetWords(string word) { IList<string> anagrams = new List<string>(); anagrams.Add(word); if (word.Length == 2) { anagrams.Add(new string(word.Reverse().ToArray())); }
87 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
