标签归档:leetcode

RSS feed of leetcode

[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, ?, :, T and F (T ...

继续阅读

[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 ...

继续阅读