Let me work with this pretending ive not read the atrocities written by the outhor
Came back to refresh my memory in python after a long time out and every time i read Find max(abs(length(x) − length(y))) i just got more dumber
Find max(abs(length(x) − length(y)))
wooooow
lol. I also completley forgot about that. I guess the test cases ignored that. but you could still implement it
Never knew a method like that existed. Learned something new
In terms of time complexity, using count() is not very efficient because for each character in the string, you are iterating through the entire string again to count its occurrences.
This comment is hidden because it contains spoiler information about the solution
Your are right Brother
Really clever but I wouldn't consider it best practice
Microsoft needs you ASAP!!
HMMMM Python is sweet
Quite an interesting question
Loading collection data...
Let me work with this pretending ive not read the atrocities written by the outhor
Came back to refresh my memory in python after a long time out and every time i read
Find max(abs(length(x) − length(y)))
i just got more dumberwooooow
lol. I also completley forgot about that. I guess the test cases ignored that. but you could still implement it
Never knew a method like that existed. Learned something new
In terms of time complexity, using count() is not very efficient because for each character in the string, you are iterating through the entire string again to count its occurrences.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Your are right Brother
Really clever but I wouldn't consider it best practice
This comment is hidden because it contains spoiler information about the solution
Microsoft needs you ASAP!!
HMMMM Python is sweet
Quite an interesting question