03 2023 档案

摘要:Find Smallest Letter Greater Than Target You are given an array of characters letters that is sorted in non-decreasing order, and a character target. 阅读全文
posted @ 2023-03-31 19:54 iyiluo 阅读(14) 评论(0) 推荐(0) 编辑
摘要:Find Pivot Index Given an array of integers nums, calculate the pivot index of this array. The pivot index is the index where the sum of all the numbe 阅读全文
posted @ 2023-03-31 19:54 iyiluo 阅读(14) 评论(0) 推荐(0) 编辑
摘要:Prime Number of Set Bits in Binary Representation Given two integers left and right, return the count of numbers in the inclusive range [left, right] 阅读全文
posted @ 2023-03-31 19:53 iyiluo 阅读(12) 评论(0) 推荐(0) 编辑
摘要:Maximize Sum Of Array After K Negations Given an integer array nums and an integer k, modify the array in the following way: choose an index i and rep 阅读全文
posted @ 2023-03-31 19:53 iyiluo 阅读(15) 评论(0) 推荐(0) 编辑
摘要:Flood Fill An image is represented by an m x n integer grid image where image[i][j] represents the pixel value of the image. You are also given three 阅读全文
posted @ 2023-03-31 19:53 iyiluo 阅读(13) 评论(0) 推荐(0) 编辑
摘要:Convert Integer to the Sum of Two No-Zero Integers No-Zero integer is a positive integer that does not contain any 0 in its decimal representation. Gi 阅读全文
posted @ 2023-03-29 20:37 iyiluo 阅读(9) 评论(0) 推荐(0) 编辑
摘要:Complement of Base 10 Integer The complement of an integer is the integer you get when you flip all the 0's to 1's and all the 1's to 0's in its binar 阅读全文
posted @ 2023-03-29 20:36 iyiluo 阅读(10) 评论(0) 推荐(0) 编辑
摘要:Duplicate Zeros Given a fixed-length integer array arr, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that ele 阅读全文
posted @ 2023-03-29 20:36 iyiluo 阅读(10) 评论(0) 推荐(0) 编辑
摘要:镜像:mcr.microsoft.com/java/jdk:8-zulu-alpine 故障现象: 今天发现 docker-compose 的 java 容器内无法 ping 互联网域名,但是可以 ping 互联网 ip 排查过程: 刚开始以为是 dns 问题,先重新配置了服务器 dns,又去配置 阅读全文
posted @ 2023-03-28 15:47 iyiluo 阅读(1210) 评论(0) 推荐(0) 编辑
摘要:Find the Distance Value Between Two Arrays Given two integer arrays arr1 and arr2, and the integer d, return the distance value between the two arrays 阅读全文
posted @ 2023-03-24 19:59 iyiluo 阅读(12) 评论(0) 推荐(0) 编辑
摘要:Check If All 1's Are at Least Length K Places Away Given an binary array nums and an integer k, return true if all 1's are at least k places away from 阅读全文
posted @ 2023-03-24 19:59 iyiluo 阅读(11) 评论(0) 推荐(0) 编辑
摘要:Number of Students Doing Homework at Given Time Given two integer arrays startTime and endTime and given an integer queryTime. The ith student started 阅读全文
posted @ 2023-03-24 19:58 iyiluo 阅读(14) 评论(0) 推荐(0) 编辑
摘要:Running Sum of 1d Array Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return the running sum of nu 阅读全文
posted @ 2023-03-24 19:58 iyiluo 阅读(11) 评论(0) 推荐(0) 编辑
摘要:Path Crossing Given a string path, where path[i] = 'N', 'S', 'E' or 'W', each representing moving one unit north, south, east, or west, respectively. 阅读全文
posted @ 2023-03-11 13:39 iyiluo 阅读(9) 评论(0) 推荐(0) 编辑
摘要:Count Odd Numbers in an Interval Range Given two non-negative integers low and high. Return the count of odd numbers between low and high (inclusive). 阅读全文
posted @ 2023-03-11 13:38 iyiluo 阅读(10) 评论(0) 推荐(0) 编辑
摘要:Make The String Great Given a string s of lower and upper case English letters. A good string is a string which doesn't have two adjacent characters s 阅读全文
posted @ 2023-03-11 13:38 iyiluo 阅读(14) 评论(0) 推荐(0) 编辑
摘要:Squares of a Sorted Array Given an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decr 阅读全文
posted @ 2023-03-11 13:37 iyiluo 阅读(13) 评论(0) 推荐(0) 编辑
摘要:Remove Outermost Parentheses A valid parentheses string is either empty "", "(" + A + ")", or A + B, where A and B are valid parentheses strings, and 阅读全文
posted @ 2023-03-11 13:37 iyiluo 阅读(13) 评论(0) 推荐(0) 编辑
摘要:Relative Sort Array Given two arrays arr1 and arr2, the elements of arr2 are distinct, and all elements in arr2 are also in arr1. Sort the elements of 阅读全文
posted @ 2023-03-11 13:37 iyiluo 阅读(12) 评论(0) 推荐(0) 编辑
摘要:Greatest Common Divisor of Strings For two strings s and t, we say "t divides s" if and only if s = t + ... + t (i.e., t is concatenated with itself o 阅读全文
posted @ 2023-03-11 13:37 iyiluo 阅读(17) 评论(0) 推荐(0) 编辑
摘要:Create Target Array in the Given Order Given two arrays of integers nums and index. Your task is to create target array under the following rules: Ini 阅读全文
posted @ 2023-03-11 13:36 iyiluo 阅读(14) 评论(0) 推荐(0) 编辑
摘要:Find Lucky Integer in An Array Given an array of integers arr, a lucky integer is an integer that has a frequency in the array equal to its value. Ret 阅读全文
posted @ 2023-03-11 13:36 iyiluo 阅读(12) 评论(0) 推荐(0) 编辑
摘要:String Matching in an Array Given an array of string words, return all strings in words that is a substring of another word. You can return the answer 阅读全文
posted @ 2023-03-11 13:36 iyiluo 阅读(18) 评论(0) 推荐(0) 编辑
摘要:Rectangle Overlap An axis-aligned rectangle is represented as a list [x1, y1, x2, y2], where (x1, y1) is the coordinate of its bottom-left corner, and 阅读全文
posted @ 2023-03-11 13:35 iyiluo 阅读(16) 评论(0) 推荐(0) 编辑
摘要:Shuffle String You are given a string s and an integer array indices of the same length. The string s will be shuffled such that the character at the 阅读全文
posted @ 2023-03-04 12:19 iyiluo 阅读(13) 评论(0) 推荐(0) 编辑
摘要:Shuffle the Array Given the array nums consisting of 2n elements in the form [x1,x2,...,xn,y1,y2,...,yn]. Return the array in the form [x1,y1,x2,y2,.. 阅读全文
posted @ 2023-03-04 12:19 iyiluo 阅读(11) 评论(0) 推荐(0) 编辑
摘要:Day of the Year Given a string date representing a Gregorian calendar date formatted as YYYY-MM-DD, return the day number of the year. Example 1: Inpu 阅读全文
posted @ 2023-03-04 12:19 iyiluo 阅读(13) 评论(0) 推荐(0) 编辑
摘要:Day of the Week Given a date, return the corresponding day of the week for that date. The input is given as three integers representing the day, month 阅读全文
posted @ 2023-03-04 12:19 iyiluo 阅读(8) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示