Given 10 web sockets which will produce sorted string at different time period. Design an API that can provide instance merge of sorted string (merge 10 sorted strings into one)
Anonymous
I use observer pattern to solve this problem. And the merge algorithm is comparatively easy.
Check out your Company Bowl for anonymous work chats.