原文:[LeetCode] 859. Buddy Strings 伙计字符串

Given two strings A and B of lowercase letters, return true if and only if wecan swap two letters in A so that the result equals B . Example : Example : Example : Example : Example : Note: lt A.lengt ...

2019-04-04 23:33 0 1195 推荐指数:

查看详情

[LeetCode] 43. Multiply Strings 字符串相乘

Given two non-negative integers num1 and num2represented as strings, return the product of num1 and num2, also represented as a string. Example ...

Mon Apr 06 14:53:00 CST 2015 10 20655
LeetCode.1071-字符串最大公约数(Greatest Common Divisor of Strings)

这是小川的第391次更新,第421篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第253题(顺位题号是1071)。对于字符串S和T,当且仅当S = T + ... + T(T与自身连接1次或更多次)时,我们说"T除S"。 返回最大的字符串X,使得X除以str1 ...

Wed Jul 24 16:42:00 CST 2019 0 489
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM