上一页 1 2 3 4 5 6 7 8 9 ··· 37 下一页
摘要: There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certai 阅读全文
posted @ 2020-09-23 13:02 Review->Improve 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Given two strings s and t, you want to transform string s into string t using the following operation any number of times: Choose a non-empty substrin 阅读全文
posted @ 2020-09-15 22:32 Review->Improve 阅读(432) 评论(0) 推荐(0) 编辑
摘要: Given an integer array arr, remove a subarray (can be empty) from arr such that the remaining elements in arr are non-decreasing. A subarray is a cont 阅读全文
posted @ 2020-09-08 05:41 Review->Improve 阅读(1082) 评论(0) 推荐(0) 编辑
摘要: I have run into 2 different problems that can be solved using binary lifting. Then there is second thread's tree basics youtube video that talks about 阅读全文
posted @ 2020-08-25 11:53 Review->Improve 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Given an array arr that represents a permutation of numbers from 1 to n. You have a binary string of size n that initially has all its bits set to zer 阅读全文
posted @ 2020-08-25 01:47 Review->Improve 阅读(488) 评论(0) 推荐(0) 编辑
摘要: Given an integer n and an integer array rounds. We have a circular track which consists of n sectors labeled from 1 to n. A marathon will be held on t 阅读全文
posted @ 2020-08-24 23:47 Review->Improve 阅读(841) 评论(0) 推荐(0) 编辑
摘要: On a broken calculator that has a number showing on its display, we can perform two operations: Double: Multiply the number on the display by 2, or; D 阅读全文
posted @ 2020-08-23 04:57 Review->Improve 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Your task is to form an integer array nums from an initial array of zeros arr that is the same size as nums. Return the minimum number of function cal 阅读全文
posted @ 2020-08-23 04:05 Review->Improve 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 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 @ 2020-08-21 11:37 Review->Improve 阅读(278) 评论(0) 推荐(0) 编辑
摘要: In universe Earth C-137, Rick discovered a special form of magnetic force between two balls if they are put in his new invented basket. Rick has n emp 阅读全文
posted @ 2020-08-17 07:08 Review->Improve 阅读(819) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 37 下一页