Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Encora Team. If you also belong to the team, you can get access from here

Encora Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Encora Senior Ruby on Rails Developer Interview Questions and Answers

Updated 8 Apr 2024

Encora Senior Ruby on Rails Developer Interview Experiences

1 interview found

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Oct 2023. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. How do you compare STI with Polymorphic association
  • Ans. 

    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...

  • Answered by AI
  • Q2. Rails API best practices
  • Ans. 

    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

  • Answered by AI
  • Q3. Importance of CSRF tokens and CSP headers
  • Ans. 

    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...

  • Answered by AI
  • Q4. Design a API rate limitter
  • Ans. 

    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...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare for basic questions on Ruby on Rails, and do some hands-on with system design if interviewing for Bugcrowd.

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
4d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Encora?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview before Mar 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

21 students were shortlisted from the 1st MCQ round and in this round we were asked to write the codes (function only) of 3 questions in 1 hour time.

  • Q1. 

    Rotting Oranges Problem Statement

    You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:

    • 0 - representing an empty cell
    • 1 - representing a fre...
  • Ans. 

    Find the minimum time required to rot all fresh oranges in a grid.

    • Use Breadth First Search (BFS) to simulate the rotting process

    • Track the time taken to rot all oranges and return -1 if any fresh oranges remain

    • Handle edge cases like no fresh oranges or all oranges already rotten

    • Consider using a queue to efficiently process adjacent oranges

  • Answered by AI
  • Q2. 

    Majority Element Problem Statement

    Given an array/list 'ARR' consisting of 'N' integers, your task is to find the majority element in the array. If there is no majority element present, return -1.

    Exampl...

  • Ans. 

    Find the majority element in an array, return -1 if no majority element exists.

    • Iterate through the array and keep track of the count of each element using a hashmap.

    • Check if any element's count is greater than floor(N/2) to determine the majority element.

    • Return the majority element or -1 if no majority element exists.

  • Answered by AI
  • Q3. 

    Maximum Path Sum Between Two Leaves Problem Description

    You are provided with a non-empty binary tree in which each node contains a non-negative integer value. Your task is to find and return the maximum ...

  • Ans. 

    Find the maximum path sum between two leaf nodes in a binary tree.

    • Traverse the tree to find the maximum path sum between two leaf nodes.

    • Keep track of the maximum sum found so far.

    • Consider all possible paths between leaf nodes.

    • Handle cases where the tree has only a single leaf node.

    • Implement a recursive function to calculate the maximum path sum.

  • Answered by AI
Round 2 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

