Infoblox interview question

1) Implement class dictating the custom memory allocation on heap 2) Matching parenthesis 3) Remove numbers from string and return only string 4) Top k elements

Interview Answer

Anonymous

21 Jun 2021

1) Make constructor private and expose a static method and handle allocation on heap 2) Using stack 3) Two pointer approach 4) Using std::Set