i
Dayforce
Filter interviews by
Java javascript sql aptitude related questions
OOPs concept in Java stands for Object-Oriented Programming, which focuses on creating objects that interact with each other.
OOPs concept involves the use of classes and objects
Encapsulation, Inheritance, Polymorphism, and Abstraction are key principles of OOPs
Example: Creating a class 'Car' with properties like 'make', 'model', and methods like 'startEngine', 'drive'
Main method in Java is the entry point for any Java program. It is the method where the program starts execution.
Main method must be declared as public, static, and void.
It must accept an array of strings as an argument.
It is the method where the program starts execution.
Example: public static void main(String[] args) { }
I applied via Indeed and was interviewed before Aug 2023. There were 2 interview rounds.
var is function scoped, let is block scoped in JavaScript
var is function scoped, let is block scoped
var can be redeclared, let cannot be redeclared
let is recommended for variable declaration in modern JavaScript
A singleton is a design pattern that restricts the instantiation of a class to one object.
Singleton pattern ensures that a class has only one instance and provides a global point of access to it.
Commonly used in scenarios where only a single instance of a class is needed, such as database connections or logging.
Implemented by creating a static method in the class that returns the same instance every time it is called.
Cross join is a type of join operation in SQL that returns the Cartesian product of two tables.
Cross join combines each row from the first table with every row from the second table.
It does not require any matching condition like other types of joins.
Cross join can result in a large number of rows if the tables being joined have many rows.
Example: SELECT * FROM table1 CROSS JOIN table2;
Classes are reference types with inheritance and access specifiers, while structs are value types with no inheritance and public access by default.
Classes are reference types, while structs are value types
Classes support inheritance, while structs do not
Classes have access specifiers like public, private, protected, while structs are public by default
Top trending discussions
I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.
It was a coding round interview along with interviewer via Virtual mode. I was given 2 coding questions on HackerRank for the interview:
1. one was an easy problem on counting minimum replacements.
2. "pat is an ordinary kid who works hard to be a great runner...." this was a challenging problem (which I managed to solve).
3. I was asked some basic Python questions, as the role was for a Python Developer.
I would use a relational database like MySQL for the Parking lot as it provides structured data storage and supports complex queries.
Relational databases like MySQL offer structured data storage for parking lot information
Supports complex queries for managing parking lot data efficiently
Ability to handle large amounts of data and transactions
Provides data integrity and security features
Can easily integrate with other s
Key concepts of OOP include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (object).
Inheritance: Allowing a class to inherit properties and behavior from another class.
Polymorphism: Objects of different classes can be treated as objects of a common superclass.
Abstraction: Hiding complex implementation details and showing onl
HashMap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to determine the index in the array where the pair will be stored.
If multiple keys hash to the same index (collision), a linked list is used to store these pairs.
To retrieve a value, t...
I applied via Campus Placement and was interviewed in Oct 2024. There was 1 interview round.
A binary tree is a data structure where each node has at most two children.
Start by creating a Node class with left and right child pointers.
Implement methods to insert, search, and delete nodes in the tree.
Consider different traversal methods like inorder, preorder, and postorder.
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
2medium level questions
posted on 24 Sep 2024
Map unique elements in an array of strings
Create a map to store unique elements
Iterate through the array and add each element to the map as a key
Retrieve the keys of the map to get the unique elements
Sets are data structures that store unique elements and can be used to efficiently find elements in the set.
Sets do not allow duplicate elements, so each element in a set is unique.
To find elements in a set, you can use the 'has' method to check if a specific element is present in the set.
Sets are commonly used in programming for tasks like removing duplicates from a list or checking for the presence of specific elemen
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There were 2 interview rounds.
1 hour , dsa, hackerearth, medim to hard
Hash Map is a data structure that stores key-value pairs and uses a hash function to map keys to their corresponding values.
Hash Map uses a hash function to determine the index of the key-value pair in the underlying array.
Collisions can occur when multiple keys hash to the same index, which can be resolved using techniques like chaining or open addressing.
Hash Map typically has a load factor threshold to determine whe...
Payroll Specialist
15
salaries
| ₹2.7 L/yr - ₹9.2 L/yr |
Senior Analyst
6
salaries
| ₹23 L/yr - ₹34 L/yr |
Application Analyst
4
salaries
| ₹6 L/yr - ₹6 L/yr |
Software Developer
3
salaries
| ₹8 L/yr - ₹8.9 L/yr |
Product Manager
3
salaries
| ₹22.2 L/yr - ₹32 L/yr |
Bosch Global Software Technologies
Amdocs
Automatic Data Processing (ADP)
24/7 Customer