The next question interviewer would ask is.
the length of the string is not small. and if they mentioned it as m, we 
can't assume it to be constant,

anyway.. the formula O(nm log m) --> will be converted to  O(nm) or  O(n) 
based on what you assume m to be.

Another Question: log (m) goes constant, then m-> is also constant right? 
(constant base)

^Someone comment on my hash approach that can eliminate (log m)

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/algogeeks/-/_IibQkj2jAgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to