Absolute Value Geeks For Geeks

 Problem Link:


Absolute Value | Practice | GeeksforGeeks


Solution:



class Solution {

    public int absolute(int I) {

        return Math.abs(I);

    }

}


Time:O(1)

Space:O(1)

Auxillary Space:O(1)


Comments

Popular posts from this blog

Solutions Of Practice Questions Dated 01-06-2022

CODEFORCES SPY DETECTED ROUND 713

Maximum Winning Score Geeks For Geeks