Пример #1
0
 private static void Main(string[] args)
 {
     QuestionHelpers.Time(() => new Solution().MinPathSum(LeetCode.Grid()));
 }
 private static void Main(string[] args)
 {
     QuestionHelpers.Time(() => new Solution().SplitArray(LeetCode.Array(), LeetCode.Int()));
 }
Пример #3
0
 private static void Main(string[] args)
 {
     QuestionHelpers.Time(() => new Solution().NumDecodings(LeetCode.String()));
 }
Пример #4
0
 private static IReadOnlyList <IQuestion> GetAllQuestions()
 {
     return(QuestionHelpers.GetAllQuestions(MaxQuestionDepth).ToList());
 }
 private static void Main(string[] args)
 {
     QuestionHelpers.Time(() => new Solution().UniquePaths(LeetCode.Int(), LeetCode.Int()));
 }