background picture of the home page

Hi,Historia!

这里是皮纳

力扣hoot100刷题

哈希(1、49、128) 两数之和(1) 判断target-nums[i]是否在HashMap中即可,时间复杂度O(n) 字母异位词分组(49) 利用java.util.Arrays工具类对char[]数组排序Arrays.sort(charNums);,对字母排序后转化回String,装填入Has

thumbnail of the cover of the post

@Autowired注解和@Resource注解

@Autowired和@Resource都是用于依赖注入的注解,但它们有以下主要区别: 来源不同: @Autowired是Spring框架提供的注解 @Resource是Java标准注解(JSR-250),来自javax.annotation包 装配方式不同: @Autowired默认按类型(byT

thumbnail of the cover of the post