Vulkan

2014年4月28日

Cracking The Coding Interview 9.7

摘要: //原文://// A circus is designing a tower routine consisting of people standing atop one another’s shoulders. For practical and aesthetic reasons, each ... 阅读全文

posted @ 2014-04-28 23:23 Vulkan 阅读(120) 评论(0) 推荐(0) 编辑

Cracking The Coding Interview 9.6

摘要: //原文://// Given a matrix in which each row and each column is sorted, write a method to find an element in it.// 从最右一排,从上到下,小于右上角的元素则下降,大于右上角的元素则左移找;... 阅读全文

posted @ 2014-04-28 22:00 Vulkan 阅读(92) 评论(0) 推荐(0) 编辑

Cracking The Coding Interview 9.6

摘要: //原文://// Given a sorted array of strings which is interspersed with empty strings, write a method to find the location of a given string.////Example:... 阅读全文

posted @ 2014-04-28 11:13 Vulkan 阅读(142) 评论(0) 推荐(0) 编辑

Cracking The Coding Interview 9.3

摘要: //Given a sorted array of n integers that has been rotated an unknown number of times, give an O(log n) algorithm that finds an element in the array. ... 阅读全文

posted @ 2014-04-28 10:45 Vulkan 阅读(125) 评论(0) 推荐(0) 编辑

导航