Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
removeDuplicate C#
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { string value1 = removeDuplicate("Awaah"); Console.WriteLine(value1); } static string removeDuplicate(string duplicate) { string table = ""; string results = ""; foreach (char value1 in duplicate) { if (table.IndexOf(value1) == -1) { table += value1; results += value1; } } return results; } } }
run
|
edit
|
history
|
help
0
DijkstraAlgo
Strings Mix Complete
https://rextester.com/ZZVYV85848
ERGDV CSXDXS
C++
oooo
Ship! Wall
Beadando Simon Szabolcs
hello-shared
Median in two sorted lists (O(m*n))