Always update...
JVM is plantform dependent?
Is the JVM (Java Virtual Machine) platform dependent or platform independent? What is the advantage of using the JVM, and having Java be a translated lan
...
Question:
Design an algorithm to encode a list of strings to a string. The encoded string is then sent over the network and is decoded back to the original list of strings.
Machine 1 (sender) has the
...
Question
Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window.
For example,
12345MovingAverage m = new MovingAverage(3);m.next(1) = 1m.next
...
CMU-95702分布式系统
第6、9章总结笔记
Indirect Messaging:
Indirect communication is defined as communication between entities in a distributed system through an intermediary with no direct coupling between the
...
CMU-95702分布式系统
第19章总结笔记
Design issues in distributed mobile applications:
Association:
• Devices
– Appear and disappear from the space.
– Do so unpredictably
– May be totally new to the space.
– Or
...
CMU-95702分布式系统
ACID概念总结
ACID Transactions:
Atomic: All or nothing. No intermediate states are visible. No possibility that
only part of the transaction ran. If a transaction fails or aborts prior
...