LCP 17. 速算机器人
小扣在秋日市集发现了一款速算机器人。店家对机器人说出两个数字(记作 x 和 y),请小扣说出计算指令: &qu... » 阅读全文
小扣在秋日市集发现了一款速算机器人。店家对机器人说出两个数字(记作 x 和 y),请小扣说出计算指令: &qu... » 阅读全文
桌上有 n 堆力扣币,每堆的数量保存在数组 coins 中。我们每次可以选择任意一堆,拿走其中的一枚或者两枚,... » 阅读全文
有一个同学在学习分式。他需要将一个连分数化成最简分数,你能帮助他吗? 连分数是形如上图的分式。在本题中,所有系... » 阅读全文
小A 和 小B 在玩猜数字。小B 每次从 1, 2, 3 中随机选择一个,小A 每次也从 1, 2, 3 中选... » 阅读全文
Given an array of positive integers nums, return the ma... » 阅读全文
Given an alphanumeric string s, return the second large... » 阅读全文
You are given two strings s1 and s2 of equal length. A ... » 阅读全文
You are given two integers, x and y, which represent yo... » 阅读全文
You are given an array items, where each items[i] = [ty... » 阅读全文
You are given two strings word1 and word2. Merge the st... » 阅读全文