This was a technical round with DSA based questions.

  • Q1. 

    N-th Node From The End Problem Statement

    You are given a Singly Linked List of integers. The task is to find the N-th node from the end of the list.

    Example:

    Input:
    If the given list is (1 -> -2 -&g...
  • Ans. 

    Find the N-th node from the end of a Singly Linked List of integers.

    • Traverse the list to find the length L of the list.

    • Calculate the position of the N-th node from the beginning as L - N + 1.

    • Traverse the list again to reach the calculated position and return the node's value.

  • Answered by AI
  • Q2. 

    LCA of Binary Tree Problem Statement

    You are given a binary tree consisting of distinct integers and two nodes, X and Y. Your task is to find and return the Lowest Common Ancestor (LCA) of these two nodes...

  • Ans. 

    Find the Lowest Common Ancestor (LCA) of two nodes in a binary tree.

    • Traverse the binary tree to find the paths from the root to nodes X and Y.

    • Compare the paths to find the last common node, which is the LCA.

    • Handle cases where one node is an ancestor of the other or when one node is the LCA itself.

  • Answered by AI
  • Q3. 

    Reverse Words in a String: Problem Statement

    You are given a string of length N. Your task is to reverse the string word by word. The input may contain multiple spaces between words and may have leading o...

  • Ans. 

    Reverse words in a string while handling leading/trailing spaces and multiple spaces between words.

    • Split the input string by spaces to get individual words

    • Reverse the list of words

    • Join the reversed words with a single space in between

    • Handle leading/trailing spaces by stripping them before and after reversing

  • Answered by AI
Round 3 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Technical Interview round with questions based on DSA

  • Q1. 

    Minimum Time To Solve The Problems

    Given 'N' subjects, each containing a certain number of problems, and 'K' friends, assign subjects to friends such that each subject goes to exactly one friend, maintain...

  • Ans. 

    Assign subjects to friends to minimize maximum workload, find minimum time for most loaded friend.

    • Sort subjects in descending order

    • Assign subjects to friends one by one until all subjects are assigned

    • The maximum workload will be the sum of problems assigned to the friend with the most problems

    • Return the maximum workload as the minimum time required

  • Answered by AI
  • Q2. What is grammar in the context of compiler design?
  • Ans. 

    Grammar in compiler design defines the syntax and structure of a programming language.

    • Grammar specifies the rules for forming valid statements in a programming language.

    • It consists of a set of production rules that define how valid programs can be constructed.

    • There are different types of grammars such as context-free grammar, regular grammar, etc.

    • Example: In C programming language, the grammar specifies that a for loop...

  • Answered by AI
  • Q3. What is a token in compiler design?
  • Ans. 

    A token in compiler design is a basic unit of syntax that the compiler can understand and process.

    • Tokens are the smallest units of a program that are meaningful to the compiler.

    • Examples of tokens include keywords, identifiers, operators, and punctuation symbols.

    • Tokens are generated by the lexical analysis phase of the compiler.

    • Tokens are used by the parser to build the abstract syntax tree of the program.

  • Answered by AI
Round 4 - Video Call 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Technical round with questions on DSA and Compiler Design mainly. He told me that you’ll be having your final HR round in some time. I knew that I was going well because he seemed to be quite satisfied with my answers.

  • Q1. 

    Sum Root to Leaf Numbers

    You are given an arbitrary binary tree consisting of N nodes, each associated with an integer value from 1 to 9. Each root-to-leaf path can be considered a number formed by concat...

  • Ans. 

    Find the total sum of all root to leaf paths in a binary tree formed by concatenating node values.

    • Traverse the binary tree from root to leaf nodes, keeping track of the current path sum

    • Add the current path sum to the total sum when reaching a leaf node

    • Use modulo (10^9 + 7) to handle large outputs

  • Answered by AI
  • Q2. What is a regular language?
  • Ans. 

    A regular language is a language that can be recognized by a finite automaton.

    • Regular languages can be described by regular expressions.

    • Regular languages are closed under union, concatenation, and Kleene star operations.

    • Examples of regular languages include the set of all strings over an alphabet that contain an even number of 'a's.

  • Answered by AI
  • Q3. What are NP and NP-Hard problems?
  • Ans. 

    NP problems are decision problems that can be verified in polynomial time, while NP-Hard problems are at least as hard as the hardest problems in NP.

    • NP problems can be verified in polynomial time but not necessarily solved in polynomial time.

    • NP-Hard problems are at least as hard as the hardest problems in NP, but may not be in NP themselves.

    • Examples of NP problems include the subset sum problem and the traveling salesm...

  • Answered by AI
Round 5 - HR 

Round duration - 30 minutes
Round difficulty - Easy

That was the round for which I’ve been waiting for hours 
She was very friendly and nice to talk to. It didn’t seem that I was talking to the HR. It was more like talking to a friend. Finally we discussed about the pay-scale and work culture in Accolite.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAAccolite Digital Pvt Ltd interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Senior Ruby on Rails Developer Interview Questions Asked at Other Companies

Q1. How can an application running in the cloud with tightly coupled ... read more
Q2. How would you add a new column to a database table in production ... read more
asked in Encora
Q3. How do you compare STI with Polymorphic association?
asked in Encora
Q4. Importance of CSRF tokens and CSP headers
asked in Encora
Q5. Rails API best practices

Interview Questionnaire 

1 Question

  • Q1. Exam was conducted on programmes. 10 questions were asked

I applied via Recruitment Consultant and was interviewed in May 2019. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Technical questions & team leading

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview is not difficult..

Interview Questionnaire 

1 Question

  • Q1. Interview questions on .net technology

I applied via Referral and was interviewed in Oct 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. DS Questions 1. kth largest element. 2. Implement merge sort
  • Q2. Springboot basics, oops, collection api

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepeare DS well

I applied via Recruitment Consulltant and was interviewed before Apr 2021. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Different types of No SQL DBs
  • Ans. 

    NoSQL databases are non-relational databases that store and retrieve data in a non-tabular format.

    • Document-oriented databases (MongoDB, Couchbase)

    • Key-value stores (Redis, Riak)

    • Column-family stores (Cassandra, HBase)

    • Graph databases (Neo4j, OrientDB)

  • Answered by AI
  • Q2. Different types of scaling
  • Ans. 

    Scaling refers to the process of increasing or decreasing the capacity of a system to handle more or less load.

    • Vertical Scaling: Adding more resources to a single node

    • Horizontal Scaling: Adding more nodes to a system

    • Load Balancing: Distributing the load across multiple nodes

    • Database Sharding: Splitting a database into smaller parts to distribute the load

    • Caching: Storing frequently accessed data in memory for faster acc...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Focus on Problem solving. Have a good understanding on main concepts of DSA. Java technical side is just as same as other companies. Also if you are applying for senior positions. Prepare for System Design rounds

Skills evaluated in this interview

Are these interview questions helpful?

I applied via Naukri.com and was interviewed in Sep 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. What is event loop?
  • Ans. 

    Event loop is a mechanism that allows non-blocking I/O operations in a single-threaded environment.

    • Event loop is used in programming languages like JavaScript and Python.

    • It manages the execution of multiple tasks by prioritizing them based on their priority level.

    • It continuously checks for new events and executes them in a loop.

    • It allows for efficient handling of I/O operations without blocking the main thread.

    • It is co...

  • Answered by AI
  • Q2. Difference between let var and const.
  • Ans. 

    let, var and const are used to declare variables in JavaScript with different scoping rules and mutability.

    • let and var are used to declare variables that can be reassigned later, but var has function scope while let has block scope.

    • const is used to declare variables that cannot be reassigned and have block scope.

    • Using const does not mean the value is immutable, only the variable reference is.

    • let and const were introduc...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - If going for Mean or Mern stack be very firm on JavaScript basics and ES6 concepts.

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Questions on core java, data structures, Spring

I applied via Naukri.com and was interviewed in Dec 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Technical

Interview Preparation Tips

Interview preparation tips for other job seekers - When you Keep on attend interviews, you will get success. But don't give up. Even it is smallest organization which will lead you to take step of success.

Encora Interview FAQs

How many rounds are there in Encora Senior Ruby on Rails Developer interview?
Encora interview process usually has 1 rounds. The most common rounds in the Encora interview process are Technical.
What are the top questions asked in Encora Senior Ruby on Rails Developer interview?

Some of the top questions asked at the Encora Senior Ruby on Rails Developer interview -

  1. How do you compare STI with Polymorphic associat...read more
  2. Importance of CSRF tokens and CSP head...read more
  3. Rails API best practi...read more

Tell us how to improve this page.

Overall Interview Experience Rating

5/5

based on 1 interview experience

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more

Interview Questions from Similar Companies

CitiusTech Interview Questions
3.3
 • 290 Interviews
Altimetrik Interview Questions
3.7
 • 241 Interviews
Xoriant Interview Questions
4.1
 • 213 Interviews
Globant Interview Questions
3.7
 • 183 Interviews
ThoughtWorks Interview Questions
3.9
 • 157 Interviews
Apexon Interview Questions
3.3
 • 150 Interviews
Brillio Interview Questions
3.4
 • 139 Interviews
View all
Senior Software Engineer
922 salaries
unlock blur

₹16.9 L/yr - ₹31.3 L/yr

Technical Lead
873 salaries
unlock blur

₹24 L/yr - ₹42 L/yr

Software Engineer
338 salaries
unlock blur

₹5.9 L/yr - ₹15.3 L/yr

Software Developer
170 salaries
unlock blur

₹5.1 L/yr - ₹13 L/yr

QA Lead
146 salaries
unlock blur

₹17.4 L/yr - ₹30.4 L/yr

Explore more salaries
Compare Encora with

Xoriant

4.1
Compare

CitiusTech

3.3
Compare

HTC Global Services

3.5
Compare

HERE Technologies

3.8
Compare
write
Share an Interview