摘要: 原题链接在这里:https://leetcode.com/problems/single-element-in-a-sorted-array/ 题目: You are given a sorted array consisting of only integers where every eleme 阅读全文
posted @ 2019-12-16 10:40 Dylan_Java_NYC 阅读(298) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/toeplitz-matrix/ 题目: A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element. 阅读全文
posted @ 2019-12-16 10:08 Dylan_Java_NYC 阅读(364) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/valid-square/ 题目: Given the coordinates of four points in 2D space, return whether the four points could constru 阅读全文
posted @ 2019-12-16 10:01 Dylan_Java_NYC 阅读(317) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/intersection-of-three-sorted-arrays/ 题目: Given three integer arrays arr1, arr2 and arr3 sorted in strictly incre 阅读全文
posted @ 2019-12-16 09:09 Dylan_Java_NYC 阅读(1489) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/unique-paths-iii/ 题目: On a 2-dimensional grid, there are 4 types of squares: 1 represents the starting square. T 阅读全文
posted @ 2019-12-16 08:59 Dylan_Java_NYC 阅读(224) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/find-the-town-judge/ 题目: In a town, there are N people labelled from 1 to N. There is a rumor that one of these 阅读全文
posted @ 2019-12-16 06:54 Dylan_Java_NYC 阅读(309) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/pancake-sorting/ 题目: Given an array A, we can perform a pancake flip: We choose some positive integer k <= A.len 阅读全文
posted @ 2019-12-16 06:11 Dylan_Java_NYC 阅读(631) 评论(0) 推荐(0)