程序媛詹妮弗
终身学习
摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. Example: 题意 给定一个01矩阵,找出其中全由1构成的最 阅读全文
posted @ 2019-05-31 16:02 程序媛詹妮弗 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Example 1: Example 2: 阅读全文
posted @ 2019-05-31 15:32 程序媛詹妮弗 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted f 阅读全文
posted @ 2019-05-31 07:46 程序媛詹妮弗 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. Example 1: Example 2: 题意 给定一个矩阵,只要某个元素为0,就把对应的整行整列都置0。 思 阅读全文
posted @ 2019-05-31 06:36 程序媛詹妮弗 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Given an absolute path for a file (Unix-style), simplify it. Or in other words, convert it to the canonical path. In a UNIX-style file system, a perio 阅读全文
posted @ 2019-05-31 03:13 程序媛詹妮弗 阅读(232) 评论(0) 推荐(0) 编辑
摘要: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p 阅读全文
posted @ 2019-05-31 02:45 程序媛詹妮弗 阅读(427) 评论(0) 推荐(0) 编辑
摘要: The set [1,2,3,...,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, we get the following seque 阅读全文
posted @ 2019-05-31 02:31 程序媛詹妮弗 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Unary Operations(一元操作): 单表操作 选择(Selection) ==>相当于SQL语句中的WHERE 语法: 举例: 表示从Students这个表中选出course = 'CM'的信息,结果为: 等价于下面的SQL语句: 投影(Projection) ==>相当于SQL语句中的 阅读全文
posted @ 2019-05-31 00:34 程序媛詹妮弗 阅读(6999) 评论(0) 推荐(0) 编辑