摘要:【题目描述】 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 【题目链接】
阅读全文
摘要:【题目描述】 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[
阅读全文
摘要:【题目描述】 Given a string, find the length of the longest substring without repeating characters. 给定一个字符串,请找出其中无重复字符的最长子字符串。 【题目链接】 www.lintcode.com/en/pr
阅读全文
摘要:【题目描述】 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
阅读全文
摘要:【题目描述】 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
阅读全文
摘要:【题目描述】 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
阅读全文
摘要:【题目描述】 Construct minimum number by reordering a given non-negative integer array. Arrange them such that they form the minimum number. Notice:The resu
阅读全文
摘要:【题目描述】 For the given binary tree, return a deep copy of it. 深度复制一个二叉树,给定一个二叉树,返回一个他的克隆品。 【题目链接】 www.lintcode.com/en/problem/clone-binary-tree/ 【题目解析】
阅读全文
摘要:【题目描述】 Given a matrix of mxn elements (m rows,n columns), return all elements of the matrix in spiral order. 给定一个包含mxn个要素的矩阵,(m行,n列),按照螺旋顺序,返回该矩阵中的所有要
阅读全文
摘要:【题目描述】 Partition an integers array into odd number first and even number second. 分割一个整数数组,使得奇数在前偶数在后。 【题目链接】 www.lintcode.com/en/problem/partition-arr
阅读全文
摘要:2018届全国普通高校毕业生预计820万人,95后开始奔赴求职现场。 如果你也是八百万中的一个,那你是否注意到应届毕业生人数在增加,归国海归人数在增加,跳槽再择业的人数在增加的现状。 虽然每年都是“史上最难就业季”,但是每年绝大部分的同学仍然能找到工作,一部分同学还找到了不错的工作,其中收到的off
阅读全文