07 2015 档案
摘要:1. Class Variable/Static Variable: Class variable is also known as static variable with "static" keyword inside the class but outside the methods. The
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/happy-number/ 题目: Write an algorithm to determine if a number is "happy". A happy number is a number defined by
阅读全文
摘要:原题链接在此: https://leetcode.com/problems/isomorphic-strings/ 题目: Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic
阅读全文
摘要:原题链接在此:https://leetcode.com/problems/sudoku-solver/ 题目: Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must sa
阅读全文
摘要:原题链接在此:https://leetcode.com/problems/n-queens/ 题目: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens
阅读全文
摘要:Final is a Keyword, final can be used in three different ways: final variable final method final class final variable 基本上就是 constant,一旦被赋值,就不能被变更;如果在c
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/valid-sudoku/ 题目: Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/contains-duplicate-ii/ 题目: Given an array of integers and an integer k, find out whether there are two distinct
阅读全文