摘要: 647. Palindromic Substrings Medium 2458109Add to ListShare Given a string, your task is to count how many palindromic substrings in this string. The s 阅读全文
posted @ 2020-06-09 15:22 CodingYM 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Given an integer, write a function to determine if it is a power of two. Example 1: Input: 1 Output: true Explanation: 20 = 1 Example 2: Input: 16 Out 阅读全文
posted @ 2020-06-09 14:28 CodingYM 阅读(131) 评论(0) 推荐(0) 编辑
摘要: In a country popular for train travel, you have planned some train travelling one year in advance. The days of the year that you will travel is given 阅读全文
posted @ 2020-06-09 12:11 CodingYM 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1143. Longest Common Subsequence Medium 132115Add to ListShare Given two strings text1 and text2, return the length of their longest common subsequenc 阅读全文
posted @ 2020-06-09 08:50 CodingYM 阅读(310) 评论(0) 推荐(0) 编辑