摘要:
alpine 镜像 软件源修改为国内的 修改时区为国内 安装字体 FROM openjdk:8-alpine ENV LANG en_US.UTF-8 RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/ 阅读全文
摘要:
Convert Sorted Array to Binary Search Tree Given an integer array nums where the elements are sorted in ascending order, convert it to a height-balanc 阅读全文
摘要:
Valid Palindrome A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characte 阅读全文
摘要:
Intersection of Two Linked Lists Given the heads of two singly linked-lists headA and headB, return the node at which the two lists intersect. If the 阅读全文
摘要:
Minimum Depth of Binary Tree Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the ro 阅读全文
摘要:
Count Largest Group You are given an integer n. Each number from 1 to n is grouped according to the sum of its digits. Return the number of groups tha 阅读全文
摘要:
Reverse Only Letters Given a string s, reverse the string according to the following rules: All the characters that are not English letters remain in 阅读全文
摘要:
Pascal's Triangle II Given an integer rowIndex, return the rowIndexth (0-indexed) row of the Pascal's triangle. In Pascal's triangle, each number is t 阅读全文
摘要:
Path Sum Given the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path such that adding up all the values 阅读全文
摘要:
Maximum Product of Three Numbers Given an integer array nums, find three numbers whose product is maximum and return the maximum product. Example 1: I 阅读全文