Skip to main content

SAP labs - online test

Date of visit: 30.7.2018
Criteria: CGPA 7 above No current arrear
Platform: Hackerrank
Duration: 1.15 hrs

Overview:
   There were 25 MCQ's based on fundamentals like OOPS(both in c++ and java), computer networks, Data structures and Algorithms and also Arithmetic aptitude questions (probability, time and work..). There were different sets both the MCQ's and programming problems were either completely different or shuffled.

MCQ

1. Given a circular queue how many additional pointers are needed to perform enqueue and dequeue in O(1) time.   

2. Regarding method overloading and method  overriding.

3. How many static methods are created for a class (common for class, individual for objects..)

4. class xyz{} what is the size of this class

5. Given an array how many swaps are performed in bubble sort

6. i = 5 , j= 2  System.out.print(i<<j, i>>j)

7. #define numbers 2 + 3    code: res = numbers * numbers . Guess the output.

Coding:

1. Triplets

    Given an array and threshold t, count the triplets such that
  •     a <= b<= d
  •     sum <= t
2.  Longest Substring with k distinct vowels
     https://www.geeksforgeeks.org/longest-substring-having-k-distinct-vowels/


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