Adobe visited our campus for an on-campus internship. First-round they conducted an online test of which there are 16 MCQ’s and 2 coding. Both coding questions are easy to level.
1. Given an array A, you have to return an index such that the left sum of an index must be equal to the right sum of the index. For example, if array is [3,1,2,1] then output will be index 1 as 3==(2+1). So, here you have to return 1;
2. Similar question: https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended/
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 and Microsoft Test Serieses.