Relative Content

Tag Archive for coding

Should I avoid using ‘break’ during a coding interview? [duplicate]

This question already has answers here: Are `break` and `continue` bad programming practices? (21 answers) Closed 9 years ago. I have an upcoming internship interview with Microsoft and, although I rarely use break in my own code, it does simplify things a lot of times and bring me to a solution faster when coding on […]

Ranked Choice System (PSDS)

Lets say we need to design a ranked choice voting system. A single person votes by handing in an ordered array of names.