摘要:
题目描述: 给你一个字符串数组,请你将字母异位词 组合在一起。可以按任意顺序返回结果列表。 示例 1: 输入: strs = ["eat", "tea", "tan", "ate", "nat", "bat"] 输出: [["bat"],["nat","tan"],["ate","eat","tea 阅读全文
posted @ 2026-01-05 21:10
Pluto134340
阅读(1)
评论(0)
推荐(0)
摘要:
1、暴力枚举 num.length 获取长度 返回数组 int[]{i,j} class Solution { public int[] twoSum(int[] nums, int target) { int n = nums.length; for(int i = 0;i<n-1;i++){ f 阅读全文
posted @ 2026-01-05 20:05
Pluto134340
阅读(4)
评论(0)
推荐(0)

浙公网安备 33010602011771号