摘要: 题目描述 题干: 给你一个整数数组 nums ,设计算法来打乱一个没有重复元素的数组。 实现 Solution class: Solution(int[] nums) 使用整数数组 nums 初始化对象 int[] reset() 重设数组到它的初始状态并返回 int[] shuffle() 返回数 阅读全文
posted @ 2021-11-22 10:09 21岁还不是架构师 阅读(125) 评论(0) 推荐(0) 编辑