摘要: Description: Find the minimum length word from a given dictionary words, which has all the letters from the string licensePlate. Such a word is said t 阅读全文
posted @ 2019-09-02 18:48 CodingYM 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Description: We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time y 阅读全文
posted @ 2019-09-02 16:36 CodingYM 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Description: Given an array of integers nums, sort the array in ascending order. Example 1: Input: [5,2,3,1] Output: [1,2,3,5] Example 2: Input: [5,1, 阅读全文
posted @ 2019-09-02 13:33 CodingYM 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Description: In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its o 阅读全文
posted @ 2019-09-02 09:54 CodingYM 阅读(126) 评论(0) 推荐(0) 编辑