i
Polaris
Filter interviews by
I was interviewed in Sep 2016.
I applied via Campus Placement
Normal DP question (LC med)
I applied via Recruitment Consulltant and was interviewed before Mar 2023. There was 1 interview round.
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain both data and methods to manipulate that data.
It allows for reusability, modularity, and flexibility in code.
Key principles of OOPs include encapsulation, inheritance, and polymorphism.
Examples of OOPs languages include Java, C++, and Python.
Virtual destructor is used to ensure proper destruction of derived class objects when deleted through a base class pointer.
Virtual destructor is declared in the base class with the 'virtual' keyword.
It allows the destructor of the derived class to be called when an object is deleted through a base class pointer.
Without a virtual destructor, only the base class destructor would be called, leading to memory leaks or unde
Reverse a linked list using iterative approach
Initialize three pointers: prev = null, current = head, next = null
Iterate through the linked list, updating pointers as follows: next = current.next, current.next = prev, prev = current, current = next
Update the head to point to the new head (prev)
This question involves buying and selling items in an array.
The array must contain strings.
You need to implement a function to buy and sell items from the array.
Provide examples of buying and selling operations.
C# will be asked
I was interviewed in Dec 2020.
Round duration - 120 minutes
Round difficulty - Hard
There was 2 parts. First part problems were based on Quantitative Aptitude. Problems were of 3 types- Easy, Medium and Hard with different scores. Difficulty keeps on increasing if you answer correctly and keeps on decreasing if you answer incorrectly.
First part was of 45 mins.
Second part consisted of 2 coding problems- Medium, Hard. One was based on Greedy and other was a difficult DP + Bitmask problem.
Coding part had more weightage than Aptitude.
This problem is an NP-Hard problem i.e there exists no polynomial-time solution for it. So we cannot do anything more than brute force for the exact solution. See this link for more information.
Algorithm
The idea is to insert “abc” at every position in a string , “helperString” (initialised as an empty string) recursively and comparing it with the input string “inputString” at every recursive step. If the “helperString” comes out to be equal to input string “inputString” then return “True” to the function else “False”.
Algorithm:
Round duration - 90 minutes
Round difficulty - Medium
There were 3 interviewers in my panel. The most senior panellist asked q. related to my interests and internship experience.
Other 2 asked questions related to Coding and subjects. There was 1 coding question which was implementation based and involved many corner cases. They were checking if I was able to figure out different corner cases and handle those.
There were situation based questions also asked. One question was on system design of Arogya Setu App.
Let first and the second complex number be, ‘a + bi’ and ‘c+di’, then
'RESULT' = (a + bi) *(c + di) = (ac + adi) = (bci + bd * (-1)) as i^2 = -1
‘RESULT’ = (ac - bd) + (ad+ bc) i
The steps are as follows:
Round duration - 30 minutes
Round difficulty - Easy
HR round involved basic questions related to background and behaviour. It was basically a cultural fit round.
Tip 1 : Focus on Data Structures, Algorithms as >= 75% of your interview will be dedicated to it. Practice as much as you can.
Tip 2 : Learn the fundamentals of C, C++, OS, SQL as that are basic expectations of interviewer.
Tip 3 : Keep 2 descent projects in resume. Try to have an internship. It will make your resume strong.
Tip 1 : Try to keep relevant information only. Add all your skills and achievements.
Tip 2 : Try to have links of your coding and Github profiles.
Tip 3 : Add 2 to 3 project with small descriptions. Try to keep bullet points. Do mention the Tech Stack.
Tip 4 : Don't lie on any skill. Write only those on which you have worked.
I was interviewed in Dec 2020.
Round duration - 70 Minutes
Round difficulty - Medium
There were 5 people in the zoom meet, including me. Rest all 4 were interviewers, 3 from India and 1 from the United Kingdom.
They started with my introduction and then moved on to the questions from my resume, starting with my internship at Samsung Bangalore and then projects.
Then another interviewer asked about my weakness and strength. Then comes the turn of coding questions.
Starting with finding the minimum element in O(1) time, rotating the 2-D array by 90 degrees, OOPS questions were also asked like- polymorphism, abstraction, virtual class. Some OS questions were- cache, paging algorithms.
Then come my POR and other activities.
O(1).
Since we are not using any extra space.
Time Complexity: O(nlogn)Explanation:O(N * logN) where ‘N’ is the number of elements in the array.
As we are sorting the array which takes O(N * log(N)) time.
What are page replacement algorithm in Operating System?
Tip 1 : Practice GFG Must Do section, solve at least 5 Questions daily
Tip 2 : Start talking to new people regarding technology to remove hesitation at the time of the interview.
Tip 3 : Be in contact with a senior already working in that company, ask them regarding previous experience and new project the company is working on.
Tip 4 : Once you are done with GFG must do questions, now complete leetcode sorting by your target company.
Tip 5 : For core subjects refer to gate smashers and knowledge gate videos on youtube.
Tip 1 : Try to modify your resume according to the company you are applying for, for this read their Job Description provided to you.
Tip 2 : Mention no more than 3 projects and 1,2 internships.
Tip 3 : Divide your skills into beginner, intermediate and hard sections, otherwise don't mention too many skills.
Tip 4 : Don't mention to many Position Of Responsibilities( at max 2-3).
I applied via Campus Placement
Normal DP question (LC med)
based on 5 reviews
Rating in categories
Software Engineer
33
salaries
| ₹3.6 L/yr - ₹8 L/yr |
Consultant
27
salaries
| ₹3.9 L/yr - ₹11 L/yr |
Software Developer
22
salaries
| ₹3.5 L/yr - ₹11 L/yr |
Associate Consultant
22
salaries
| ₹3.8 L/yr - ₹8.4 L/yr |
Design Engineer
21
salaries
| ₹10 L/yr - ₹18 L/yr |
TCS
Infosys
Wipro
HCLTech