Adobe Interview Report
- 0of 0 votes
AnswersGiven a couple of integer arrays A = {2, 4, 3, 5, 6, 8} & B = {9, 2, 7, 6} - Return the intersection of these arrays.
- Jeanclaude March 19, 2014 in United States
Once I provided a solution (which was n squared -O (n^2)) he followed up by asking me if I could make it linear (O(n)).| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Arrays - 0of 0 votes
AnswersWrite a method which will accept a string and return true if the string is a palindrome and false if it isn't.
- Jeanclaude March 19, 2014 in United States
Special conditions:
a) your method should consider lower case and upper case characters to be the same.
b) your method should ignore special characters and white spaces, for e.g. if your input were the strings were "Madam, I'm Adam!!", then you should consider it a palindrome and hence return true ignoring case and special characters. Same with inputs like "Ma'am", "boB" etc should return true.| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer String Manipulation
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.