mrlonelyjtr's blog

写BUG的程序猿


  • Home

  • Categories

  • Archives

  • Tags

  • Search

[LeetCode] Problem 126 - Word Ladder II

Posted on 2019-06-01 | In Algorithm , LeetCode
Given two words (beginWord and endWord), and a dictionary’s word list, find all shortest transformation sequence(s) from beginWord to endWord, such th ...
Read more »

[LeetCode] Problem 127 - Word Ladder

Posted on 2019-05-31 | In Algorithm , LeetCode
Given two words (beginWord and endWord), and a dictionary’s word list, find the length of shortest transformation sequence from beginWord to endWord, ...
Read more »

[LeetCode] Problem 212 - Word Search II

Posted on 2019-05-30 | In Algorithm , LeetCode
Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adja ...
Read more »

[LeetCode] Problem 79 - Word Search

Posted on 2019-05-30 | In Algorithm , LeetCode
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 “adjac ...
Read more »

[LeetCode] Problem 557 - Reverse Words in a String III

Posted on 2019-05-30 | In Algorithm , LeetCode
Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. E ...
Read more »

[LintCode] Problem 927 - Reverse Words in a String II

Posted on 2019-05-30 | In Algorithm , LintCode
Given an input character array, reverse the array word by word. A word is defined as a sequence of non-space characters. The input character array doe ...
Read more »

[LeetCode] Problem 151 - Reverse Words in a String

Posted on 2019-05-30 | In Algorithm , LeetCode
Given an input string, reverse the string word by word. ExampleNo.1Input: “the sky is blue” Output: “blue is sky the” No.2Input: “ hello world! “ Ou ...
Read more »

[LeetCode] Problem 541 - Reverse String II

Posted on 2019-05-30 | In Algorithm , LeetCode
Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string. If there ar ...
Read more »

[LeetCode] Problem 344 - Reverse String

Posted on 2019-05-30 | In Algorithm , LeetCode
Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space for another array, yo ...
Read more »

[LeetCode] Problem 872 - Leaf-Similar Trees

Posted on 2019-05-30 | In Algorithm , LeetCode
Consider all the leaves of a binary tree. From left to right order, the values of those leaves form a leaf value sequence. For example, in the given ...
Read more »
1…373839…78
mrlonelyjtr

mrlonelyjtr

间歇性踌躇满志,持续性混吃等死

780 posts
18 categories
18 tags
Github
© 2020 mrlonelyjtr
Powered by Hexo
Theme - NexT.Pisces