03 2018 档案
摘要:这是网上的练习,花了点时间用MySQL做了一下。 初始化数据库: 题目与解答:
阅读全文
摘要:Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng
阅读全文
摘要:You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai
阅读全文
摘要:Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex
阅读全文
摘要:将以以下形式记录常用的类信息: 1、继承关系 2、具体的底层实现 3、提供的初始化方法和方法 一、Map接口 二、Collection接口 public interface Collection<E> { int size(); boolean add(E element); Iterator<E>
阅读全文
摘要:单例应该是最简单的设计模式,下面是几种不同的写法: 1.线程安全的懒汉 2.饿汉模式 3.枚举 4.静态内部类 5.双重校验锁
阅读全文
摘要:问题描述:碰到这个问题是在使用MySQL显示排名时候引出来的,在执行SQL时的执行顺序问题。 a.显示排名,相同年龄不同排名 b.显示排名,相同年龄排名相同,相同年龄后的排名按照排名递增 c.相同年龄后的年龄排名按照之前排名总个数递增。 1 SELECT pid, name, age, rank F
阅读全文

浙公网安备 33010602011771号