Filter interviews by
Top trending discussions
posted on 14 Jan 2025
Good problems related to array or string
posted on 17 Nov 2024
I was interviewed in Mar 2021.
Round duration - 60 Minutes
Round difficulty - Medium
The test was scheduled in early morning
The environment was stable and strict
Given a string, your task is to determine if it is a palindrome considering only alphanumeric characters.
The input is a single string without any leading or trailing...
Round duration - 12 minutes
Round difficulty - Medium
The technical interview was scheduled in evening.
The environment was stable and friendly
The interviewer provided enough comfort. He asked some technical questions that’s all.
Round duration - 10 minutes
Round difficulty - Medium
This HR interview was scheduled in morning
The environment was fine as it was the last round
The interviewer was friendly and was trying to know how much willing I am to join the company.
Tip 1 : search frequently asked questions
Tip 2 : prepare smartly the important topics
Tip 1 : keep it short
Tip 2 : must add the projects you have worked on
posted on 13 Dec 2024
I applied via LinkedIn and was interviewed before Dec 2023. There were 3 interview rounds.
Aptitude along with English and comprehensive questions
Three coding questions one easy one medium one hard
posted on 9 Nov 2021
I was interviewed in Nov 2020.
Round duration - 60 minutes
Round difficulty - Easy
You are provided with an array or list of integers named ARR
of size N
. The task is to determine two things:
The idea is to use a hashmap to store the frequencies of all the distinct elements present in the given array/list. After that, we just traverse through these frequencies and count the number of elements with odd and even frequencies separately.
Here, is the complete algorithm-
You are given a singly linked list where each node contains an integer value and a reference to the next node or NULL if it is the last node. The task is to remov...
Approach:
Traverse each node of the Linked List and for each node run a loop from that node to the end of the Linked List to check whether there exists a node having a value greater than the current node. If such a node exists, then we delete the current node, else we just move on to the next node.
Steps:
Tip 1 : Try solving Love Babbar 450 Prog questions
Tip 2 : Have a good resume
Tip 3 : Do learn some extra technologies eg. ML/AI
Tip 1 : Do not lie at all
Tip 2 : Have some projects listed
I was interviewed in Feb 2021.
Round duration - 90 minutes
Round difficulty - Medium
It is from 12 to 1:30 pm. Environment was very friendly and interviewer was very nice.
Given the first term A
, the common ratio R
, and an integer N
, your task is to find the Nth term of a geometric progression (GP) series.
The general...
Given the r and first term a we can solve it by an=a*r^n-1
Round duration - 90 minutes
Round difficulty - Easy
Very friendly environment
Tip 1 : Practice DS algorithm
Tip 2 : Practice as many question you can
Tip 3 : Also practice different MCQ question
Tip 1 : Write only things you know
Tip 2 : Be truthful with your resume
posted on 15 Sep 2021
I was interviewed in Apr 2021.
Round duration - 135 minutes
Round difficulty - Hard
The Technical Round was of 2 hours 15 minutes and was conducted on HackerRank. It comprised of 5 sections:
Programming – 30 minutes: 2 easy to medium level questions (1 of 20 marks other of 30).
Quantitative Aptitude – 25 minutes: 7 Math-related MCQs.
Computer Science – 20 minutes: 8 MCQs based on Computer Science subject topics like OOPs, OS, DBMS, DSA
Advanced Programming – 45 minutes: 1 question on advanced Data Structures (100 marks)
Tell me about Yourself – 15 minutes: 2 essay type questions
Given a positive integer N
, determine the count of all possible positive integral pairs (X, Y)
that satisfy the equation 1/X + 1/Y = 1/N
.
T = 1
N = 2
Given a binary tree of integers, return the level order traversal of the binary tree.
The first line contains an integer 'T', representing the number of te...
In the level order traversal, we will be using queue data structure which has the property FIRST IN FIRST OUT that’s why which nodes come first in current level the children of that node will also come first for the next level. So, we visit all the nodes one by one of the current level and push into the queue so that when we will be complete with the current level, then we can start exploring nodes ...
You are provided with a 2-D matrix called MAT
consisting solely of 0s and 1s. Each row of the matrix can be viewed as a binary number, and the aggregate sum of these binary nu...
The idea is to use the properties of binary numbers to implement the solution in a brute force manner.
We know that the maximum number of 1s in a binary number will help in increasing the overall sum if they are as left as possible. One important observation that arises from this fact is that the first bit(extreme left) should be made 1 to maximize the number as 4(100) > 3(011). So, if the first column in ...
Round duration - 11 hours
Round difficulty - Easy
Finally, I was selected for the interview round which was conducted virtually over zoom.I had 4 rounds spanning over a period of almost 11 hours (10 AM- 9 PM) with breaks in between rounds, of course. As each of these rounds was an elimination round candidate had 1 to 4 rounds. In the end, we were 13 students left out of 65 students.
Given a string str
and a string pat
, where str
may contain wildcard characters '?' and '*'.
If a character is '?', it can be replaced with any single character....
The idea is pretty straightforward: scan ‘str’ and ‘pat’ while there is a match between the current character of ‘str’ and the current character of ‘pat’. If we reach the end of both strings while there is still a match, return True, otherwise, return False. The scan is done by having a pointer ‘i’ in ‘str’ and a pointer ‘j’ in ‘pat'
Example: = "code"
The character 'c' of 'str matches ...
Given ‘N’ horses running in separate lanes, each horse's finish time is provided in an array. You are tasked to process 'Q' queries. For each query, determine the time take...
For each query, we can simply loop between ‘L’ and ‘R’ and store the minimum time taken by a horse to complete the race in a variable, and return the value stored in that variable.
Algorithm for Each Query:
Given an array/list of strings STR_LIST
, group the anagrams together and return each group as a list of strings. Each group must contain strings that are anagrams of each other.
The idea behind this approach is that two or more than two strings are anagrams if and only if their sorted strings are equal. So we will use a HashMap, let’s say “anagramGroup”, where each key is a sorted string, and the key will be mapping to the list of indices from the given list of strings that form a group of anagrams. This means that if we sort the strings at those indices, we will get the ...
Tip 1 : Be thorough with data structures and algorithms. Avoid just switching between different coding platforms according to people's suggestion instead pick one and stick to it(Leetcode worked for me!).
Tip 2 : Do not miss out on core subjects (for GS ,OOPs and Operating systems especially).
Tip 3 : Keep giving mock interviews (take at least 2 -3 prior to real one) ,it helps a lot to prevent last-minute interview anxieties and makes you feel prepared and confident.
Tip 1 : Choose the right format, it should reflect professionalism.Goldman Sachs blog suggests to arrange your resume with your educational information at the top,followed by your grade-point average,professional experience, projects and any special interests and activities or achievements.
Tip 2 : If you do not have any prior experience, solidify your projects section(3-4 is a good number).Articulate your project description in a precise and crisp format.
Tip 3 : Come up with three reasons why you should be picked for the job in accordance with job's description —these will be some of the top traits you’ll want to emphasize in your resume.
Tip 4 : Go through company's career blogs ,might give you relevant insights on what it expects then align your presentation in accordance with in.(Link to GS blog on resume tips:https://www.goldmansachs.com/careers/blog/posts/resume-tips-from-goldman-sachs.html )
posted on 15 Sep 2021
I was interviewed in Mar 2021.
Round duration - 90 minutes
Round difficulty - Medium
This test was conducted on the Hackerrank platform, it was divided into 6 sections which contained a total of 66 questions with an overall time limit of 90 minutes, There was video proctoring, and changing sections were allowed.
The sections were-
Numerical Computations — 8 questions
Numerical Reasoning -12 questions
Comprehension — 10 questions
Abstract Reasoning — 12 questions
Diagrammatic Reasoning — 12 questions
Logical Reasoning — 12 questions
Given an integer number num
, your task is to convert 'num' into its corresponding word representation.
The first line of input contains an integer ‘T’ denoting the number o...
Round duration - 45 Minutes
Round difficulty - Easy
The interview started at 12 in the noon.
The interviewer seemed very cheerful. He began by greeting and asked me for a quick introduction.
Then he talked about the various projects I have mentioned in my resume and what further improvements I was going to make in my projects. Further he started asking questions on fundamentals of Data Structures and Algorithms, few questions on operating syatem and gave a problem statement on DSA.
You are provided with an array ARR
consisting of N
distinct integers in ascending order and an integer TARGET
. Your objective is to count all the distinct pairs in ARR
whose sum...
First, we declare a variable 'COUNTPAIR’ in which we store all pairs whose sum is equal to 'TARGET’. Then, we traverse the array ‘ARR’ and assume every element as the first element of the pair. Then we again traverse the remaining array and consider every element as a second element of the pair, and check whether the sum of the two elements is equal to 'TARGET' or not. If it is equal to 'TARGET',’ then we in...
Tip 1 : Be honest about your skills and work experiences,especially prepare a good answer for the question "Tell me about yourself"
Tip 2 : Take whatever guidance you can get from seniors, faculty and your mentors.
Tip 3 : work on dynamic projects
Tip:4 : Try to write good and effective answers for the paragraph-based questions in the technical round.
Tip:5 : At the end always ask questions to the interviewer which shows your passion and interest to work in the company
Tip:6 : Always do some background search on the company you are applying for.
Tip 1 : Being honest about your achievements and projects
Tip 2 : Do not mention unnecessary details, only relevant details and information about the post you are applying for must be mentioned in your resume.
Tip 3 : Mention your unique qulities.
Tip 4 : Include 5-10 skills in the resume, and do highlight your most important skills and achievements.
posted on 15 Sep 2021
I was interviewed in Feb 2021.
Round duration - 90 minutes
Round difficulty - Hard
Timing was 10 AM. Environment was very well. Questions were well explained.
You are provided with ‘N’ types of umbrellas, where each umbrella type can shelter a certain number of people. Given an array UMBRELLA
that indicates the number of people each um...
Approach: The idea here is to try every possible option and consider the minimum ans.
We have two possible options: either we use the i-th umbrella to cover people or not.
So, the recurrence for the above problem is:
minNumberOfUmbrellas(i, M) = min(minNumberOfUmbrellas(i - 1, M), 1+ minNumberOfUmbrellas(i, M - UMBRELLA[i])).
minNumberOfUmbrellas(i, M) represents the minimum number of umbrellas...
Find the minimum number of swaps required to sort a given array of distinct elements in ascending order.
T (number of test cases)
For each test case:
N (siz...
While iterating over the array, check the current element, and if not in the correct place, replace that element with the index of the element which should have come in this place.
Below is the algorithm:
Tip 1 : Aptitude is must.
Tip 2 : Practice puzzle problems.
Tip 3 : Do atleast 2 projects.
Tip 1 : Keep it short.
Tip 2 : Have some projects on resume.
based on 1 review
Rating in categories
Software Developer
10
salaries
| ₹4 L/yr - ₹6.8 L/yr |
Junior Software Developer
4
salaries
| ₹4 L/yr - ₹4 L/yr |
Project Manager
4
salaries
| ₹14.2 L/yr - ₹19.8 L/yr |
Software Developer Trainee
4
salaries
| ₹4 L/yr - ₹4.5 L/yr |
Full Stack Developer
3
salaries
| ₹6.5 L/yr - ₹8 L/yr |
Wipro
Infosys
Tech Mahindra
WNS