摘要:
Given an array of words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justif 阅读全文
posted @ 2019-04-25 22:26
程序媛詹妮弗
阅读(178)
评论(0)
推荐(0)
摘要:
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. Example 1: Example 2: NOTE: input types have been 阅读全文
posted @ 2019-04-25 21:58
程序媛詹妮弗
阅读(311)
评论(0)
推荐(0)
摘要:
Given a non-empty binary search tree and a target value, find k values in the BST that are closest to the target. Note: Given target value is a floati 阅读全文
posted @ 2019-04-25 13:40
程序媛詹妮弗
阅读(194)
评论(0)
推荐(0)
摘要:
1 [leetcode]243. Shortest Word Distance最短单词距离 Two Pointers 2 [leetcode]244. Shortest Word Distance II最短单词距离(允许连环call) HashMap+Merge Sort 3 [leetcode]2 阅读全文
posted @ 2019-04-25 05:56
程序媛詹妮弗
阅读(438)
评论(0)
推荐(0)
浙公网安备 33010602011771号