lucifer

Results 95 comments of lucifer

1. filename should be problems/451.sort-characters-by-frequency.en.md 2. change 'Summary of Key Operations:' to 'Key Points' 3. remove ''' in the code section 4. 'Map Hash Map from left to right, during...

没错,确实只有几道题。并不是所有题目都在 anki 上记录。

## 题目地址(1558. 得到目标数组的最少函数调用次数) https://leetcode-cn.com/problems/minimum-numbers-of-function-calls-to-make-target-array/ ## 题目描述 ![](https://tva1.sinaimg.cn/large/0081Kckwly1gkb30zd602j30fx086aak.jpg) ``` 给你一个与 nums 大小相同且初始值全为 0 的数组 arr ,请你调用以上函数得到整数数组 nums 。 请你返回将 arr 变成 nums 的最少函数调用次数。 答案保证在 32 位有符号整数以内。   示例 1: 输入:nums = [1,5]...

## 题目地址(1521. 找到最接近目标值的函数值) https://leetcode-cn.com/problems/find-a-value-of-a-mysterious-function-closest-to-target/ ## 题目描述 ![](https://tva1.sinaimg.cn/large/008eGmZEly1gmvco08jr1j30hn08owex.jpg) ``` Winston 构造了一个如上所示的函数 func 。他有一个整数数组 arr 和一个整数 target ,他想找到让 |func(arr, l, r) - target| 最小的 l 和 r 。 请你返回 |func(arr, l, r)...