摘要:
题目如下: Sort a linked list using insertion sort. A graphical example of insertion sort. The partial sorted list (black) initially contains only the firs 阅读全文
摘要:
最近在学习在windows平台用flask框架提供Restful API服务,需要使得flask的windows应用能够开机自动运行,并且后台运行,所以通过service来实现。 首先尝试的是在自己派生的serivice类的中直接调用 create_app(debug=True).run(host= 阅读全文
摘要:
题目如下: We have a sequence of books: the i-th book has thickness books[i][0] and height books[i][1]. We want to place these books in order onto bookcase 阅读全文
摘要:
题目如下: Given an integer array arr and an integer k, modify the array by repeating it k times. For example, if arr = [1, 2] and k = 3 then the modified 阅读全文
摘要:
题目如下: Given a string s that consists of lower case English letters and brackets. Reverse the strings in each pair of matching parentheses, starting fr 阅读全文
摘要:
题目如下: Given a string text, you want to use the characters of text to form as many instances of the word "balloon" as possible. You can use each charac 阅读全文
摘要:
题目如下: In LeetCode Store, there are some kinds of items to sell. Each item has a price. However, there are some special offers, and a special offer con 阅读全文
摘要:
题目如下: In a project, you have a list of required skills req_skills, and a list of people. The i-th person people[i] contains a list of skills that pers 阅读全文
摘要:
题目如下: You have an infinite number of stacks arranged in a row and numbered (left to right) from 0, each of the stacks has the same maximum capacity. I 阅读全文
摘要:
题目如下: SQL Schema Table: Department + + + | Column Name | Type | + + + | id | int | | revenue | int | | month | varchar | + + + (id, month) is the prim 阅读全文