![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
little_zozo
这个作者很懒,什么都没留下…
展开
-
leetcode - Lemonade Change
问题描述 At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you, and order one at a time (in the order specified by bills). Each customer will only buy one lemonade and pay with either a $5, $10, or $20 bill. You must p原创 2020-06-02 21:22:14 · 162 阅读 · 0 评论 -
leetcode - Goat Latin (24ms)
问题描述 **A sentence S is given, composed of words separated by spaces. Each word consists of lowercase and uppercase letters only. We would like to convert the sentence to “Goat Latin” (a made-up language similar to Pig Latin.) The rules of Goat Latin are as原创 2020-06-02 02:53:39 · 170 阅读 · 0 评论 -
leetcode -Two Sum
问题描述 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. example: Given nums = [2, 7, 11, 15]原创 2020-06-01 04:42:10 · 154 阅读 · 0 评论 -
leetcode 之 Add Two Numbers(链表)
问题描述: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. You may assume the two numbers原创 2020-06-01 04:19:35 · 98 阅读 · 0 评论