摘要: 50. Pow(x, n) Implement pow(x, n), which calculates x raised to the power n (xn). Example 1: Example 2: Example 3: 阅读全文
posted @ 2019-02-24 22:37 mingL 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 49. Group Anagrams Given an array of strings, group anagrams together. Example: 阅读全文
posted @ 2019-02-24 22:36 mingL 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 48. Rotate Image You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the imag 阅读全文
posted @ 2019-02-24 22:34 mingL 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 47. Permutations II Given a collection of numbers that might contain duplicates, return all possible unique permutations. Example: 阅读全文
posted @ 2019-02-24 22:32 mingL 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 46. Permutations Given a collection of distinct integers, return all possible permutations. Example: 阅读全文
posted @ 2019-02-24 22:31 mingL 阅读(140) 评论(0) 推荐(0) 编辑