摘要:
Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c 阅读全文
posted @ 2018-07-16 22:52
Lin.B
阅读(102)
评论(0)
推荐(0)
摘要:
You are given a string representing an attendance record for a student. The record only contains the following three characters: 'A' : Absent. 'L' : L 阅读全文
posted @ 2018-07-16 20:45
Lin.B
阅读(104)
评论(0)
推荐(0)
摘要:
Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string. If there ar 阅读全文
posted @ 2018-07-16 11:51
Lin.B
阅读(82)
评论(0)
推荐(0)
摘要:
Given a binary tree, you need to compute the length of the diameter of the tree. The diameter of a binary tree is the length of the longestpath betwee 阅读全文
posted @ 2018-07-16 11:06
Lin.B
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号