i
Encora
Filter interviews by
I applied via LinkedIn and was interviewed in Oct 2023. There was 1 interview round.
STI is used for inheritance while polymorphic association is used for multiple associations
STI is used for modeling inheritance relationships where different classes share common attributes and behaviors
Polymorphic association is used when a model can belong to more than one other model on a single association
STI can lead to a large number of columns in a table, while polymorphic association requires an additional colu...
Rails API best practices
Use versioning in API endpoints for future changes
Implement proper error handling and response codes
Follow RESTful principles for resource naming and routing
Use serializers to format JSON responses efficiently
Implement authentication and authorization for secure access
CSRF tokens and CSP headers are important security measures to protect against cross-site scripting attacks.
CSRF tokens are used to prevent cross-site request forgery attacks by generating a unique token for each user session.
CSP headers help prevent cross-site scripting attacks by specifying which resources can be loaded on a webpage.
Both CSRF tokens and CSP headers are essential in securing web applications against m
Implementing an API rate limiter to control the number of requests a user can make within a certain time frame.
Use a token bucket algorithm to track and limit the number of requests per user.
Set a limit on the number of requests allowed per user within a specific time window.
Implement a sliding window approach to track request timestamps and enforce rate limits.
Consider using Redis or a similar caching mechanism to sto
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Find the length of the longest subsequence of contiguous integers in an array.
Sort the array
Iterate through the array and check for consecutive integers
Keep track of the longest subsequence found
Use flatMap and map to extract list of pincodes from Employee objects
Use flatMap to flatten the list of Addresses in each Employee object
Use map to iterate over the flattened list and extract the pincodes
Example: employeeList.stream().flatMap(emp -> emp.getAddresses().stream()).map(address -> address.getPincode()).collect(Collectors.toList())
Database pooling is a technique used to manage a pool of database connections for efficient resource utilization. HikariCP is a popular database connection pooling library in Java.
HikariCP is a high-performance database connection pooling library for Java applications.
It is known for its low latency and high throughput.
Configurations for HikariCP include settings such as maximum pool size, connection timeout, and idle ...
I applied via Campus Placement and was interviewed in Nov 2024. There were 3 interview rounds.
Logical reasoning, grammar, and coding: two basic level questions.
I appreciate the collaborative team environment and innovative projects at my current company, and I am excited about the opportunities for growth and learning at your organization.
Collaborative team environment fosters creativity and productivity
Innovative projects challenge me to learn and grow
Excited about the opportunities for growth and learning at your organization
I applied via LinkedIn and was interviewed in Dec 2024. There was 1 interview round.
Remove duplicates from array of strings without using set.
Iterate through the array and compare each element with all other elements to find duplicates.
Create a new array and add elements only if they are not already present in the new array.
Design and code a REST API for a software developer interview.
Define the endpoints and HTTP methods for the API (e.g. GET /users, POST /users)
Implement authentication and authorization mechanisms (e.g. JWT tokens)
Use proper status codes for responses (e.g. 200 OK, 401 Unauthorized)
Include error handling and validation for input data
Document the API using tools like Swagger or OpenAPI
Calculate word frequency using Stream API and lambda expressions
Use Stream API to convert array of strings to stream
Use Collectors.groupingBy to group words by their frequency
Use Collectors.counting to count the occurrences of each word
20 aptitude,20 comunication,4 program questions
General topics . topics about online class vs office line class
2 leetcode medium level type problems were given. This was a cut-off test were majority will be cut-off.
Long coding round - Paired with another thoughtworker
Sonarqube is a static code analysis tool used to detect code smells and bugs in code. It is integrated into CI/CD pipelines for continuous code quality checks.
Sonarqube is a static code analysis tool that identifies code smells, bugs, and security vulnerabilities in code.
Code smells are common programming issues that may indicate a deeper problem in the code. Examples include duplicated code, long methods, and complex ...
Program to find numbers divisible by 3 in a string and reverse their indexes.
Iterate through the string and check if each character is a number divisible by 3.
Store the divisible numbers in an array and reverse their indexes.
Join the array back into a string and return the result.
DSA questions and programming concepts
Reverse array of strings efficiently
Use two pointers approach to swap characters from start and end of each string
Optimize by using in-place reversal instead of creating new strings
Consider edge cases like empty strings or strings with only one character
Senior Software Engineer
746
salaries
| ₹9.9 L/yr - ₹36 L/yr |
Technical Lead
737
salaries
| ₹15 L/yr - ₹46 L/yr |
Software Engineer
269
salaries
| ₹4.5 L/yr - ₹16.8 L/yr |
Software Developer
148
salaries
| ₹3 L/yr - ₹13.1 L/yr |
Senior Software Developer
126
salaries
| ₹8.7 L/yr - ₹30.7 L/yr |
TCS
Infosys
Wipro
HCLTech