原文:[LeetCode] 415. Add Strings 字符串相加

Given two non negative numbers num and num represented as string, return the sum of num and num . Note: The length of both num and num is lt . Both num and num contains only digits . Both num and num ...

2016-10-09 23:59 3 8647 推荐指数:

查看详情

415. 字符串相加(C++)

目录 题目 分析与题解 题目 给定两个字符串形式的非负整数 num1 和num2 ,计算它们的和。 提示: num1 和num2 的长度都小于 5100 num1 和num2 都只包含数字 0-9 num1 和num2 都不包含任何前导 ...

Sat Aug 22 00:39:00 CST 2020 0 483
[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] 859. Buddy Strings 伙计字符串

Given two strings `A` and `B` of lowercase letters, return `true` if and only if we can swap two letters in `A` so that the result equals `B ...

Fri Apr 05 07:33:00 CST 2019 0 1195
字符串相加

此博客链接:https://www.cnblogs.com/ping2yingshi/p/14013442.html 字符串相加 题目链接:https://leetcode-cn.com/problems/add-strings/ 题目 给定两个字符串形式的非负整数 num1 和num2 ...

Sat Nov 21 06:55:00 CST 2020 2 404
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM