Reck Zhang

LV1
发表了文章

ACMSGURU 114 - Telecasting station

Every city in Berland is situated on Ox axis. The government of the country deci...

Reck Zhang
发表了文章

LeetCode 0198 - House Robber

You are a professional robber planning to rob houses along a street. Each house ...

Reck Zhang
发表了文章

LeetCode 0199 - Binary Tree Right Side View

Given a binary tree, imagine yourself standing on the right side of it, return t...

Reck Zhang
发表了文章

LeetCode 0231 - Power of Two

Given an integer, write a function to determine if it is a power of two.

Reck Zhang
发表了文章

Java 15 - 类加载过程

确保Class文件的字节流中包含的信息符合虚拟机的要求, 并且不会危害虚拟机的安全.

Reck Zhang
发表了文章

Java 16 - 序列化与反序列化

需要进行序列化的类需要实现Serializable接口, 但是不需要实现任何方法.

Reck Zhang
发表了文章

LeetCode 0200 - Number of Islands

Given a 2d grid map of '1's (land) and '0's (water), count the number of islands...

Reck Zhang
发表了文章

LeetCode 0201 - Bitwise AND of Numbers Range

Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of ...

Reck Zhang
发表了文章

LeetCode 0202 - Happy Number

Write an algorithm to determine if a number is “happy”.

Reck Zhang
发表了文章

LeetCode 0203 - Remove Linked List Elements

Remove all elements from a linked list of integers that have value val.

Reck Zhang
发表了文章

LeetCode 0183 - Customers Who Never Order

Suppose that a website contains two tables, the Customers table and the Orders t...

Reck Zhang
发表了文章

LeetCode 0184 - Department Highest Salary

The Employee table holds all employees. Every employee has an Id, a salary, and ...

Reck Zhang
发表了文章

LeetCode 0185 - Department Top Three Salaries

The Employee table holds all employees. Every employee has an Id, and there is a...

Reck Zhang
发表了文章

LeetCode 0187 - Repeated DNA Sequences

All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, fo...

Reck Zhang
发表了文章

LeetCode 0188 - Best Time to Buy and Sell Stock IV

Say you have an array for which the ith element is the price of a given stock on...

Reck Zhang
发表了文章

LeetCode 0189 - Rotate Array

Given an array, rotate the array to the right by k steps, where k is non-negativ...

Reck Zhang
发表了文章

LeetCode 0190 - Reverse Bits

Reverse bits of a given 32 bits unsigned integer.

Reck Zhang
发表了文章

LeetCode 0191 - Number of 1 Bits

Write a function that takes an unsigned integer and returns the number of ‘1’ bi...

Reck Zhang
发表了文章

LeetCode 0192 - Word Frequency

Write a bash script to calculate the frequency of each word in a text file words...

Reck Zhang
发表了文章

LeetCode 0193 - Valid Phone Numbers

Given a text file file.txt that contains list of phone numbers (one per line), w...

Reck Zhang

个人简介

个人成就

扫码关注云+社区

领取腾讯云代金券