i
Filter interviews by
Implementing a palindrome check in Java without using the reverse() function.
Create a function that takes a string as input.
Use two pointers, one starting from the beginning of the string and the other from the end.
Compare characters at the two pointers and move them towards each other until they meet or cross.
If all characters match, the string is a palindrome.
Example: 'racecar' is a palindrome.
Example: 'hello' i...
Rotate an array of strings by n positions
Create a new array and copy elements from original array starting from index n to the end, then copy elements from index 0 to n-1
Alternatively, you can use array slicing to achieve the rotation
Example: Original array ['a', 'b', 'c', 'd', 'e'], rotate by 2 positions would result in ['c', 'd', 'e', 'a', 'b']
The algorithm to reverse a singly linked list involves iterating through the list and changing the pointers to reverse the direction of the links.
Start with three pointers: current, previous, and next.
Iterate through the list, updating the next pointer to point to the previous node.
Move the previous pointer to the current node and the current pointer to the next node.
Continue until the end of the list is reached, ...
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 two keys hash to the same index, which can be resolved using techniques like chaining or open addressing.
Hash maps offer constant time complexity O(1) for insertion, de...
Use counting method to sort array of strings with 0's and 1's.
Create a count array to store the frequency of 0's and 1's.
Update the original array based on the count array.
Example: Input array - ['0', '1', '0', '1', '1'], Output array - ['0', '0', '1', '1', '1']
I appeared for an interview in Feb 2025.
Rotate an array of strings by n positions
Create a new array and copy elements from original array starting from index n to the end, then copy elements from index 0 to n-1
Alternatively, you can use array slicing to achieve the rotation
Example: Original array ['a', 'b', 'c', 'd', 'e'], rotate by 2 positions would result in ['c', 'd', 'e', 'a', 'b']
Use ORDER BY and LIMIT to get last entry in SQL query
Use ORDER BY column_name DESC to sort in descending order
Use LIMIT 1 to get only the last entry
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 two keys hash to the same index, which can be resolved using techniques like chaining or open addressing.
Hash maps offer constant time complexity O(1) for insertion, deletio...
Implementing a palindrome check in Java without using the reverse() function.
Create a function that takes a string as input.
Use two pointers, one starting from the beginning of the string and the other from the end.
Compare characters at the two pointers and move them towards each other until they meet or cross.
If all characters match, the string is a palindrome.
Example: 'racecar' is a palindrome.
Example: 'hello' is not...
Use counting method to sort array of strings with 0's and 1's.
Create a count array to store the frequency of 0's and 1's.
Update the original array based on the count array.
Example: Input array - ['0', '1', '0', '1', '1'], Output array - ['0', '0', '1', '1', '1']
HTTPS provides secure communication over the internet using encryption, while HTTP does not.
HTTPS uses SSL/TLS encryption to secure data transmission, while HTTP does not.
HTTPS URLs begin with 'https://' and use port 443, while HTTP URLs begin with 'http://' and use port 80.
HTTPS ensures data integrity and authentication, while HTTP does not provide these security measures.
The algorithm to reverse a singly linked list involves iterating through the list and changing the pointers to reverse the direction of the links.
Start with three pointers: current, previous, and next.
Iterate through the list, updating the next pointer to point to the previous node.
Move the previous pointer to the current node and the current pointer to the next node.
Continue until the end of the list is reached, then ...
SQL query to retrieve data from employee table
Use SELECT statement to retrieve data
Specify the columns you want to retrieve
Use FROM clause to specify the table name
Add any conditions using WHERE clause if needed
Top trending discussions
I appeared for an interview before Apr 2024, where I was asked the following questions.
HTML and CSS are essential for creating and styling web forms, enabling user input and interaction.
HTML provides the structure of the form using <form>, <input>, <label>, <textarea>, and <button> elements.
CSS is used to style the form elements, such as setting widths, margins, and colors.
Example of a simple form: <form><label for='name'>Name:</label><input type='text' ...
I applied via Naukri.com and was interviewed in Jul 2023. There were 2 interview rounds.
Types of variables in JavaScript include var, let, and const.
var: globally scoped or function scoped
let: block scoped, can be reassigned
const: block scoped, cannot be reassigned
I appeared for an interview in Mar 2025, where I was asked the following questions.
Designing Google Photos involves scalable storage, efficient image processing, and user-friendly features for photo management.
Scalable Storage: Use cloud storage solutions like Google Cloud Storage to handle vast amounts of user-uploaded photos efficiently.
Image Processing: Implement algorithms for image compression and optimization to reduce storage costs and improve loading times.
User Authentication: Secure user acc...
I applied via Campus Placement and was interviewed in Apr 2024. There were 2 interview rounds.
Maintain a good communication to the hr
getElementById is used in JavaScript to access and manipulate an element in the DOM by its unique ID.
Used to retrieve a specific element from the DOM by its ID
Allows for manipulation of the element's properties, styles, and content
Commonly used in event handling and dynamic content updates
I applied via Naukri.com and was interviewed before Jun 2020. There were 5 interview rounds.
I applied via Naukri.com and was interviewed in May 2019. There was 1 interview round.
MVC separates data flow into three components: Model, View, and Controller.
Model represents data and business logic
View displays data to the user
Controller handles user input and updates the model and view accordingly
Data flows from the model to the view through the controller
Changes in the view are communicated to the controller, which updates the model and view
MVC stands for Model-View-Controller. It is a software design pattern that separates an application into three interconnected components.
Model: Represents the data and business logic of the application
View: Displays the data to the user and handles user input
Controller: Acts as an intermediary between the Model and View, handling user input and updating the Model and View accordingly
posted on 29 Sep 2021
I applied via Naukri.com and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2020. There were 6 interview rounds.
Some of the top questions asked at the Perfios Software Solutions Senior Technical Team Member interview -
based on 1 interview experience
Difficulty level
Duration
based on 1 review
Rating in categories
Senior QA Engineer
72
salaries
| ₹9.7 L/yr - ₹15 L/yr |
Data Processing Associate
59
salaries
| ₹1.9 L/yr - ₹3 L/yr |
Software Development Engineer
57
salaries
| ₹8.1 L/yr - ₹15 L/yr |
Software Developer
55
salaries
| ₹5.9 L/yr - ₹12 L/yr |
Senior Software Development Engineer
54
salaries
| ₹11.1 L/yr - ₹28 L/yr |
Thomson Reuters
Oracle Cerner
Chetu
R Systems International