添加题目说明

This commit is contained in:
Nezuko-Wen 2020-06-29 02:04:03 +08:00
parent 12b951142e
commit f96e0519e0
8 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,6 @@
/**
* 矩阵中是否含有某字符串
*/
public class Question12 {
public static void main(String[] args) {
char[][] proNums = new char[][]{{'a','b','e'},{'c','d','f'},{'g','h','i'}};

View File

@ -1,3 +1,6 @@
/**
*
*/
public class Question13 {
static int maxRow = 3;
static int maxCol = 3;

View File

@ -1,3 +1,6 @@
/**
* 剪绳子绳子长度乘积最大
*/
public class Question14 {
public static void main(String[] args) {
int length = 8;

View File

@ -1,3 +1,6 @@
/**
* 一个数的二进制含有多少个1
*/
public class Question15 {
public static void main(String[] args) {
int a = 5;

View File

@ -1,3 +1,6 @@
/**
* 输出1-n位数1-3位数即1-999
*/
public class Question17 {
public static void main(String[] args) {
int condition = 3;

View File

@ -1,3 +1,6 @@
/**
* 寻找链表中环的入口节点
*/
public class Question23 {
public static void main(String[] args) {
ListNode head = new ListNode(1);

View File

@ -1,3 +1,6 @@
/**
* 合并两个有序链表
*/
public class Question25 {
public static void main(String[] args) {
ListNode head1 = new ListNode(6);

View File

@ -1,3 +1,6 @@
/**
* 一个树是否包含另一个树
*/
public class Question26 {
private static boolean findRoot = false;
public static void main(String[] args) {