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.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon. Google , E-Litmus and Microsoft Test Serieses.