select * from table where target_text like "3"; 等价于 select * from table where target_text = "3"; 查找出来的都是target_text 为 3 的数据 select * from table where target_text like "%3%"; 查找出来的都是target_text 包含 3 的数据 数据库本身大小写需要在建表的时…
1.给两个字符串s和t,判断t是否为s的重新排列后组成的单词. s = "anagram", t = "nagaram", return true. s = "rat", t = "car", return false. leetcode地址:https://leetcode.com/problems/valid-anagram/description/ (1)解法一:排序,O(n*logn) class Solution:…