摘要:
一、概述 本文将讨论Java static关键字的使用。它可以被用于类名、变量、方法和块。二、静态类 只有当一个类为嵌套类时才能使用static,这个嵌套类可以不使用外部类的对象就可以访问。例子:public class TestMain { static class X { ... 阅读全文
摘要:
题目链接:https://leetcode.com/problems/longest-palindromic-substring/题目:Given a stringS, find the longest palindromic substring inS. You may assume that t... 阅读全文
摘要:
题目链接:https://leetcode.com/problems/median-of-two-sorted-arrays/题目:There are two sorted arraysnums1andnums2of size m and n respectively. Find the media... 阅读全文