0 day streak
Anonymous · shared experience20 Aug 2023 · 5 views

Societe Generale: Integer stack in C++, then a generic one with templates

Interview question #Societe Generale SDE 1 DSA / coding

Problem. Implement a stack of integers in C++ with proper handling of edge cases.

Follow-up. Turn it into a generic stack using templates so it works for any element type.

Context. First technical round of an on-campus intern plus full-time drive. The same round also covered OS and OOP questions, a puzzle, two coding problems and SQL transactions. The candidate was selected.

0 comments

Comments 0

No comments yet. Ask the author something, or add what happened in your own round.