上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: 题目 Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: Input: head = [1,2,3,4,5] Output: [5,4,3,2,1] Ex 阅读全文
posted @ 2022-03-08 14:26 frankming 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 题目 You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following de 阅读全文
posted @ 2022-03-08 14:05 frankming 阅读(23) 评论(0) 推荐(0) 编辑
摘要: ## 简介 ansible回调插件(callback plugins)允许为事件添加一些额外响应。这里的事件包括了执行任务(task)的结果,例如(ok、failed、unreachable、skipped),以及执行剧本(playbook)的过程(start、hosts_matched、task_ 阅读全文
posted @ 2022-03-07 17:44 frankming 阅读(1397) 评论(0) 推荐(0) 编辑
摘要: 题目 You are given the heads of two sorted linked lists list1 and list2. Merge the two lists in a one sorted list. The list should be made by splicing t 阅读全文
posted @ 2022-03-03 23:58 frankming 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 题目 You are given an m x n grid where each cell can have one of three values: 0 representing an empty cell, 1 representing a fresh orange, or 2 represe 阅读全文
posted @ 2022-03-03 16:15 frankming 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an m x n binary matrix mat, return the distance of the nearest 0 for each cell. The distance between two adjacent cells is 1. Example 1: Inpu 阅读全文
posted @ 2022-03-03 00:16 frankming 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 题目 You are given two binary trees root1 and root2. Imagine that when you put one of them to cover the other, some nodes of the two trees are overlappe 阅读全文
posted @ 2022-03-01 23:56 frankming 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 题目 You are given an m x n binary matrix grid. An island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) You 阅读全文
posted @ 2022-03-01 23:18 frankming 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 题目 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 integers 阅读全文
posted @ 2022-02-27 23:55 frankming 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 题目 Given two strings s1 and s2, return true if s2 contains a permutation of s1, or false otherwise. In other words, return true if one of s1's permuta 阅读全文
posted @ 2022-02-27 01:52 frankming 阅读(19) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页