原创 leetcode DataBase

175.Combine Two TablesSELECT FirstName, LastName, City, StateFROM PersonLEF

原创 教務管理系統-數據庫2

第一版在實現hibernate持久化時發現點問題drop database if exists school;create database scho

原创 教務管理系統-數據庫設計初稿

drop database if exists school;create database school;use school;create use

原创 17. Letter Combinations of a Phone Number

Given a digit string, return all possible letter combinations that the numb

原创 13.Roman to Intege

public static int romanToInt(String s) { String roman = "IVXLCDM"; int [] n

原创 數據操縱

數據操縱與事務控制INSERT INTO table_name[(column[,column..])] VALUES(value[,value..]

原创 MySQL之數據庫模型設計-1 第一範式、第二範式、第三範式理解

下面來介紹數據庫模型設計之第一範式、第二範式、第三範式數據庫範式一般滿足第三範式足矣(1)第一範式(無重複的列) 定義:數據庫表的每一列都是不可分割的

原创 數據庫MySQL基礎——增刪查改

常用增刪查改SQL語句的語法格式1.增加數據(1)insert into 表 (字段1,字段2.…) values (值1,值2.…)注意:字段跟值的

原创 22. Generate Parentheses

Given n pairs of parentheses, write a function to generate all combinations

原创 20. Valid Parentheses

Given a string containing just the characters '(', ')', '{', '}', '[' and '

原创 16. 3Sum Closest

Given an array S of n integers, find three integers in S such that the sum

原创 18. 4Sum

Given an array S of n integers, are there elements a, b, c, and d in S such

原创 15. 3Sum

public class Solution { public List> threeSum(int[] nums) { List>

原创 oracle函數

字符串函數UPPER LOWERINITCAP 首字母大寫CONCAT(char1,char2)連接SUBSTR(char,[m[,n]])獲取子串,

原创 19. Remove Nth Node From End of List

Given a linked list, remove the nth node from the end of list and return it