摘要:
1. Weak references: In computer programming, a weak reference is a reference that does not protect the referenced object from collection by a garbage 阅读全文
摘要:
1. How would you write a socket client/server in Java The Client side: 2. Main Differences Betwen Java NIO and IO: IO NIOStream oriented Buffer orient 阅读全文
摘要:
1. HashMap vs HashTable vs ConcurrentHashMap 1). Thread -Safe : ConcurrentHashMap is thread-safe that is the code can be accessed by single thread at 阅读全文
摘要:
1.Implement a thread-safe (blocking) queue: 2. Memory consistency effects: As with other concurrent collections, actions in a thread prior to placing 阅读全文
摘要:
1. Dependency Injection Answer: Any application is composed of many objects that collaborate with each other to perform some useful stuff. Traditional 阅读全文
摘要:
标签: 动态规划 题目描述: There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color i 阅读全文
摘要:
标签: 动态规划 描述: Find the contiguous subarray within an array (containing at least one number) which has the largest product. Find the contiguous subarray 阅读全文