- 博客(5)
- 收藏
- 关注
原创 [编程题]游戏海报
链接:https://www.nowcoder.com/questionTerminal/6a6a0e4d6dfa4d89acd73bdfec79cf28?f=discussion 来源:牛客网 小明有26种游戏海报,用小写字母"a"到"z"表示。小明会把游戏海报装订成册(可能有重复的海报),册子可以用一个字符串来表示,每个字符就表示对应的海报,例如abcdea。小明现在想做一些“特别版”,然后卖...
2019-10-28 22:07:18
183
原创 获得最多的奖金
题目描述 小明在越南旅游,参加了当地的娱乐活动。小明运气很好,拿到了大奖, 到了最后的拿奖金环节。小明发现桌子上放着一列红包,每个红包上写着奖金数额。 现在主持人给要求小明在这一列红包之间“切”2刀,将这一列红包“切”成3组,并且第一组的奖金之和等于最后一组奖金和(允许任意一组的红包集合是空)。最终第一组红包的奖金之和就是小明能拿到的总奖金。小明想知道最多能拿到的奖金是多少,你能帮他算算吗。 举例...
2019-10-26 22:50:48
182
原创 [leetcode]905. Sort Array By Parity
Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You may return any answer array that satisfies this conditio...
2018-09-25 16:42:21
348
原创 [leetcode]771. Jewels and Stones
You’re given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of stone you have. You want to know how many of the sto...
2018-09-25 15:59:21
148
原创 【Appium】并发执行多个设备问题总结
继承自: 【Appium】并发执行多个设备问题总结 https://blog.youkuaiyun.com/qq_15283475/article/details/77892868 最近在搞Android Python+appium Desktop+Opencv自动化测试, 之前一个手机跑通了,多个手机问题却很多。 参考了上面的链接,解决的好几个问题,感谢。 这里记录几个上文没有提到的, 主要是关...
2018-09-13 15:54:09
3119
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人