---
# System prepended metadata

title: LeetCode weekly competition

---

# LeetCode weekly competition

## 2299. Strong Password Checker II
![](https://i.imgur.com/YItZz3p.png)


points:
1. String to stream: String.chars(), it will return a IntStream
2. anyMatch(Predicate)/AllMatch(Predicate)
3. String.contains(CharSequence)
4. String.indexOf(int ch), return -1 when not found.


