08 2015 档案
摘要:Question : Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are s...
阅读全文
摘要:Question :Search a 2D Matrix IIWrite an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integer...
阅读全文
摘要:Question : Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull. Follow up: Can you solve it without using...
阅读全文
摘要:Question :Bubble sort using singly-linked list群暉面試題Idea :在linked list 交換node與node時, 我們會想用換*next的方式。但是這裡是singly-linked list.還會需要previouslynode。其實這裡單純直接...
阅读全文
摘要:Question :Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[...
阅读全文

浙公网安备 33010602011771号