Filter interviews by
Clear (1)
I applied via Company Website and was interviewed in Jun 2024. There were 2 interview rounds.
The missing number in the array can be found by calculating the sum of all numbers in the array and then subtracting it from the sum of numbers from 1 to n.
Calculate the sum of all numbers in the array.
Calculate the sum of numbers from 1 to n using the formula n*(n+1)/2.
Subtract the sum of array from the sum of numbers from 1 to n to find the missing number.
Count the number of parenthesis to be removed to make it valid.
Iterate through the string and keep track of open and close parenthesis.
If a close parenthesis is encountered without a corresponding open parenthesis, increment the count of removals.
Return the total count of removals needed to make the string valid.
Find the maximum sub-array with continuous numbers
Iterate through the array and keep track of the current sub-array sum
Update the maximum sum and sub-array indices as you iterate
Handle cases where the array contains negative numbers as well
Example: Input array [2, 3, -4, 5, 7], maximum sub-array is [2, 3, -4, 5, 7]
Count the number of islands in a 2D grid variant, focusing on time complexity.
Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the grid and mark visited islands.
Optimize by using Union Find data structure to keep track of connected islands.
Time complexity can be O(m*n) where m is the number of rows and n is the number of columns.
1st round was online coding test with 1 DSA problem and one OOPs based problem
Top trending discussions
posted on 4 Dec 2016
I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.
Yes, I have coded in curriculum. The most complex one was a project on building a web application using React and Node.js.
Built a full-stack web application using React and Node.js
Implemented user authentication and authorization using JSON Web Tokens (JWT)
Used MongoDB as the database and Mongoose as the ODM
Implemented real-time updates using Socket.IO
Deployed the application on Heroku
Handled errors and implemented log
Big data refers to large and complex data sets that cannot be processed using traditional data processing methods.
Big data is characterized by its volume, velocity, and variety
It is used in various industries such as healthcare, finance, and retail
Examples of big data include social media data, sensor data, and transactional data
It is called 'big' because it involves processing massive amounts of data
Big data requires ...
I am passionate about technology and eager to learn new skills in the IT sector.
I have always had a keen interest in technology and enjoy working with computers.
I believe the IT sector offers more opportunities for growth and advancement in my career.
I have seen the impact of technology on various industries and want to be a part of that innovation.
I have taken courses in programming and networking to prepare myself fo
To find the product of all data points using SelectSum(), log(), and exp() functions.
Use the log() function to convert the product into a sum of logarithms
Apply the SelectSum() function to calculate the sum of logarithms
Finally, use the exp() function to convert the sum back into the product
I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.
I am a highly motivated individual with a passion for learning and achieving my goals.
I have a degree in computer science and have worked as a software developer for 3 years.
I am proficient in multiple programming languages including Java, Python, and C++.
I enjoy working in a team environment and collaborating with others to solve complex problems.
In my free time, I enjoy hiking and exploring new places.
I grew up in a small town with my parents and younger sister. We were a close-knit family.
Grew up in a small town
Close-knit family
Parents and younger sister
Participated in community events
Enjoyed outdoor activities
I enjoy reading, hiking, and trying new recipes in my free time.
Reading books on various topics, including fiction, non-fiction, and self-improvement
Hiking in local parks and nature reserves to explore new trails and enjoy the outdoors
Experimenting with new recipes and cooking techniques in the kitchen
Attending cultural events such as concerts, plays, and art exhibits
Spending time with family and friends, playing board
I would expect a supportive work environment, opportunities for growth and development, and a commitment to excellence.
Supportive and collaborative team culture
Clear communication and feedback
Opportunities for professional development and advancement
Commitment to high-quality work and customer satisfaction
Competitive compensation and benefits package
Yes, I have a cousin who lives in Bangalore.
I have a cousin who has been living in Bangalore for the past 5 years.
We keep in touch and he has shown me around the city during my visits.
He works in the IT industry and enjoys the vibrant culture of Bangalore.
Loop in a circular linked list can be found using Floyd's cycle-finding algorithm.
Initialize two pointers, slow and fast, both pointing to the head of the linked list.
Move slow pointer by one node and fast pointer by two nodes in each iteration.
If there is a loop, both pointers will eventually meet at some point.
If there is no loop, fast pointer will reach the end of the linked list.
Time complexity of this algorithm is
Pre-fix and post-fix operations can be performed on a string expression using appropriate operators.
Pre-fix operation involves placing the operator before the operand in the expression.
Post-fix operation involves placing the operator after the operand in the expression.
Examples of pre-fix operators include ++, --, !, and ~.
Examples of post-fix operators include ++ and --.
Data analytics is the process of examining data sets to draw conclusions about the information they contain.
Data analytics involves collecting, cleaning, and analyzing data to identify patterns and trends.
It can help businesses make informed decisions by providing insights into customer behavior, market trends, and operational efficiency.
For example, a retail company can use data analytics to analyze sales data and ide...
Strengths include adaptability and teamwork. Weaknesses include public speaking. Non-core background allows for diverse perspective. JPMorgan Chase's reputation and opportunities attract me.
Strengths: adaptability, teamwork
Weakness: public speaking
Non-core background brings diverse perspective
Attracted to JPMorgan Chase's reputation and opportunities
I would pursue my entrepreneurial dream and start my own company.
I would conduct market research to validate my idea and identify potential competitors.
I would create a business plan outlining my goals, strategies, and financial projections.
I would secure funding through investors or loans.
I would assemble a team of talented individuals with diverse skills and experiences.
I would continuously evaluate and adapt my busi
I would listen to both sides, gather more information, and try to find a compromise that satisfies everyone.
Listen to both sides and understand their perspectives
Gather more information about both ideas
Try to find common ground and a compromise that satisfies everyone
Encourage open communication and respect for each other's ideas
Consider the potential impact and benefits of each idea
Involve a neutral third party if nec
I applied via Campus Placement and was interviewed in Dec 2016. There were 3 interview rounds.
Company is a global technology company known for its innovative products and services.
Founded in 1976 by Steve Jobs, Steve Wozniak, and Ronald Wayne.
Known for products such as iPhone, iPad, Mac computers, and Apple Watch.
Offers services like Apple Music, iCloud, and Apple Pay.
Has a strong focus on design and user experience.
Finding smallest of 4 numbers without using >.< and min function in Java.
Initialize a variable with the first number
Compare it with the remaining numbers using if-else statements
If a smaller number is found, update the variable
Repeat until all numbers are compared
The final value of the variable will be the smallest number
Code for palindrome checking
Convert the input to lowercase to ignore case sensitivity
Use two pointers, one at the start and one at the end of the string
Compare the characters at both pointers and move them towards each other
If all characters match, it's a palindrome
Javascript code to display 'Hello World!' on the webpage
Create a new HTML file
Add a script tag with 'type' attribute set to 'text/javascript'
Inside the script tag, use document.write() to display 'Hello World!'
Swap two numbers without using a temporary variable.
Use addition and subtraction to swap the values
Use XOR operator to swap the values
Use multiplication and division to swap the values
To add 2 tables, we need to use a join operation on a common column.
Identify the common column between the tables
Choose the appropriate join type (inner, outer, left, right)
Write the SQL query to join the tables
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Union combines and removes duplicates, Union All combines all rows including duplicates.
Union is used to combine the result sets of two or more SELECT statements and remove duplicates.
Union All is used to combine the result sets of two or more SELECT statements and includes all rows, including duplicates.
Union is slower than Union All as it has to remove duplicates.
Union requires the same number of columns in all SELEC...
Being assigned a project with unrealistic deadlines and minimal guidance
Received a project with tight deadlines and unclear requirements
Struggled to meet the deadlines due to lack of guidance and support
Had to work long hours and weekends to try to complete the project
Learned the importance of clear communication and setting realistic expectations
I was interviewed in Dec 2016.
The algorithm reverses a given string.
Iterate through the string from the last character to the first character.
Append each character to a new string or an array in reverse order.
Return the reversed string or array.
As the CEO, I would select the candidate based on their qualifications and skills, regardless of their background or personal characteristics.
I would focus on the qualifications, skills, and experience of each candidate.
I would consider their ability to contribute to the company's goals and objectives.
I would ensure a fair and unbiased selection process.
I would prioritize diversity and inclusion in the workplace.
I woul...
Some of the top questions asked at the Goldman Sachs Associate Engineer interview -
based on 2 interviews
Interview experience
based on 9 reviews
Rating in categories
Associate
2.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
1.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Vice President
1.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Analyst
1.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Financial Analyst
325
salaries
| ₹0 L/yr - ₹0 L/yr |
JPMorgan Chase & Co.
Morgan Stanley
TCS
Amazon