using System.Collections.Generic;
public static string DestinationCity(IList<IList<string>> paths) {
var set = new HashSet<string>();
for(int i = 0; i < len; i++)
for(int i = 0; i < len; i++)
if (!set.Contains(paths[i][1])) {
public static void Main()
Console.WriteLine("UniLecs");
var list1 = new List<IList<string>>()
new List<string>() { "B","C" },
new List<string>() { "D", "B" },
new List<string>() { "C", "A" }
Console.WriteLine(DestinationCity(list1));