Filter interviews by
Interface is a blueprint of a class, while functional interface is an interface with only one abstract method.
Interface can have multiple abstract methods, while functional interface can have only one abstract method.
Functional interfaces can be used with lambda expressions in Java.
Examples of functional interfaces in Java include Runnable, Callable, and ActionListener.
Calculate the frequency of each string in an array of strings.
Iterate through the array and use a hashmap to store the frequency of each string
Return the hashmap with string as key and frequency as value
Example: ['apple', 'banana', 'apple'] => {'apple': 2, 'banana': 1}
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There were 3 interview rounds.
Arrays, string, Java
I appeared for an interview in May 2024.
Total 35 questions were asked and criteria for next round was 50%
I applied via Referral and was interviewed in Aug 2023. There were 2 interview rounds.
Basic questions about relations and logical questions
Java concepts like polymorphism and interfaces
I applied via LinkedIn and was interviewed in Sep 2022. There were 2 interview rounds.
Interface is a blueprint for a class that defines a set of methods without implementation.
Interface is used to achieve abstraction in OOP
It allows multiple inheritance in Java
Example: Comparable interface in Java
Interfaces can have default and static methods in Java 8
Top trending discussions
I appeared for an interview in Dec 2020.
Round duration - 40 minutes
Round difficulty - Easy
Given an integer array ARR
of size N
, your task is to find the total number of subsequences in which all elements are equal.
A subsequence of an array i...
Count the total number of subsequences in which all elements are equal in an integer array.
Iterate through the array and count the frequency of each element.
Calculate the total number of subsequences for each element using the formula (frequency * (frequency + 1) / 2).
Sum up the total number of subsequences for all elements and return the result modulo 10^9 + 7.
Tip 1 : Do practice as much as you can
Tip 2 : Coding is key to crack
Tip 1 : It should look nice
Tip 2 : Skills should be mentioned properly
I applied via Campus Placement and was interviewed in Oct 2021. There was 1 interview round.
Software configuration management is the process of tracking and controlling changes made to software throughout its lifecycle.
It involves version control, build management, and release management.
It ensures that changes are made in a controlled and systematic manner.
Examples include Git, SVN, and Jenkins.
It helps to maintain the integrity and quality of the software.
It is essential for collaboration among team members...
Software requirements are the functional and non-functional specifications that a software system must meet.
Software requirements define what the software should do and how it should behave
They include functional requirements (what the software should do) and non-functional requirements (how well it should do it)
Requirements are typically documented in a requirements specification document
They are used to guide the dev...
I appeared for an interview in Nov 2020.
Round duration - 2 hours
Round difficulty - Medium
In the 1st round
Aptitude
Reasoning
English
Automata fix( code debug)
Timing in morning
Environment is good
Interviewer was very cool and interactive
Given a text message, your task is to return the Run-length Encoding of the given message.
Run-length encoding is a fast and simple method of encoding strings, repres...
Implement a function to encode a text message using run-length encoding.
Iterate through the message and count consecutive characters
Append the character and its count to the encoded message
Handle edge cases like single characters or empty message
Round duration - 30 minutes
Round difficulty - Medium
This is interview round
Ques from basic electronics
C language
Create a class named Person
with a string variable 'name'
and an integer variable 'age'
, such that these variables are not accessible outside the class. Implement a me...
Create a class Person with private variables name and age, and methods to set and get their values.
Create a class Person with private variables 'name' and 'age'.
Implement a method setValue to set the variables' values.
Implement a method getValue to print the variables' values.
Ensure the name is a non-empty string and the age is a non-negative integer.
Encapsulate the data and provide a clear interface for setting and ge...
Tip 1 : Do aptitude from indiabix. Go through your basics. At least one language u know. Learn about your branch basics. Know concept of data structure and oops.
Tip 2 : prepare your final project well.
Tip 1 : the skills you know very well mention in resume
Tip 2 : mention project in resume
based on 5 interview experiences
Difficulty level
Duration
based on 8 reviews
Rating in categories
Associate Software Engineer
15
salaries
| ₹3.2 L/yr - ₹4 L/yr |
Software Engineer
10
salaries
| ₹2.7 L/yr - ₹5 L/yr |
Java Developer
4
salaries
| ₹2.4 L/yr - ₹4 L/yr |
Front end Developer
4
salaries
| ₹3.5 L/yr - ₹6 L/yr |
TCS
Accenture
Wipro
Cognizant