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
It was combination of mcqs and 2 coding questions
Object-oriented programming concepts that focus on objects and classes for better code organization and reusability.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation det...
Java is a programming language while Putjon is not a recognized term in software development.
Java is a widely used programming language for developing applications.
Putjon is not a recognized term in software development, it may be a typo or a specific term not commonly used.
There is no direct comparison between Java and Putjon as they are not related.
posted on 7 Sep 2024
I was interviewed in Aug 2024.
Medium level leetcode question
Developed a web application for managing inventory and sales for a retail store.
Used React.js for front-end development
Implemented RESTful APIs using Node.js and Express for back-end
Utilized MongoDB for database management
Incorporated authentication and authorization features for secure access
Functionalities in software development refer to the specific tasks or actions that a software program can perform.
Functionalities are the specific features or capabilities of a software program.
They define what the software can do and how it can be used.
Examples of functionalities include user authentication, data encryption, and file management.
Functionalities can be implemented through code modules or libraries.
Test...
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
Coding test was medium to hard leetcode problems.
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 Jan 2024. There was 1 interview round.
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 ...
Some of the top questions asked at the Community Brands Java Software Developer interview -
based on 1 interview
Interview experience
Software Engineer
36
salaries
| ₹8.5 L/yr - ₹22 L/yr |
Senior Software Engineer
25
salaries
| ₹13.6 L/yr - ₹28 L/yr |
Software Developer
23
salaries
| ₹4.8 L/yr - ₹18 L/yr |
Technical Lead
21
salaries
| ₹21 L/yr - ₹36 L/yr |
QA Engineer
19
salaries
| ₹7.3 L/yr - ₹15.5 L/yr |
Cvent
Eventbrite
Fonterra
Personiks