档案日期2016的42

2016年10月17日 - 2016年10月23日

[LeetCode]Ternary Expression Parser

题目描述:

LeetCode 439. Ternary Expression Parser

Given a string representing arbitrarily nested ternary expressions, calculate the result of the expression. You can always assume that the given expression is valid and only consists of digits 0-9, ?, : ...

继续阅读

[LeetCode]Strong Password Checker

题目描述:

LeetCode 420. Strong Password Checker

A password is considered strong if below conditions are all met:

  1. It has at least 6 characters and at most 20 characters.
  2. It must contain at least one lowercase letter, at least one uppercase ...

继续阅读

[LeetCode]Minimum Genetic Mutation

题目描述:

LeetCode 433. Minimum Genetic Mutation

A gene string can be represented by an 8-character long string, with choices from "A","C","G","T". 

Suppose we need to investigate about a mutation (mutation from "start" to "end"), where ONE mutation is defined as ...

继续阅读

每日归档

上周

下周

归档