The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2.
Determine whether an integer is a palindrome. Do this without extra space.
上篇文章讲了下线程的创建及一些常用的方法,但是在使用的时候,大多数是采用了线程池来管理线程的创建,运行,销毁等过程。本篇将着重讲线程池的基础内容,包括通过线程池创建线程,线程池的基本信息等。...