i
Smart Energy Water
Filter interviews by
I appeared for an interview before Dec 2020.
Round duration - 65 minutes
Round difficulty - Medium
it was a technical round consists of aptitude questions and coding round.
Given an array/list 'ARR' consisting of 'N' integers, your task is to find the majority element in the array. If there is no majority element present, return -1.
Find the majority element in an array, return -1 if no majority element exists.
Iterate through the array and keep track of the count of each element using a hashmap.
Check if any element's count is greater than floor(N / 2) to determine the majority element.
Return the majority element or -1 if no majority element exists.
You are provided with a matrix MAT
of size 'N' * 'M', where 'N' is the number of rows and 'M' is the number of columns. Your task is to rotate the matrix to the right 'K' times,...
Rotate a matrix to the right 'K' times by shifting each column to the right 'K' times.
Iterate 'K' times to perform right rotation on the matrix
Shift each column to the right by one position in each iteration
Handle the edge cases where 'K' is greater than the number of columns
Round duration - 20 minutes
Round difficulty - Medium
I was asked to solve problems based on NLP,DBMS,ML. Some of them were situational based questions.
Given a postfix expression, your task is to evaluate the expression. The operator will appear in the expression after the operands. The output for each expr...
Evaluate postfix expressions by applying operators after operands. Return result modulo (10^9+7).
Iterate through each character in the postfix expression
If character is an operand, push it onto the stack
If character is an operator, pop two operands from stack, apply operator, and push result back
Continue until end of expression, return final result modulo (10^9+7)
Tip 1 : Practice Company's Previous asked Questions.
Tip 2 : Practice Aptitude Questions also
Tip 3 : Practise mock interview it will boost your confidence
Tip 1 : Add development Projects
Tip 2 : Don't add too much unnecessary things
I applied via Naukri.com and was interviewed before Jul 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Jan 2020. There were 4 interview rounds.
Top trending discussions
posted on 31 Dec 2020
I applied via Naukri.com and was interviewed in Jul 2020. There were 3 interview rounds.
I applied via Google and was interviewed in Mar 2021. There was 1 interview round.
posted on 29 Nov 2022
Pattern program
Multithreading program
And overriding program
posted on 13 Jan 2023
I applied via Naukri.com and was interviewed before Jan 2022. There were 2 interview rounds.
posted on 12 Jan 2024
I applied via Campus Placement and was interviewed in Dec 2023. There was 1 interview round.
A class is a blueprint for creating objects, while an object is an instance of a class. Private, protected, public, and default are access modifiers in object-oriented programming.
A class is a template or blueprint that defines the properties and behaviors of objects.
An object is an instance of a class, created using the class blueprint.
Private access modifier restricts access to class members within the same class.
Pro...
An object is a self-contained entity that consists of both data and behavior.
Objects are instances of classes in object-oriented programming.
They encapsulate data and provide methods to manipulate that data.
Objects can interact with each other through method calls and message passing.
Examples of objects include a car, a person, or a bank account.
Public is a keyword in programming languages that denotes the accessibility of a class, method, or variable.
Public is one of the access modifiers in object-oriented programming.
It allows the class, method, or variable to be accessed from any other class or package.
Public members are part of the public API of a software component.
Example: public class MyClass { ... }
Example: public void myMethod() { ... }
Example: public
In programming, private is an access modifier that restricts the visibility of a class member to within its own class.
Private is used to encapsulate data and prevent direct access from outside the class.
Private members can only be accessed through public methods or properties.
Private variables are often used to store internal state or implementation details.
Private methods are used for internal logic and are not meant
protected is an access modifier in object-oriented programming that restricts access to members within the same package or subclasses.
protected is one of the four access modifiers in Java, along with public, private, and default.
Members declared as protected can be accessed within the same package or by subclasses.
Protected members are not accessible outside the package unless accessed through inheritance.
Example: prot...
posted on 27 Feb 2024
I applied via Recruitment Consulltant and was interviewed before Feb 2023. There were 4 interview rounds.
That was conducted in my College and it was online assessment for aptitude
The == operator checks for equality, while the === operator checks for strict equality (including data type).
The == operator only checks for equality of values, not data types.
The === operator checks for both equality of values and data types.
Example: 5 == '5' would return true, but 5 === '5' would return false.
based on 1 review
Rating in categories
Product Engineer
103
salaries
| ₹5.5 L/yr - ₹16 L/yr |
Senior Product Engineer
72
salaries
| ₹7.5 L/yr - ₹27 L/yr |
Senior Software Engineer
63
salaries
| ₹6.6 L/yr - ₹21.2 L/yr |
Production Analyst
54
salaries
| ₹7 L/yr - ₹9.8 L/yr |
Technical Lead
37
salaries
| ₹9.8 L/yr - ₹24 L/yr |
Apisero
Actalent Services
Cyber Infrastructure
TestingXperts