摘要:
【题目】Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not pos... 阅读全文
摘要:
【题目】You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?【analyze】1.先对角线... 阅读全文
摘要:
【资源导航】1.[StackOverFlow]2.[GitHub]3.[CsdnCode]4.[TaoCode]5.[OSChinaCode]【开源导航】【博客导航】【学习导航】1.[慕课网](慕课网-国内最大的IT技能学习平台)2.[极客学院](极客学院IT在线教育平台)3.[网易云课堂](云课堂... 阅读全文
摘要:
【题目】Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after rainin... 阅读全文
摘要:
【题目】Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "ad... 阅读全文
摘要:
【题目】Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initi... 阅读全文