Skip to main content

SAP labs - interview experience

SAP Labs Technical Round Experience

1. The round started with a brief introduction about myself.

2. In data structures I was asked to write code for height of a tree and Given a binary tree delete  a level and replace the parent node by child nodes, I was asked only the logic for the second question and I answered based on inorder order traversal.

3. I was asked to write code for level order traversal.

4. I did a project based on stock market prediction using random forest algorithm. Questions were asked related to the project like which environment you used to develop the project ( since its related to machine learning we need to handle a huge data to get accurate results , that's why they asked that question ), How random forest  algorithm works?, What are the attributes given for the algorithm, What is the accuracy of the algorithm were asked.

5. UML questions regarding concepts like aggregation, association and composition were asked. they wanted me to draw the relationships and give real time examples for each one.

6. Java questions like difference between final, finalize, finally. Singleton class implementation. Difference between static methods, static classes and run time polymorphism, why its resolved in run time.. were asked. They wanted examples for each one.

 7. I was asked to tell about all OOPS concepts along with examples.

8. In SQL, difference between delete, drop , truncate and alter queries was asked. then other questions in the topic were what is a super key, Write query for finding top second row with max value ( since the query with desc will be ineffcient I was asked to write my own program for getting those top second value from the table) and the there may be more than 1 second highest value so Limit query should not be used.

9.In c , the questions started of with difference between Structure, union advantage and disadvantage

10. In depth C knowledge was assessd based on the question like, size of pointer, why sizeof (int) is assigned to pointer if pointer has a predetermined size? why size is compiler dependent (for eg for integer there will be different memory sizes in 32 bit and 64 bit machines) why is that so? address representation

11. Given a string find all substring palindromes abcaba (eg: abcba, abba are some substring palindromes) and a point to be noted is that it should be done in O(n)

12. Questions regarding visual studio IDE like what is the environment for the IDE. This question was asked because I had a project in my resume that I had done using visual studio IDE.

13. Difference between R and python( I have mentioned them in  my resume)











Comments

Popular posts from this blog

Sahaj - Online Test and Coding Round

Date of visit : 29/08/2018 Criteria        :  7.5 above First Round Duration : 40 minutes. The first round was a online test that had 50 multiple choice questions. The questions were very standard and covered everything like java, C, C++, Python, CSS, DBMS, OOPs, Networks, OS etc. After the first round 20 people were shortlisted for the second round. Second round Duration : 45 minutes  The second round was a coding round where we were given only one question. The objective of the round was not only to check whether the logic and code was correct but whether the students have used paradigms of the programming language they chose. for example, if we choose java to write our code we must have used OOPs principles. The question was to encode the given string in a format specified. Input : this is a secret procedure : 1. remove the spaces, s = thisisasecret 2. find the length of s, l  = 13 3. find w which is the ceil of sqrt of l,...

Thorogood Associates - online test and Interview experience

Date of Visit : 18.08.2018 Criteria: CGPA 7.5 above, No current arrear First Round Duration: 1 hr This is an online round which had two parts,one is about essay writing,other one is about aptitude. Essay Writing Part had two questions,out of these 2 questions we have to write an essay on any one of the topic within 15 minutes. Question: What do you know about Thorogood and what will you do in your first year of Thorogood? Aptitude Part covered Data Interpretation,Logical Reasoning,Profit-Loss problem and other basics aptitude topics which are in R.S Agarwal Book ( link ) or else in IndiaBix ( link ) and this part lasted for next 45 minutes. Second Round Duration: 30 Minutes In this round,our communication,presentation skills and confidence level were tested. They asked us to explain any one of the projects that we mentioned in our resume. They checked whether we can present the project that we did in a professional way.

Ninjacart - coding round

Platform: Hackerrank     The challenge comprised of three questions which were based on arrays and strings .. It may seem easy but the problems were little tricky to solve.. If one is strong enuf in those concepts, then solving them becomes piece of cake😋. I listed two problems(I ve forgot the third one) asked below: Question 1: Buy stocks .. problem link Question 2: Find the number of smooth pairs problem link