上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 33 下一页
摘要: Maximum Depth of N-ary Tree Given a n-ary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root 阅读全文
posted @ 2023-01-22 19:58 iyiluo 阅读(13) 评论(0) 推荐(0)
摘要: Subtree of Another Tree Given the roots of two binary trees root and subRoot, return true if there is a subtree of root with the same structure and no 阅读全文
posted @ 2023-01-22 19:57 iyiluo 阅读(13) 评论(0) 推荐(0)
摘要: Range Sum Query - Immutable Given an integer array nums, handle multiple queries of the following type: Calculate the sum of the elements of nums betw 阅读全文
posted @ 2023-01-13 21:54 iyiluo 阅读(17) 评论(0) 推荐(0)
摘要: Power of Three Given an integer n, return true if it is a power of three. Otherwise, return false. An integer n is a power of three, if there exists a 阅读全文
posted @ 2023-01-13 21:53 iyiluo 阅读(12) 评论(0) 推荐(0)
摘要: Power of Four Given an integer n, return true if it is a power of four. Otherwise, return false. An integer n is a power of four, if there exists an i 阅读全文
posted @ 2023-01-13 21:53 iyiluo 阅读(34) 评论(0) 推荐(0)
摘要: Middle of the Linked List Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the 阅读全文
posted @ 2023-01-13 21:53 iyiluo 阅读(15) 评论(0) 推荐(0)
摘要: Uncommon Words from Two Sentences A sentence is a string of single-space separated words where each word consists only of lowercase letters. A word is 阅读全文
posted @ 2023-01-13 21:52 iyiluo 阅读(14) 评论(0) 推荐(0)
摘要: DI String Match A permutation perm of n + 1 integers of all the integers in the range [0, n] can be represented as a string s of length n where: s[i] 阅读全文
posted @ 2023-01-13 21:52 iyiluo 阅读(14) 评论(0) 推荐(0)
摘要: Find Common Characters Given a string array words, return an array of all characters that show up in all strings within the words (including duplicate 阅读全文
posted @ 2023-01-13 21:51 iyiluo 阅读(21) 评论(0) 推荐(0)
摘要: Set Mismatch You have a set of integers s, which originally contains all the numbers from 1 to n. Unfortunately, due to some error, one of the numbers 阅读全文
posted @ 2023-01-13 21:51 iyiluo 阅读(16) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 33 下一页