Follow Up Question for Interview Preparations
I see that many people got confused by the language of the question, but still this question seems easy.\nIf this question were to appear in a interview, it wil
I see that many people got confused by the language of the question, but still this question seems easy.\nIf this question were to appear in a interview, it will be a warm up question and then it will be slightly modified to add complexity.\n\nOne such question - How can we handle if there are multiple queries for getting range sum ? i.e. ```getRangeSumBST(int low, int high)``` is called again and again with different low, high values. \nHow would you optimize? \n\n\n\n
[]