Object-Oriented Programming · Citadel · Hard
Requirements This phone-screen exercise is divided into three stages: Build a counter API. For a supplied key, increase that key's total and return its updated number of calls. Modify the counter so that concurrent threads can use it safely, and discuss the available synchronization techniques. Adapt the design for a single machine hosting several applications that need to use the same counter. Use the following compact interface to make the required behavior explicit: Every…
Checking your access…