i
Hughes Systique
Corporation
Filter interviews by
Securing APIs involves implementing authentication, authorization, encryption, and input validation.
Implement authentication mechanisms like OAuth, JWT, or API keys
Use authorization techniques to control access to APIs based on roles and permissions
Encrypt sensitive data transmitted over the network using HTTPS
Validate and sanitize input to prevent common security vulnerabilities like SQL injection or cross-site s...
Maven clean and install are used to ensure a clean build and to install the project's artifacts into the local repository.
Maven clean removes all the compiled files and artifacts from the previous build.
Maven install compiles the source code, runs tests, and packages the project into a distributable format.
The artifacts are then installed into the local repository for future use by other projects.
Clean and install...
Future object in Java represents the result of an asynchronous computation.
It is used to retrieve the result of a computation that may not have completed yet.
It provides methods to check if the computation is done, retrieve the result, or cancel the computation.
It can be used with the Executor framework to execute tasks asynchronously.
Example: Future
The lifecycle of an object in Hibernate refers to the various states an object goes through during its existence in the Hibernate framework.
The object starts in the transient state when it is not associated with any session or database.
When the object is saved or persisted, it transitions to the persistent state.
In the persistent state, any changes made to the object are tracked and synchronized with the database.
...
Stack peek returns the top element without removing it, while stack pop returns and removes the top element.
Stack peek returns the top element of the stack without modifying the stack.
Stack pop returns and removes the top element of the stack.
Both methods operate on the top element of the stack.
Example: If the stack contains [1, 2, 3], peek will return 3 and pop will return 3 and modify the stack to [1, 2].
Save and Persist are both methods used in Hibernate for saving data to the database.
Save method is used to save an object to the database and returns the generated identifier immediately.
Persist method is used to save an object to the database and returns void.
Save method can be used with both transient and detached objects.
Persist method can only be used with transient objects.
Save method can be called multiple t...
Some disadvantages of Java development include slower performance compared to other languages, high memory consumption, and the need for a virtual machine.
Slower performance compared to languages like C++ due to the overhead of the Java Virtual Machine (JVM)
High memory consumption due to the need for objects and garbage collection
Limited control over hardware resources compared to low-level languages
Lack of suppor...
Program to get the middle of a linked list in a single iteration using two pointers.
Use two pointers, slow and fast, to traverse the linked list
Move slow pointer one step at a time and fast pointer two steps at a time
When fast pointer reaches the end, slow pointer will be at the middle node
Spring filter is a component in the Spring Framework that allows developers to intercept and modify HTTP requests and responses.
Spring filter is used for implementing cross-cutting concerns such as authentication, logging, and caching.
It can be configured to intercept specific URLs or patterns.
Examples of Spring filters include the AuthenticationFilter, LoggingFilter, and CachingFilter.
Filters can be chained toget...
The merge intervals problem involves merging overlapping intervals in an array.
Sort the intervals based on their start times
Initialize an empty result list
Iterate through the sorted intervals
If the current interval overlaps with the previous interval, merge them
If not, add the previous interval to the result list and update the previous interval
Add the last interval to the result list
Return the result list
I applied via Naukri.com and was interviewed in Mar 2023. There were 3 interview rounds.
Linked list is dynamic and efficient for insertion/deletion, while ArrayList is faster for random access.
Linked list uses pointers to connect nodes, while ArrayList uses an underlying array.
Linked list is better for frequent insertion/deletion, while ArrayList is better for frequent random access.
Linked list has O(1) time complexity for insertion/deletion, while ArrayList has O(n) time complexity.
Example: Linked list i...
Program to get the middle of a linked list in a single iteration using two pointers.
Use two pointers, slow and fast, to traverse the linked list
Move slow pointer one step at a time and fast pointer two steps at a time
When fast pointer reaches the end, slow pointer will be at the middle node
Singleton is a design pattern that restricts the instantiation of a class to one object.
Singleton pattern is used when we need to ensure that only one instance of a class is created and used throughout the application.
To implement Singleton, we make the constructor private and provide a static method to get the instance of the class.
Singleton can be broken by using reflection, serialization, and cloning.
Reflection can ...
Deadlock is a situation where two or more threads are blocked and waiting for each other to release resources.
Deadlock occurs when two or more threads are waiting for each other to release resources.
It can be resolved by using techniques like resource allocation graph, timeout, and prevention.
Prevention can be done by avoiding circular wait, hold and wait, and no preemption.
Example: Thread A holds resource X and waits ...
Top trending discussions
I applied via Recruitment Consulltant and was interviewed before Jun 2021. There were 3 interview rounds.
Decision Tree is preferred over Random Forest when interpretability is important.
Decision Tree is easier to interpret and visualize than Random Forest.
Decision Tree is better suited for small datasets with few features.
Random Forest is better suited for large datasets with many features.
Random Forest is less prone to overfitting than Decision Tree.
Decision Tree can be used as a building block for Random Forest.
If inter...
I applied via Approached by Company and was interviewed before May 2021. There were 4 interview rounds.
I applied via Approached by Company and was interviewed in Dec 2023. There were 2 interview rounds.
Best practices for designing REST APIs ensure scalability, maintainability, and usability for developers and consumers.
Use meaningful resource names: e.g., /users instead of /getUsers.
Implement proper HTTP methods: GET for retrieval, POST for creation, PUT for updates, DELETE for removal.
Utilize status codes effectively: 200 for success, 404 for not found, 500 for server errors.
Version your API: e.g., /v1/users to mana...
Design a low-level architecture for a Snakes and Ladders game, focusing on game mechanics and player interactions.
Define a Board class with a 10x10 grid representing the game board.
Create a Player class to manage player attributes like position and name.
Implement a Game class to handle game logic, including turns and win conditions.
Use a Dice class to simulate rolling a die, generating random numbers between 1 and 6.
In...
I applied via LinkedIn and was interviewed in Mar 2024. There was 1 interview round.
Its kind of Geometry question, they asked me to code
but i kind of forget basic like, in coding they asked me geometry and not able to think of solution so it went bad
I applied via Walk-in and was interviewed in Feb 2024. There were 2 interview rounds.
As a recent college graduate, I am actively seeking employment opportunities where I can effectively apply my
skills. Currently pursuing a Bachelor of Engineering in Artificial Intelligence and Machine Learning, I strive to push
my limits to explore new possibilities and acquire additional skills. Aspiring to work in a growth-oriented
environment where I can achieve excellence under existing working conditions, and contribute to the goals of the
organization.
I applied via Company Website and was interviewed before Jun 2023. There was 1 interview round.
Joins in SQL are used to combine rows from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables based on a related column between them
Types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
INNER JOIN returns rows when there is at least one match in both tables
LEFT JOIN returns all rows from the left table and the matched rows from the right table
...
Objects are instances of classes in OOPs. Classes are blueprints for creating objects with attributes and methods.
Objects are instances of classes
Classes are blueprints for creating objects
Classes define attributes and methods for objects
Example: Class 'Car' with attributes like 'color' and methods like 'drive'
posted on 8 Dec 2022
Core Java , DS and Algo
Shortest path algorithm finds the shortest path between two nodes in a graph.
Dijkstra's algorithm is a popular shortest path algorithm that uses a priority queue to find the shortest path in a weighted graph.
A* algorithm is another popular shortest path algorithm that uses heuristics to guide the search towards the goal node.
Bellman-Ford algorithm is used for finding the shortest path in a graph with negative edge weig...
posted on 20 Sep 2023
I applied via Recruitment Consulltant and was interviewed in Aug 2023. There were 3 interview rounds.
A class is a blueprint for creating objects in object-oriented programming.
Classes define the properties and behaviors of objects.
Objects are instances of classes.
Classes can inherit properties and behaviors from other classes.
Encapsulation, inheritance, and polymorphism are key concepts in class-based programming.
Code for star pattern using nested loops
Use nested loops to print the desired pattern
Outer loop controls the number of rows and inner loop controls the number of stars in each row
Example: for a pattern with 5 rows, the code would involve two nested loops to print stars in a pyramid shape
Public and private sectors differ in ownership, funding, and management.
Public sector is owned and operated by the government, while private sector is owned and operated by individuals or companies.
Public sector is funded by taxpayer money, while private sector is funded by investors or owners.
Public sector is managed by government officials, while private sector is managed by business owners or executives.
OOPs stands for Object-Oriented Programming and protocols are a set of rules for communication between devices.
OOPs is a programming paradigm that uses objects and classes to design applications.
Protocols are a set of rules that define how data is transmitted between devices.
In OOPs, objects have attributes and methods that define their behavior.
Examples of OOPs languages include Java, C++, and Python.
Examples of proto...
Some of the top questions asked at the Hughes Systique Corporation Java Developer interview -
based on 1 interview experience
Difficulty level
Duration
Senior Engineer
260
salaries
| ₹7.5 L/yr - ₹22 L/yr |
Principal Engineer
251
salaries
| ₹18 L/yr - ₹32.5 L/yr |
Senior Software Engineer
231
salaries
| ₹11.4 L/yr - ₹20 L/yr |
Software Engineer
185
salaries
| ₹6 L/yr - ₹14 L/yr |
Engineer
104
salaries
| ₹7.6 L/yr - ₹13.4 L/yr |
Fractal Analytics
Kiya.ai
MathCo
Innovatiview India Ltd