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.
Share your thoughts in the comments
Please Login to comment...