Ajax
BAN USER
Questions (4)
Comments (3)
Reputation 10
- 0of 0 votes
AnswersYou are getting a stream of characters and at any time you can be asked to find out if the string received yet is palindrome or not.
- Ajax in India
There can be multiple queries.He insisted to do it in better than O(n) and No extra space.| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
++*p++
- Ajax September 24, 2012the operators will be applied from right to left in this case so it will be equivalent to ++(*(p++))
++i++ is error because i++ will produce non-lvalue which cant be given to pre-increment operator .