上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页

2014年7月27日

amazon 汇总

摘要: 1. what is hash table? how to implement in C? how to deal withconflicts? (linkedlist, linear probing, double hashing...etc)什么是hashtable, hash function... 阅读全文

posted @ 2014-07-27 14:15 brave_bo 阅读(220) 评论(0) 推荐(0)

amazon 设计 5 hotel and restaurant reservation system

摘要: there I write down the restaurant system.public class TimeSpan { String start; String end;}public class Table { int tableid; String type; ... 阅读全文

posted @ 2014-07-27 07:09 brave_bo 阅读(447) 评论(0) 推荐(0)

2014年7月26日

amazon 设计 4 vending machine

摘要: http://ydtech.blogspot.com/2010/06/state-design-pattern-by-example.html 阅读全文

posted @ 2014-07-26 03:46 brave_bo 阅读(741) 评论(0) 推荐(0)

2014年7月25日

amazon 设计 番外篇 1.

摘要: Design a phone book.package phonebook;public class PhoneBookEntry { private String name; private int number; public PhoneBookEntry(String... 阅读全文

posted @ 2014-07-25 07:22 brave_bo 阅读(270) 评论(0) 推荐(0)

2014年7月24日

amazon 设计 2 Furniture

摘要: public interface Furniture { public void stressTest(); public void fireTest();}public abstract class Chair implements Furniture {public abstract... 阅读全文

posted @ 2014-07-24 06:11 brave_bo 阅读(227) 评论(0) 推荐(0)

amazon.设计1. tic tac toe

摘要: //不觉中 已经全力找工作好久好久了。大概有1年半了。身心疲惫,不要放弃。曙光快来了。1.tic tac toe//http://www.ntu.edu.sg/home/ehchua/programming/java/JavaGame_TicTacToe.html 类似相关棋牌坐标对战游戏 一通百... 阅读全文

posted @ 2014-07-24 04:28 brave_bo 阅读(495) 评论(0) 推荐(0)

2014年7月22日

系统设计题杂

摘要: what happens when you type in a URL in browserIn an extremely rough and simplified sketch, assuming the simplest possible HTTP request, no proxies and... 阅读全文

posted @ 2014-07-22 02:01 brave_bo 阅读(189) 评论(0) 推荐(0)

2014年7月20日

longest common substring

摘要: public static String lcs(String a, String b){ int aLen = a.length(); int bLen = b.length(); if(aLen==0 || bLen==0) return ""; if(a.char... 阅读全文

posted @ 2014-07-20 10:35 brave_bo 阅读(121) 评论(0) 推荐(0)

2014年6月23日

多线程超级汇总

摘要: 1. what different between thread and process.since a process can consist of multiple threads, a thread could be considered a ‘lightweight’ process. Th... 阅读全文

posted @ 2014-06-23 07:01 brave_bo 阅读(241) 评论(0) 推荐(0)

2014年6月11日

o g 寻找最短

摘要: 给一个矩阵,每个格子上有三种可能,空房,阻碍物或者是保安,阻碍物不能进,空房四个方向都能进,要写代码给每个空房标记其离最近的保安的距离,比如000BGGB00B表示障碍物,G表示保安,0表示空房,应该标记为211BGGB11import java.util.ArrayList;import java... 阅读全文

posted @ 2014-06-11 07:40 brave_bo 阅读(273) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页

导航