Skip to content

Conversation

Dipanita45
Copy link

No description provided.

Create Maximum Difference between adjacent elements in a Circular Arr…
Create Minimize the Maximum Difference of Pairs.java
Create Maximum Difference By Remapping a Digit.java
Create Max Difference You Can Get From Changing An Integer.cpp
Time Complexity : O(N)
Space Complexity: O(100001)
Create Partition Array Such That Maximum Difference is K.java
/**
Time Complexity (TC): O(n), where n is the length of the input string.
We go through the string once to skip spaces and read digits.

Space Complexity (SC): O(1)
No extra space is used apart from a few variables (sign, base, i).
*/
Time Complexity : O(N)
Space Complexity: O(N)
Create Sum of k-Mirror Numbers.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant