摘要:
#include // 5. Longest Palindromic Substring // Given a string S, find the longest palindromic substring in S. // You may assume that the maximum length of S is 1000, // and there exists one uniq... 阅读全文
摘要:
#include #include #include // 9. Palindrome Number // Determine whether an integer is a palindrome. Do this without extra space. // https://leetcode.com/problems/palindrome-number/ // Algorith... 阅读全文
摘要:
Question 1. Problem statement: Consider a row of n coins of values v1 . . . vn, where n is even. We play a game against an opponent by alternating tur 阅读全文