此商品已下架,若仍需天瓏代為查詢或代購書籍,請與門市客服人員聯繫,或 E-mail 至 service@tenlong.com.tw 將有專人為您服務。

Cracking Programming Interviews: 500 Questions with Solutions (Paperback)
暫譯: 破解程式設計面試:500 道問題與解答 (平裝本)

Sergei Nakariakov

  • 出版商: CreateSpace Independ
  • 出版日期: 2014-02-07
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 524
  • 裝訂: Paperback
  • ISBN: 1495459802
  • ISBN-13: 9781495459801
  • 相關分類: 職涯發展
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Part I Algorithms and Data Structures

1 Fundamentals

Approximating the square root of a number
Generating Permutation Efficiently
Unique 5-bit Sequences
Select Kth Smallest Element
The Non-Crooks Problem
Is this (almost) sorted?
Sorting an almost sorted list
The Longest Upsequence Problem
Fixed size generic array in C++
Seating Problem
Segment Problems
Exponentiation
Searching two-dimensional sorted array
Hamming Problem
Constant Time Range Query
Linear Time Sorting
Writing a Value as the Sum of Squares
The Celebrity Problem
Transport Problem
Find Length of the rope
Switch Bulb Problem
In, On or Out
The problem of the balanced seg
The problem of the most isolated villages

2 Arrays

The Plateau Problem
Searching in Two Dimensional Sequence
The Welfare Crook Problem
2D Array Rotation
A Queuing Problem in A Post Office
Interpolation Search
Robot Walk
Linear Time Sorting
Write as sum of consecutive positive numbers
Print 2D Array in Spiral Order
The Problem of the Circular Racecourse
Sparse Array Trick
Bulterman’s Reshuffling Problem
Finding the majority
Mode of a Multiset
Circular Array
Find Median of two sorted arrays
Finding the missing integer
Finding the missing number with sorted columns
Re-arranging an array
Switch and Bulb Problem
Compute sum of sub-array
Find a number not sum of subsets of array
Kth Smallest Element in Two Sorted Arrays
Sort a sequence of sub-sequences
Find missing integer
Inplace Reversing
Find the number not occurring twice in an array

3 Trees

Lowest Common Ancestor(LCA) Problem
Spying Campaign


4 Dynamic Programming

Stage Coach Problem
Matrix Multiplication
TSP Problem
A Simple Path Problem
String Edit Distance
Music recognition
Max Sub-Array Problem

5 Graphs

Reliable distribution
Independent Set
Party Problem

6 Miscellaneous

Compute Next Higher Number
Searching in Possibly Empty Two Dimensional Sequence
Matching Nuts and Bolts Optimally
Random-number generation
Weighted Median
Compute a^n
Compute a^n revisited
Compute the product a × b
Compute the quotient and remainder
Compute GCD
Computed Constrained GCD
Alternative Euclid’ Algorithm
Revisit Constrained GCD
Compute Square using only addition and subtraction
Factorization
Factorization Revisited
Decimal Representation
Reverse Decimal Representation
Solve Inequality
Solve Inequality Revisited
Print Decimal Representation
Decimal Period Length
Sequence Periodicity Problem
Compute Function
Emulate Division and Modulus Operations
Sorting Array of Strings : Linear Time
LRU data structure
Exchange Prefix and Suffix

7 Parallel Algorithms

Parallel Addition
Find Maximum
Parallel Prefix Problem
Finding Ranks in Linked Lists
Finding the k th Smallest Element

8 Low Level Algorithms

Manipulating Rightmost Bits
Counting 1-Bits
Counting the 1-bits in an Array
Computing Parity of a word
Counting Leading/Trailing 0’s
Bit Reversal
Bit Shuffling
Integer Square Root
Newton’s Method
Integer Exponentiation
LRU Algorithm
Shortest String of 1-Bits
Fibonacci words
Computation of Power of 2
Round to a known power of 2
Round to Next Power of 2
Efficient Multiplication by Constants
Bit-wise Rotation
Gray Code Conversion
Average of Integers without Overflow
Least/Most Significant 1 Bit
Next bit Permutation
Modulus Division

Part II C++

8 General
9 Constant Expression
10 Type Specifier
11 Namespaces
12 Misc
13 Classes
14 Templates
15 Standard Library

商品描述(中文翻譯)

第一部分 演算法與資料結構

1 基礎知識

近似一個數字的平方根
有效生成排列
獨特的5位元序列
選擇第K小的元素
非詐騙者問題
這個(幾乎)已排序了嗎?
排序一個幾乎已排序的列表
最長上升子序列問題
C++中的固定大小泛型陣列
座位問題
區段問題
指數運算
搜尋二維已排序陣列
漢明問題
常數時間範圍查詢
線性時間排序
將值寫成平方和
名人問題
運輸問題
找出繩子的長度
開關燈泡問題
在、上或外
平衡區段的問題
最孤立村莊的問題

2 陣列

高原問題
在二維序列中搜尋
福利詐騙者問題
二維陣列旋轉
郵局中的排隊問題
插值搜尋
機器人行走
線性時間排序
寫成連續正整數的和
以螺旋順序列印二維陣列
圓形賽道的問題
稀疏陣列技巧
Bulterman的重排問題
找出多數
多重集合的眾數
圓形陣列
找出兩個已排序陣列的中位數
找出缺失的整數
找出有序列的缺失數字
重新排列陣列
開關與燈泡問題
計算子陣列的和
找出不為陣列子集和的數字
兩個已排序陣列中的第K小元素
對子序列進行排序
找出缺失的整數
原地反轉
找出在陣列中不重複的數字

3 樹

最低公共祖先(LCA)問題
間諜行動

4 動態規劃

馬車問題
矩陣乘法
旅行推銷員問題(TSP)
簡單路徑問題
字串編輯距離
音樂識別
最大子陣列問題

5 圖形

可靠分配
獨立集
派對問題

6 其他

計算下一個更高的數字
在可能為空的二維序列中搜尋
最佳匹配螺母和螺栓
隨機數生成
加權中位數
計算 a^n
重新計算 a^n
計算乘積 a × b
計算商和餘數
計算最大公因數(GCD)
計算受限的最大公因數
替代歐幾里得算法
重新檢視受限的最大公因數
僅使用加法和減法計算平方
因式分解
重新檢視因式分解
十進位表示法
反向十進位表示法
解不等式
重新解不等式
列印十進位表示法
十進位週期長度
序列週期性問題
計算函數
模擬除法和取餘數操作
字串陣列排序:線性時間
LRU資料結構
交換前綴和後綴

7 平行演算法

平行加法
找出最大值
平行前綴問題
在鏈結串列中找出排名
找出第k小的元素

8 低階演算法

操作最右邊的位元
計算1位元的數量
計算陣列中的1位元數量
計算字的奇偶性
計算前導/尾隨0的數量
位元反轉
位元洗牌
整數平方根
牛頓法
整數指數運算
LRU算法
最短的1位元字串
費波那契字
計算2的冪
四捨五入到已知的2的冪
四捨五入到下一個2的冪
通過常數進行有效乘法
位元旋轉
格雷碼轉換
不溢出的整數平均值
最小/最大有效1位元
下一個位元排列
模除運算

第二部分 C++

8 一般
9 常數表達式
10 類型說明符
11 命名空間
12 其他
13 類別
14 模板
15 標準庫

最後瀏覽商品 (20)