- 博客(3)
- 收藏
- 关注
原创 LeetCode Can Place Flowers
Problem:Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they would compete for water and both woul
2017-12-17 01:39:06 122
原创 LeetCode Text Justification
Problem:Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.You should pack your words in a greedy ap
2017-12-16 17:58:19 109
原创 LeetCode Word Search
ProblemGiven 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 "adjacent" cells are those horizontally
2017-12-15 00:08:24 108
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人