Deprecated: Creation of dynamic property lastRSS::$cache_dir is deprecated in /www/wwwroot/name104.com/00rss.php on line 45
Deprecated: Creation of dynamic property lastRSS::$cache_sqlite is deprecated in /www/wwwroot/name104.com/00rss.php on line 46
Deprecated: Creation of dynamic property lastRSS::$cache_time is deprecated in /www/wwwroot/name104.com/00rss.php on line 47
Deprecated: Creation of dynamic property lastRSS::$rsscp is deprecated in /www/wwwroot/name104.com/lastRSS.php on line 234
Reverse Pairs - LeetCode Can you solve this real interview question? Reverse Pairs - Given an integer array nums, return the number of reverse pairs in the array A reverse pair is a pair (i, j) where: * 0 <= i < j < nums length and * nums[i] > 2 * nums[j] Example 1: Input: nums = [1,3,2,3,1] Output: 2 Explanation: The reverse pairs are: (1, 4) --> nums[1] = 3, nums[4] = 1, 3 > 2 * 1 (3, 4) --> nums[3] = 3, nums[4
Majority Element - LeetCode Given an array nums of size n, return the majority element The majority element is the element that appears more than ⌊n 2⌋ times You may assume that the majority element always exists in the array Original C++ Example 1: Input: nums = [3,2,3] Output: 3 Example 2: Input: nums = [2,2,1,1,1,2,2] Output: 2 Constraints: n == nums length 1 <= n <= 5 * 10 4 -10 9 <= nums [i] <= 10 9 The
Login - LeetCode Login to LeetCode Online Interview Login with LeetCode account or register
Valid Palindrome - LeetCode Can you solve this real interview question? Valid Palindrome - A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the same forward and backward Alphanumeric characters include letters and numbers Given a string s, return true if it is a palindrome, or false otherwise Example 1: Input: s = "A man
Move Zeroes - LeetCode Can you solve this real interview question? Move Zeroes - Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements Note that you must do this in-place without making a copy of the array Example 1: Input: nums = [0,1,0,3,12] Output: [1,3,12,0,0] Example 2: Input: nums = [0] Output: [0] Constraints: * 1 <= nums length <= 104
Quest - LeetCode Level up your coding skills and quickly land a job This is the best place to expand your knowledge and get prepared for your next interview
Reverse Integer - LeetCode Can you solve this real interview question? Reverse Integer - Given a signed 32-bit integer x, return x with its digits reversed If reversing x causes the value to go outside the signed 32-bit integer range [-231, 231 - 1], then return 0 Assume the environment does not allow you to store 64-bit integers (signed or unsigned) Example 1: Input: x = 123 Output: 321 Example 2: Input: x = -123
Store - LeetCode Level up your coding skills and quickly land a job This is the best place to expand your knowledge and get prepared for your next interview
Super Easy Problems - LeetCode Level up your coding skills and quickly land a job This is the best place to expand your knowledge and get prepared for your next interview