原创 Leetcode: Department Highest Salary

The Employee table holds all employees. Every employee has an Id, a salary, and there is also a column for the departme

原创 Leetcode: Rank Scores

Write a SQL query to rank scores. If there is a tie between two scores, both should have the same ranking. Note that af

原创 Euler: Integer right triangles

If p is the perimeter of a right angle triangle with integral length sides, {a,b,c}, there are exactly three solutions

原创 Euler: Non-abundant sums

Problem A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For examp

原创 Hadoop系統的守護進程

    Hadoop系統在正常啓動後有五個重要的JVM進程,分別是NameNode,SecondaryNameNode,DataNode,JobTracker,TaskTracker。這五個進程肩負着HDFS在存儲和計算上的各項任務。

原创 Euler: Amicable numbers

Amicable numbers This is the 21st issue of Euler Project Challenge Game. Let d(n) be defined as the sum of proper divis

原创 Leetcode:Excel Sheet Column Number

Excel表格的列數 好久沒做leetcode,好久也沒寫博客。增加了許多很好的變化,Leetcode增加了Accepted Solutions Runtime Distribution,能夠看到自己的代碼的效率和別人比起來在怎麼樣的位子

原创 Euler: Counting Sundays

Problem 19. You are given the following information, but you may prefer to do some research for yourself. 1 Jan 1900 w