Design Router communication Router A should be able to send message to Router B and Router B should not be exposed to outer world Router B should send message to router c and now this time router b should be exposed to outer world not just through router A. Lastly, Router C is also exposed to to A and B and either A or B or both can send message to C to the same instance of C.
Sigiloso
I can say that the interviewer was not involved with interview process for sure. I was designing router a to router b communication using delegation pattern and then he asked to design it for B and C and then asked me for a-c too. I was using delegation and protocol to define router types and an enums to initialise a give router type. For the last question I was designing it using object pool. At the end he said yeah I think you are on the right track. I just hate this when you don’t get enough feedback and you know you are doing this all right. Interview processes should be communicative enough to let the candidate know what they are lacking not just a system email that we appreciate your time and now going with other candidates. Feedback should be improved and you can’t expect the most resilient system design in phone screening on coderpad.