04 2023 档案
摘要:Given an integer num, return the number of steps to reduce it to zero. In one step, if the current number is even, you have to divide it by 2, otherwi
阅读全文
摘要:Given an array of integers arr and an integer d. In one step you can jump from index i to index: i + x where: i + x < arr.length and 0 < x <= d. i - x
阅读全文
摘要:Given the root of a binary tree, split the binary tree into two subtrees by removing one edge such that the product of the sums of the subtrees is max
阅读全文
摘要:You are given an integer array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum
阅读全文