摘要:
题目: 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 Given a string, find the length of the longest substring without repeating characters. 示例 1: 示例 2: 示例 3: 解题思路: 暴力 阅读全文
摘要:
题目: 给定字符串 代表石头中宝石的类型,和字符串 代表你拥有的石头。 中每个字符代表了一种你拥有的石头的类型,你想知道你拥有的石头中有多少是宝石。 You're given strings representing the types of stones that are jewels, and 阅读全文