06 2015 档案
摘要:博主,自学了两天,花了半天做出来的一个静态网页:作为一个妹子,博主对自己的审美观实在没有一点自信呀~捂脸~~
阅读全文
摘要:hashmap map key and value for highly efficient lookup.hashmap search used binary tree O(log2)main methodsint size();hashmap.put(key,value);Value get(k...
阅读全文
摘要:Rotate ListGiven a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3-...
阅读全文
摘要:Reverse Nodes in k-GroupGiven a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a...
阅读全文
摘要:Linklist定义:node includes pointer(next) and value区别(与Array):Array has indice,which is in sequence,LinkList has pointer to next.single list and double l...
阅读全文
摘要:Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all distinc...
阅读全文