Esempio n. 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()));
 }
Esempio n. 3
0
 private static void Main(string[] args)
 {
     QuestionHelpers.Time(() => new Solution().NumDecodings(LeetCode.String()));
 }
Esempio n. 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()));
 }