Doubt doubt doubt

Bhaiya kya mathematical defination ki jaroorat padegi space-time complexity ke liye ???

No
Generally code will be provided and you have to tell the complexity

But there is no harm in seeing the defination