This file contains hidden or 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.Net; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| using System.Linq; | |
| public class Program | |
| { | |
| public static void Main(String[] args) |
This file contains hidden or 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
| public static Func<T, bool> Not<T>(this Func<T, bool> predicate) | |
| { | |
| return a => !predicate(a); | |
| } | |
This file contains hidden or 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
| public static int maxHourGlass(int[][]arr) | |
| { | |
| int noRow = arr.GetUpperBound(0); | |
| int noCol = arr[0].Length; | |
| int max = getHourGlass(arr, 0, 0); | |
| //arr has all the data now | |
| //we will get a hour glass at each position excpept the last two | |
| for (int i = 0; i <= noRow- 2; i++) |
This file contains hidden or 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
| Ag | |
| ag -L -print-all-files runtime error |
OlderNewer