摘要: You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Return  阅读全文
posted @ 2021-11-01 03:21 苗妙苗 阅读(29) 评论(0) 推荐(0) 编辑
摘要: Given a circular integer array nums (i.e., the next element of nums[nums.length - 1] is nums[0]), return the next greater number for every element in  阅读全文
posted @ 2021-11-01 02:58 苗妙苗 阅读(20) 评论(0) 推荐(0) 编辑
摘要: There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is different. Yo 阅读全文
posted @ 2021-11-01 02:31 苗妙苗 阅读(45) 评论(0) 推荐(0) 编辑
摘要: Given an m x n matrix mat where every row is sorted in strictly increasing order, return the smallest common element in all rows. If there is no commo 阅读全文
posted @ 2021-11-01 01:47 苗妙苗 阅读(34) 评论(0) 推荐(0) 编辑