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...
It was easy asked about some basic concepts
Basic coding based on data structures
I appeared for an interview in Aug 2024.
I am a Software Developer with experience in projects involving data structures, algorithms, and Python.
Worked on a project implementing a binary search tree data structure in Python.
Implemented sorting algorithms like bubble sort and quicksort in a project.
Answered questions related to Python concepts like list comprehensions and lambda functions.
Solved algorithmic questions involving concepts like recursion and dynam...
React Queries are a library for managing server state in React applications.
React Queries provide a way to fetch and cache data from an API in React components.
They offer features like caching, background fetching, and automatic refetching.
React Queries can handle complex data fetching requirements, such as pagination and infinite scrolling.
Yes, useEffect() hook can run twice under certain conditions.
useEffect() hook can run twice if the dependencies array changes between renders.
This can happen if the dependencies array contains values that change frequently.
For example, if a state variable is included in the dependencies array and it is updated in the component, useEffect() will run again.
Aptitude auestions were there
In this round 14 mcq and 2 sql queries were given
posted on 7 Oct 2024
I approach problem-solving methodically, breaking down issues and applying logical reasoning to find effective solutions.
Understand the problem: Read the question carefully and clarify any doubts.
Break it down: Divide the problem into smaller, manageable parts.
Research: Look for similar problems or solutions online or in documentation.
Plan: Outline a step-by-step approach to tackle the problem.
Implement: Write code or ...
Round 1 Aptitude Test. They Ask Total 24 questions There are Aptitude and Verbal, One Codding question related To Sql Joins.
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.
Some of the top questions asked at the Hughes Systique Corporation Java Developer interview -
based on 1 interview experience
Difficulty level
Duration
Principal Engineer
308
salaries
| ₹11.2 L/yr - ₹37.5 L/yr |
Senior Engineer
260
salaries
| ₹7.5 L/yr - ₹22 L/yr |
Senior Software Engineer
221
salaries
| ₹7.2 L/yr - ₹23 L/yr |
Software Engineer
176
salaries
| ₹4.5 L/yr - ₹14 L/yr |
Engineer
106
salaries
| ₹5.5 L/yr - ₹14.5 L/yr |
Fractal Analytics
Kiya.ai
MathCo
Innovatiview India Ltd