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.
I applied via BigShyft and was interviewed before Nov 2023. There were 2 interview rounds.
Asked to automate company's webpage. To buy sell crypto
Hashmap and Hashset are data structures used in Java to store key-value pairs and unique elements respectively.
Hashmap is used to store key-value pairs where keys are unique and values can be duplicated.
Hashset is used to store unique elements only, no duplicates are allowed.
Hashmap uses hashing to store and retrieve elements efficiently.
Hashset internally uses Hashmap to store elements as keys with a dummy value.
I applied via LinkedIn and was interviewed in Jan 2022. There were 2 interview rounds.
Improving quality of education in India
Investing in teacher training and development
Increasing access to technology and digital resources
Encouraging parental involvement in education
Promoting vocational education and skill development
Addressing the issue of inadequate infrastructure and resources
I know multiple programming languages including Java, Python, and C++.
Proficient in Java with experience in developing web applications using Spring framework
Familiar with Python for data analysis and machine learning
Experience in C++ for developing high-performance applications
Also familiar with HTML, CSS, and JavaScript for front-end development
Class is a blueprint for creating objects, encapsulation is the process of hiding data and methods within a class.
Class is a template or blueprint that defines the properties and behaviors of an object.
Encapsulation is the process of bundling data and methods together within a class, hiding the internal details from the outside world.
Other features of OOP include inheritance, polymorphism, and abstraction.
Inheritance a...
Program to find the sum of squares of each term of Fibonacci series
Generate Fibonacci series using loop or recursion
Calculate square of each term
Add all squares to get the sum
I would like to join Cognizant because of its reputation as a leading global technology and consulting company.
Cognizant has a strong presence in the industry and is known for its innovative solutions.
I am impressed by Cognizant's commitment to digital transformation and its ability to deliver value to clients.
The company offers excellent career growth opportunities and a supportive work environment.
Cognizant's diverse...
Yes, I know C language. Here's a program to print numbers from 1 to 10 excluding 5.
Use a loop to iterate from 1 to 10
Inside the loop, check if the current number is equal to 5
If it is not equal to 5, print the number
The question was about finding the average of a set of numbers.
I approached the problem by first summing all the numbers in the set.
Then, I divided the sum by the total number of elements in the set to find the average.
I used a loop to iterate through the set and keep track of the sum and count of elements.
1-3 Yrs
Not Disclosed
Customer Success Specialist
5
salaries
| ₹7 L/yr - ₹7.5 L/yr |
Software Developer
4
salaries
| ₹13 L/yr - ₹15 L/yr |
Business Development Manager
4
salaries
| ₹4.8 L/yr - ₹6.4 L/yr |
Quality Analyst
3
salaries
| ₹10 L/yr - ₹25 L/yr |
Risk Analyst
3
salaries
| ₹6 L/yr - ₹11.4 L/yr |
Uber
Ola Cabs
Lyft
Grab (India)