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
/************************************************************************************************************** | |
* * | |
* The Floyd-Marshall algorithm: * | |
* https://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorithm * | |
* * | |
* This file presents a solution to this problem: * | |
* https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/ * | |
* * | |
**************************************************************************************************************/ |
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 static System.Console; | |
public class StringPermuter | |
{ | |
private string _word; | |
public StringPermuter(string word) | |
{ | |
_word = word; | |
} |
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.Linq; | |
using System.Collections.Generic; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
BTTraversal(); | |
} |
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
interface ICar { } | |
public class Brandless : ICar { } | |
public class Honda : ICar { } | |
public class Toyota : ICar { } | |
[TestFixture] | |
public class WorkingWithProfiles | |
{ | |
[Test] |