摘要:
先看题目:Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Example 2: Note: 给出一个长度在0到1000内的数 阅读全文
摘要:
先看题目描述: Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end index 阅读全文
摘要:
我们先来看题目描述: Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height 阅读全文
摘要:
主要内容来自MIT6.031 Software Construction课程及HIT 软件构造课程。 我们先来介绍两种类型空间的值: 一、 Space of representation values (表示空间) R 表示空间由事实上实现的实体值构成。换句话说,由不同的、对抽象类型的实现的对象相应 阅读全文