This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
/* Write a program that reverses the words in given sentence. | |
* Example: "C# is not C++, not PHP and not Delphi!" | |
* -> "Delphi not and PHP, not C++ not is C#!". */ | |
class ReverseWordsInSentence | |
{ | |
static void Main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* Write a program that extracts from a given text all sentences containing given word. | |
* Example: The word is "in". The text is: | |
* | |
* We are living in a yellow submarine. | |
* We don't have anything else. | |
* Inside the submarine is very tight. | |
* So we are drinking all the day. | |
* We will move out of it in 5 days. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
/* Write a program that sorts an array of integers | |
* using the merge sort algorithm (find it in Wikipedia). */ | |
class MergeSortAlgorithm | |
{ | |
public static int[] MergeSort(int[] array) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Calculator | |
*/ | |
@font-face { | |
font-family: "Segoe UI"; | |
src: url('http://youfailhost.googlecode.com/files/Segoe%20UI.ttf') format('truetype')L; | |
} | |
@font-face { |