SAP Labs FTE 2019(On-Campus)

Round 1: Online Test

15mcq and 2 coding questions

1. Find all palindromes in a given string with length of substring in range [l, r], also naive approach would give TLE for last 5-6(important test cases having more weightage) test cases go for efficient approach or else solve the second question .

2. Stock prices problem -Here you need to print maximum total profit and not the days on which one should buy and sell.

Solving 1 coding question completely is recommended but do attempt 2nd question partially(If getting TLE for some test cases in 1 coding question) so that chances of shortlisting are more.

Write your Interview Experience or mail it to contribute@geeksforgeeks.org



My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.