08 2022 档案

摘要: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,...,xn,yn]. Example 阅读全文
posted @ 2022-08-29 14:19 CNoodle 阅读(129) 评论(0) 推荐(0)
摘要:You are given a directed graph with n nodes labeled from 0 to n - 1, where each node has exactly one outgoing edge. The graph is represented by a give 阅读全文
posted @ 2022-08-14 14:50 CNoodle 阅读(91) 评论(0) 推荐(0)
摘要:You are given an n x n integer matrix grid. Generate an integer matrix maxLocal of size (n - 2) x (n - 2) such that: maxLocal[i][j] is equal to the la 阅读全文
posted @ 2022-08-14 14:41 CNoodle 阅读(334) 评论(0) 推荐(0)
摘要:Given an m x n board of characters and a list of strings words, return all words on the board. Each word must be constructed from letters of sequentia 阅读全文
posted @ 2022-08-13 11:29 CNoodle 阅读(146) 评论(0) 推荐(0)
摘要:On a single-threaded CPU, we execute a program containing n functions. Each function has a unique ID between 0 and n-1. Function calls are stored in a 阅读全文
posted @ 2022-08-07 09:09 CNoodle 阅读(101) 评论(0) 推荐(0)
摘要:You are given a stream of records about a particular stock. Each record contains a timestamp and the corresponding price of the stock at that timestam 阅读全文
posted @ 2022-08-03 08:14 CNoodle 阅读(218) 评论(0) 推荐(0)
摘要:There are n cars going to the same destination along a one-lane road. The destination is target miles away. You are given two integer array position a 阅读全文
posted @ 2022-08-01 15:20 CNoodle 阅读(141) 评论(0) 推荐(0)