04 2018 档案

摘要:【题目描述】 Given n and k, return the k-th permutation sequence. Notice:n will be between 1 and 9 inclusive. 给定n和k,求123..n组成的排列中的第k个排列。 【注】1 ≤ n ≤ 9 【题目链接】 阅读全文

posted @ 2018-04-21 08:41 bokeyyy 阅读(83) 评论(0) 推荐(0)

摘要:【题目描述】 Given two array of integers(the first array is array A, the second array is array B), now we are going to find a element in array A which is A[ 阅读全文

posted @ 2018-04-21 08:40 bokeyyy 阅读(93) 评论(0) 推荐(0)

摘要:【题目描述】 Given a string, find the length of the longest substring without repeating characters. 给定一个字符串,请找出其中无重复字符的最长子字符串。 【题目链接】 www.lintcode.com/en/pr 阅读全文

posted @ 2018-04-20 23:46 bokeyyy 阅读(103) 评论(0) 推荐(0)

摘要:【题目描述】 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate(i, ai).n vertical lines are drawn such that the two 阅读全文

posted @ 2018-04-19 23:32 bokeyyy 阅读(101) 评论(0) 推荐(0)

摘要:【题目描述】 Given an integer n, generate a square matrix filled with elements from 1 to n^2 in spiral order. 给你一个数n生成一个包含1-n^2的螺旋形矩阵 【题目链接】 www.lintcode.co 阅读全文

posted @ 2018-04-18 23:37 bokeyyy 阅读(456) 评论(0) 推荐(0)

摘要:【题目描述】 Write a program to find the node at which the intersection of two singly linked lists begins. Notice: If the two linked lists have no intersect 阅读全文

posted @ 2018-04-15 23:08 bokeyyy 阅读(82) 评论(0) 推荐(0)

摘要:【题目描述】 Construct minimum number by reordering a given non-negative integer array. Arrange them such that they form the minimum number. Notice:The resu 阅读全文

posted @ 2018-04-13 23:15 bokeyyy 阅读(106) 评论(0) 推荐(0)

摘要:【题目描述】 For the given binary tree, return a deep copy of it. 深度复制一个二叉树,给定一个二叉树,返回一个他的克隆品。 【题目链接】 www.lintcode.com/en/problem/clone-binary-tree/ 【题目解析】 阅读全文

posted @ 2018-04-13 23:14 bokeyyy 阅读(168) 评论(0) 推荐(0)

摘要:【题目描述】 Given a matrix of mxn elements (m rows,n columns), return all elements of the matrix in spiral order. 给定一个包含mxn个要素的矩阵,(m行,n列),按照螺旋顺序,返回该矩阵中的所有要 阅读全文

posted @ 2018-04-11 21:35 bokeyyy 阅读(95) 评论(0) 推荐(0)

摘要:【题目描述】 Partition an integers array into odd number first and even number second. 分割一个整数数组,使得奇数在前偶数在后。 【题目链接】 www.lintcode.com/en/problem/partition-arr 阅读全文

posted @ 2018-04-11 21:33 bokeyyy 阅读(139) 评论(0) 推荐(0)

摘要:2018届全国普通高校毕业生预计820万人,95后开始奔赴求职现场。 如果你也是八百万中的一个,那你是否注意到应届毕业生人数在增加,归国海归人数在增加,跳槽再择业的人数在增加的现状。 虽然每年都是“史上最难就业季”,但是每年绝大部分的同学仍然能找到工作,一部分同学还找到了不错的工作,其中收到的off 阅读全文

posted @ 2018-04-03 20:57 bokeyyy 阅读(120) 评论(0) 推荐(0)

导航