i
Community Brands
Filter interviews by
I applied via LinkedIn and was interviewed in Apr 2023. There were 2 interview rounds.
There are three types of iterators in Java: Iterator, ListIterator, and Enumeration.
Iterator is the most commonly used iterator, used to traverse collections like ArrayList, HashSet, etc.
ListIterator is used to traverse lists and allows bidirectional traversal and modification of elements.
Enumeration is the oldest type of iterator, used to traverse legacy collections like Vector and Hashtable.
HashMap is an implementation of Map interface that stores key-value pairs using a hash table.
HashMap uses hashing to store and retrieve elements.
It uses an array of linked lists to handle collisions.
The hash code of the key is used to determine the index of the array.
If multiple keys have the same hash code, they are stored in the same linked list.
When retrieving a value, the hash code is used to find the correct linke
SQL query to find the 2nd highest salary of an employee.
Use the SELECT statement to retrieve the salaries in descending order.
Use the LIMIT clause to limit the result to the second row.
Use the OFFSET clause to skip the first row.
Combine the above steps in a single SQL query.
The Java program counts the length of a string without using foreach and length function.
Iterate through each character of the string using a for loop
Increment a counter variable for each character encountered
Return the counter variable as the length of the string
I use lambda expressions, streams, and default methods in my current project.
Lambda expressions: I use them to write more concise and functional code.
Streams: I use them for processing collections of data in a declarative way.
Default methods: I use them to provide default implementations in interfaces.
To avoid hash collisions, use a good hash function, increase the size of the hash table, and handle collisions using techniques like chaining or open addressing.
Use a good hash function that distributes the keys evenly across the hash table.
Increase the size of the hash table to reduce the chances of collisions.
Handle collisions using techniques like chaining (using linked lists) or open addressing (probing).
Chaining e...
Top trending discussions
posted on 19 Dec 2024
I was interviewed in Nov 2024.
I have worked on various projects ranging from web development to mobile app development, gaining experience in different technologies and frameworks.
Developed a web application using React.js and Node.js for a client in the e-commerce industry
Created a mobile app using Flutter for a startup in the travel sector
Collaborated with a team to implement a machine learning algorithm for data analysis in a research project
Led a team of developers on a project to develop a new software application.
Managed a team of 5 developers to ensure project deadlines were met
Assigned tasks to team members based on their strengths and expertise
Held regular team meetings to discuss progress and address any issues
Provided guidance and support to team members when needed
Collaborated with other departments to gather requirements and feedback
Code test to create a small search engine
Create a function that takes a search query and an array of strings as input
Iterate through the array of strings to find matches with the search query
Return an array of strings that contain the search query
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There were 2 interview rounds.
Find the first non-repetitive character in a string.
Iterate through the string and count the occurrences of each character.
Return the first character with a count of 1.
Scenario based questions
posted on 27 Aug 2024
I was interviewed in Feb 2024.
Android life cycle refers to the stages a mobile app goes through from creation to termination.
Android app starts in onCreate() method
Moves to onStart() and onResume() when app becomes visible
Goes to onPause() when app is partially visible
Enters onStop() when app is no longer visible
Finally reaches onDestroy() when app is terminated
posted on 17 Dec 2024
They ask normal leetcode question
posted on 30 Oct 2023
C# is a programming language developed by Microsoft for building a wide range of applications on the .NET framework.
C# is an object-oriented language with features like classes, inheritance, and polymorphism.
It is strongly typed, meaning variables must be declared with a specific data type.
C# supports modern programming concepts like async/await for asynchronous programming.
It is commonly used for developing desktop, w...
Python interview question and coding
I applied via Naukri.com and was interviewed before Nov 2023. There was 1 interview round.
Currently leading a team of developers in designing and implementing a new web application for a client in the finance industry.
Leading a team of developers in designing and implementing a new web application
Collaborating with stakeholders to gather requirements and define project scope
Ensuring project milestones are met on time and within budget
Conducting code reviews and providing technical guidance to team members
I applied via Referral and was interviewed in Sep 2022. There were 3 interview rounds.
Basics questions of logical reasoning , english , mathematics etc
Encapsulation is hiding implementation details while abstraction is hiding unnecessary details.
Encapsulation is achieved through access modifiers like private, protected, and public.
Abstraction is achieved through abstract classes and interfaces.
Encapsulation protects the data from external interference while abstraction focuses on the essential features.
Example of encapsulation: hiding the implementation details of a ...
JVM is a virtual machine that executes Java bytecode. JRE is a runtime environment that includes JVM and libraries. JDK is a development kit that includes JRE and tools for developing Java applications.
JVM stands for Java Virtual Machine and is responsible for executing Java bytecode.
JRE stands for Java Runtime Environment and includes JVM and libraries required to run Java applications.
JDK stands for Java Development ...
Interview experience
Software Engineer
36
salaries
| ₹8.5 L/yr - ₹22 L/yr |
Senior Software Engineer
24
salaries
| ₹13.6 L/yr - ₹34 L/yr |
Software Developer
22
salaries
| ₹4.8 L/yr - ₹18 L/yr |
Technical Lead
20
salaries
| ₹21 L/yr - ₹35.1 L/yr |
QA Engineer
17
salaries
| ₹8.3 L/yr - ₹16 L/yr |
Cvent
Eventbrite
Fonterra
Personiks