2016年1月27日

摘要: Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have t... 阅读全文
posted @ 2016-01-27 06:22 一心一念 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Given a sorted array of n integers, find the starting and ending position of a given target value.If the target is not found in the array, return [-1,... 阅读全文
posted @ 2016-01-27 04:10 一心一念 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Write an efficient algorithm that searches for a value in an m x n matrix, return the occurrence of it.This matrix has the following properties:Intege... 阅读全文
posted @ 2016-01-27 03:38 一心一念 阅读(728) 评论(0) 推荐(0) 编辑

导航