摘要: Given an m x n grid of characters board and a string word, return true if word exists in the grid. The word can be constructed from letters of sequent 阅读全文
posted @ 2020-07-01 06:07 CNoodle 阅读(526) 评论(0) 推荐(0)
摘要: Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0. A subsequence o 阅读全文
posted @ 2020-07-01 03:55 CNoodle 阅读(258) 评论(0) 推荐(0)
摘要: Given two integer arrays nums1 and nums2, return the maximum length of a subarray that appears in both arrays. Example 1: Input: nums1 = [1,2,3,2,1], 阅读全文
posted @ 2020-07-01 03:20 CNoodle 阅读(203) 评论(0) 推荐(0)