上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
摘要: 去年机试: 选择题,网络编程和并发那块不是很懂,C++的指针要理解,sizeof的用法是热点,strlen 编程题。。。1、递归产生格雷码 2、找出出现次数最多的红包的钱数 3、两个非负大整数相乘 今年机试: 和去年机试差不多,编程题目:1、sql语句题目 2、堆栈的区别 3、给一个字符串,计算里面 阅读全文
posted @ 2016-03-25 22:27 wangb021 阅读(409) 评论(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 endpo 阅读全文
posted @ 2016-03-18 14:02 wangb021 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 题目: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sort 阅读全文
posted @ 2016-03-18 02:01 wangb021 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in th 阅读全文
posted @ 2016-03-18 01:26 wangb021 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 题目: Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a targe 阅读全文
posted @ 2016-03-14 21:49 wangb021 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 题目 :Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. 正确代码:package leetcode;public class newSetMatrixZeroe 阅读全文
posted @ 2016-03-14 18:07 wangb021 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, 阅读全文
posted @ 2016-03-14 14:44 wangb021 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example, Given the following matrix: Y 阅读全文
posted @ 2016-03-10 22:12 wangb021 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 待更~ 阅读全文
posted @ 2016-03-09 00:15 wangb021 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 转自: www.cnblogs.com/qinying/archive/2011/01/21/1940800.html 阅读全文
posted @ 2016-03-09 00:07 wangb021 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页