Filter interviews by
Top trending discussions
I applied via Recruitment Consulltant and was interviewed in Nov 2024. There were 3 interview rounds.
Using a crypto price API to fetch and display real-time cryptocurrency prices in a machine coding project.
Utilize a crypto price API to fetch real-time cryptocurrency prices
Implement error handling for API requests
Display the fetched prices in a user-friendly format
I was interviewed in Oct 2023.
Write a program on priority queue
I applied via Recruitment Consulltant and was interviewed in Sep 2023. There were 2 interview rounds.
Builder design pattern is a creational design pattern used to construct complex objects step by step.
Builder pattern separates the construction of a complex object from its representation.
It allows the same construction process to create different representations of the object.
Useful when there are multiple ways to construct an object or when the object creation process is complex.
Example: StringBuilder in Java allows ...
JOIN query to retrieve country and employee name
Use JOIN keyword to combine data from multiple tables
Specify the columns to select from each table
Use ON keyword to specify the relationship between the tables
I applied via LinkedIn and was interviewed in Jun 2023. There were 4 interview rounds.
Use lambda function to print greater number
Define a lambda function that takes two parameters
Use the max() function inside the lambda to compare the two numbers
Call the lambda function with two numbers to print the greater one
OOPs concepts refer to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation detail
Fibonacci series code in iterative and recursive methods
Iterative method: Use a loop to calculate Fibonacci numbers
Recursive method: Define a function that calls itself to calculate Fibonacci numbers
Example for iterative method: int fib(int n) { int a = 0, b = 1, c; for(int i = 2; i <= n; i++) { c = a + b; a = b; b = c; } return b; }
Example for recursive method: int fib(int n) { if(n <= 1) return n; return fib(n-1) + f
Use two threads to print numbers 1-10 in correct order
Create two threads, one for printing odd numbers and one for printing even numbers
Use synchronization mechanisms like mutex or semaphore to ensure correct order
Example: Thread 1 prints 1, 3, 5, 7, 9 and Thread 2 prints 2, 4, 6, 8, 10
Unit testing in C++ involves writing test cases for individual units of code to ensure they work as expected.
Use a unit testing framework like Google Test or Catch2 to write and run test cases
Create separate test files for each unit of code being tested
Use assertions to check the expected behavior of the code under test
Mock dependencies or use dependency injection to isolate units for testing
Run tests regularly to catc
posted on 25 Nov 2021
I applied via Naukri.com and was interviewed in May 2021. There were 5 interview rounds.
I was interviewed in Jun 2024.
Senior Consultant
350
salaries
| ₹11.9 L/yr - ₹36.2 L/yr |
Consultant
345
salaries
| ₹9.5 L/yr - ₹25.1 L/yr |
Business Consultant
293
salaries
| ₹15.3 L/yr - ₹24.2 L/yr |
Senior Associate Consultant
153
salaries
| ₹6.5 L/yr - ₹15 L/yr |
Associate Consultant
139
salaries
| ₹6 L/yr - ₹12.5 L/yr |
TCS
Wipro
HCLTech
Tech Mahindra