摘要:
LeetCode——Move Zeroes Question Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non 阅读全文
摘要:
LeetCode——Construct the Rectangle Question For a web developer, it is very important to know how to design a web page's size. So, given a specific rec 阅读全文
摘要:
LeetCode——Add Digits Question Given a non negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given 阅读全文
摘要:
LeetCode—— Invert Binary Tree Question invert a binary tree. Trivia: This problem was inspired by this original tweet by Max Howell: Google: 90% of ou 阅读全文
摘要:
LeetCode——Sum of Two Integers Question Calculate the sum of two integers a and b, but you are not allowed to use the operator + and . Example: Given a 阅读全文