Pocket Gems Interview Question: Assume you have a method isSu... | Glassdoor

Interview Question

Software Engineer Interview San Francisco, CA

Assume you have a method isSubstring which checks if one

  word is a substring of another word. Given two strings, use only the isSubstring method to check if one string is a rotation of another string. (i.e. "waterbottle" is a rotation of "erbottlewat".)
Answer

Interview Answer

1 Answer

0

Hey guys I used rooftop slushie to get an answer for this interview at Pocket Gems. You should give it a try.

https://wwww.rooftopslushie.com

Anonymous on Jul 15, 2019

Add Answers or Comments

To comment on this, Sign In or Sign Up.