摘要:
https://oj.leetcode.com/problems/add-binary/对两个二进制字符串求和。对于字符串 ans_str,求它的翻转。reverse(ans_str.begin(), ans_str.end())也可以:s.assign(ans_str.rbegin(),ans_s...
阅读全文
摘要:
2014.7.8fb#include using namespace std;struct TreeNode{ int val; TreeNode *left; TreeNode *right; TreeNode(int val) { left = NUL...
阅读全文