
oj
文章平均质量分 75
Rechar_Deng
Still & Will
展开
-
Leetcode: Maximum Product of Word Lengths
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assume that each word will contain only lower case le原创 2015-12-16 20:02:50 · 1571 阅读 · 0 评论 -
leetcode: Remove Duplicate Letters
Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your result is the smallest in lexicographical order a原创 2015-12-17 13:38:48 · 1221 阅读 · 1 评论 -
Leetcode: Decode ways
A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, determine the total nu原创 2015-12-18 17:09:33 · 865 阅读 · 0 评论