Filter interviews by
Clear (1)
I applied via Walk-in and was interviewed in May 2024. There were 2 interview rounds.
Proc is a block of code that can be reused, while lambda is an anonymous function.
Proc is a saved block of code that can be called multiple times, while lambda is a one-time anonymous function.
Procs are defined using the 'proc' keyword, while lambdas are defined using the 'lambda' keyword.
Procs can take multiple arguments, while lambdas are limited to a single expression.
A mixin is a way to add functionality to a class without using inheritance. Ruby does not support multiple inheritance due to potential conflicts.
Mixins in Ruby are achieved using modules, which can be included in classes to add methods and attributes.
Ruby does not support multiple inheritance because it can lead to the diamond problem, where conflicting methods from different parent classes cause ambiguity.
Instead of ...
Callbacks are methods that are called at certain points in an object's lifecycle. Destroy permanently deletes a record, while delete marks it as deleted.
Validation callbacks are methods that are called before or after validations on an object. They are used to ensure data integrity.
Destroy method permanently deletes a record from the database, including associated records. It does not trigger callbacks or validations.
D...
Many to many vs has and belongs to many association, and explanation of polymorphic association.
Many to many association involves a join table to connect two models with a many-to-many relationship.
Has and belongs to many association is a simpler version of many to many, where the join table is hidden.
Polymorphic association allows a model to belong to more than one other model, using a single association.
Example: Many...
Hashing is a technique to map data to a fixed-size value. To retain unique elements in a collection, use a hash set.
Create a hash set to store unique elements
Iterate through the collection and add each element to the hash set
If an element already exists in the hash set, skip adding it to retain only unique elements
I applied via Campus Placement and was interviewed in Dec 2022. There were 4 interview rounds.
Some aptitude question with 3 coding question were asked on string and array
Questions related to Java programming language concepts and SQL queries.
final is a keyword used to declare a constant value, finally is a block of code that executes after a try-catch block
static final is used to declare a constant value that can be accessed without creating an instance of the class, local variable has a limited scope within a method
Deadlock occurs when two or more threads are blocked and waiting for e...
Top trending discussions
posted on 21 Mar 2015
I was interviewed before Aug 2016.
I was interviewed in Apr 2017.
I am a software developer with a passion for coding and problem-solving. My family is supportive and has always encouraged my career in tech.
Experienced software developer
Passionate about coding and problem-solving
Supportive family that encourages my career in tech
I was interviewed before Mar 2021.
Round duration - 60 minutes
Round difficulty - Easy
This was an easy round which went really smooth.
Calculate the Nth term in the Fibonacci sequence, where the sequence is defined as follows: F(n) = F(n-1) + F(n-2)
, with initial conditions F(1) = F(2) = 1
.
Calculate the Nth Fibonacci number efficiently using dynamic programming.
Use dynamic programming to store previously calculated Fibonacci numbers to avoid redundant calculations.
Start with base cases F(1) and F(2) as 1, then iteratively calculate F(n) using F(n-1) and F(n-2).
Ensure the input N is within the constraints 1 <= N <= 10000.
Example: For N = 5, the 5th Fibonacci number is 5 (1, 1, 2, 3, 5).
Given a positive integer N
, your task is to determine and return all prime numbers less than or equal to N
.
N = 10
2 3 5 7
N = 20
Implement a function to return all prime numbers less than or equal to a given positive integer N.
Create a function that takes a positive integer N as input
Iterate from 2 to N and check if each number is prime
Use a helper function to determine if a number is prime
Return an array of all prime numbers less than or equal to N
A merge join in SQL is a method of combining two sorted datasets by matching corresponding rows based on a specified condition.
Merge join is used when joining two large datasets that are already sorted.
It is more efficient than other join methods like nested loop join or hash join for sorted datasets.
The join condition must be an equality condition.
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.i
Round duration - 30 minutes
Round difficulty - Easy
The round went excellent. I really enjoyed it. Just be confident about whatever you answer
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.
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.
I was interviewed before Mar 2021.
Round duration - 60 minutes
Round difficulty - Easy
This round went well. Interview depends on your basic knowledge of C/C++.
Given two sparse matrices MAT1
and MAT2
of integers with dimensions 'N' x 'M' and 'M' x 'P' respectively, the goal is to determine the resulting matrix produced by their multipl...
Implement a function to multiply two sparse matrices and return the resulting matrix.
Create a function that takes two sparse matrices as input and returns the resulting matrix after multiplication
Iterate through the non-zero elements of the matrices to perform the multiplication efficiently
Handle the edge cases such as empty matrices or matrices with all zero elements
Ensure the dimensions of the matrices are compatible
Tanmay and Rohit are best buddies. Tanmay gives Rohit a challenge involving an array of N natural numbers. The task is to perform and answer a series of queries on the ...
Count the number of even or odd numbers in a range of an array based on given queries.
Create an array to store the input numbers.
Iterate through the queries and update or count even/odd numbers based on the query type.
Output the count of even or odd numbers for each query of type 1 or 2.
Round duration - 30 minutes
Round difficulty - Easy
Typical HR round with behavioral problems.
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.
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.
I was interviewed in Jul 2017.
posted on 16 Mar 2015
I was interviewed in Apr 2017.
Firmware is a type of software that is embedded in hardware devices to control their functionality.
Firmware is a combination of hardware and software.
It is used to control the behavior of hardware devices.
Firmware is typically stored in non-volatile memory, such as ROM or flash memory.
Examples of devices that use firmware include routers, printers, and digital cameras.
I am a passionate software developer with experience in building web applications and solving complex problems.
Experienced in programming languages such as Java, JavaScript, and Python
Familiar with front-end technologies like HTML, CSS, and React
Strong problem-solving skills and ability to work in a team environment
Previous projects include developing a customer management system for a small business
Some of the top questions asked at the BestPeers Infosystem Junior Software Developer interview -
based on 2 interviews
Interview experience
based on 3 reviews
Rating in categories
Software Engineer
98
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
66
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
20
salaries
| ₹0 L/yr - ₹0 L/yr |
Ruby on Rails Developer
15
salaries
| ₹0 L/yr - ₹0 L/yr |
Junior Software Developer
12
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech