Filter interviews by
The Buy and Sell stock problem involves finding the maximum profit that can be made by buying and selling stocks in an array.
Iterate through the array and keep track of the minimum price to buy and maximum profit to sell.
Calculate the difference between each element and the minimum price, update maximum profit if a higher profit is found.
Return the maximum profit at the end.
Top trending discussions
I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.
I applied via Company Website and was interviewed before Jul 2021. There were 2 interview rounds.
Attended the codevita competition in final year of college.
I applied via Campus Placement and was interviewed before Mar 2021. There were 2 interview rounds.
OOPs concept in JAVA is a programming paradigm that focuses on objects and their interactions.
OOPs stands for Object-Oriented Programming
It involves the use of classes, objects, inheritance, polymorphism, and encapsulation
Classes are used to define objects and their properties
Objects are instances of classes that can interact with each other
Inheritance allows for the creation of new classes based on existing ones
Polymo...
Java provides Arrays.sort() method to sort an array.
Use Arrays.sort() method to sort an array of strings.
The method sorts the elements in ascending order by default.
To sort in descending order, use Collections.reverseOrder() method.
I applied via Newspaper Ad and was interviewed before Jun 2021. There were 3 interview rounds.
I applied via Company Website and was interviewed before Apr 2021. There were 2 interview rounds.
It's totally based on Basic understanding of concepts such as Linear arrangement, circular arrangement، blood relation, direction sense, ratio proportion, time, speed, distance
I applied via Company Website and was interviewed before Jul 2021. There were 2 interview rounds.
The first round is an aptitude online test that had Basics of Computer Science, Mathematics, English and then finally one basic program to code and compile like Palindrome.
Three panellists were present and it was a face-face round, Panellist 1 and 2 takes the technical discussions like classes, inheritance, oops concept, basic syntax, and such. Panellist 3 talks more about your resume skills, hobbies and the company overview.
I applied via Recruitment Consulltant and was interviewed before May 2021. There were 2 interview rounds.
I applied via LinkedIn and was interviewed before May 2021. There were 2 interview rounds.
Good
I applied via Tcs website and was interviewed before Sep 2021. There were 3 interview rounds.
Normal aptitude related questions.. some questions on English as well
Basic coding questions
based on 1 interview
Interview experience
Customer Success Specialist
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Business Development Manager
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Quality Analyst
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Risk Analyst
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Uber
Ola Cabs
Lyft
Grab (India)