文章 2022-02-16 来自:开发者社区

​LeetCode刷题实战524:通过删除字母匹配到字典里最长单词

今天和大家聊的问题叫做 通过删除字母匹配到字典里最长单词,我们先来看题面:https://leetcode-cn.com/problems/longest-word-in-dictionary-through-deleting/Given a string s and a string array dictionary, return the longest string in the dict....

文章 2022-02-16 来自:开发者社区

​LeetCode刷题实战316:去除重复字母

今天和大家聊的问题叫做 去除重复字母,我们先来看题面:https://leetcode-cn.com/problems/remove-duplicate-letters/Given a string s, remove duplicate letters so that every letter appears once and only once. You must make sure you....

文章 2022-02-15 来自:开发者社区

​LeetCode刷题实战242:有效的字母异位词

今天和大家聊的问题叫做 有效的字母异位词,我们先来看题面:https://leetcode-cn.com/problems/valid-anagram/Given two strings s and t, return true if t is an anagram of s, and false otherwise.给定两个字符串 s 和 t ,编写一个函数来判断 t 是否是 s 的字母异位词....

文章 2022-02-15 来自:开发者社区

​LeetCode刷题实战17: 电话号码的字母组合

今天和大家聊的问题叫做电话号码的字母组合 ,我们先来看题面:https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number/ Given a string containing digits from 2-9 inclusive, return all possible letter combinations...

​LeetCode刷题实战17: 电话号码的字母组合

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

算法编程

开发者社区在线编程频道官方技术圈。包含算法资源更新,周赛动态,每日一题互动。

+关注
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等