摘要: Given two arrays of length m and n with digits 0-9 representing two numbers. Create the maximum number of length k <= m + n from digits of the two. Th 阅读全文
posted @ 2018-12-31 21:25 Veritas_des_Liberty 阅读(243) 评论(0) 推荐(0)
摘要: Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your 阅读全文
posted @ 2018-12-31 20:22 Veritas_des_Liberty 阅读(205) 评论(0) 推荐(0)
摘要: There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following re 阅读全文
posted @ 2018-12-31 18:23 Veritas_des_Liberty 阅读(240) 评论(0) 推荐(0)
摘要: There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it cost 阅读全文
posted @ 2018-12-31 16:46 Veritas_des_Liberty 阅读(233) 评论(0) 推荐(0)
摘要: 描述 给出两个正整数以及四则运算操作符(+ - * /),求运算结果。 输入第一行:正整数a,长度不超过100第二行:四则运算符o,o是“+”,“-”,“*”,“/”中的某一个第三行:正整数b,长度不超过100保证输入不含多余的空格或其它字符输出一行:表达式“a o b”的值。补充说明:1. 减法结 阅读全文
posted @ 2018-12-31 10:44 Veritas_des_Liberty 阅读(363) 评论(0) 推荐(0)