Filter interviews by
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
Meta programming is writing code that can modify or generate other code during runtime.
Meta programming allows for dynamic code generation and modification at runtime.
Common examples include defining methods or classes dynamically, modifying existing classes or objects, and creating DSLs.
Metaprogramming is often used in frameworks like Ruby on Rails to provide powerful abstractions and flexibility.
include is used to add instance methods to a class, while extend is used to add class methods to a class.
include is used to mix in module methods as instance methods in a class.
extend is used to mix in module methods as class methods in a class.
Example: include ModuleName adds ModuleName's instance methods to the class, while extend ModuleName adds ModuleName's class methods to the class.
Monkey patching is the practice of modifying or adding methods to existing classes or modules at runtime.
Monkey patching can be used to add functionality to third-party libraries without modifying their source code.
It can lead to unexpected behavior and conflicts if not done carefully.
Example: Adding a custom method to the String class in Ruby.
Optimizing the database involves indexing, query optimization, denormalization, and caching.
Use indexing on frequently queried columns to improve search performance.
Optimize queries by avoiding unnecessary joins and using efficient SQL queries.
Consider denormalizing data to reduce the number of joins needed for queries.
Implement caching mechanisms to store frequently accessed data in memory for faster retrieval.
Concerns in Ruby on Rails are used to group common functionality that can be shared across multiple models.
Concerns help in keeping the code DRY (Don't Repeat Yourself) by extracting reusable code into separate modules.
They are used to encapsulate shared methods, scopes, validations, callbacks, etc.
Concerns are included in models using mixins, which allow the shared functionality to be easily added to multiple classes.
...
Top trending discussions
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.
Easy logical questions
basic quant
Easy level coding questions
Counting frequency of alphabets
Multiple dispatch is not a feature of Redux. It can be achieved using middleware or custom logic.
Middleware like redux-thunk or redux-saga can be used to dispatch multiple actions based on a single action.
Custom logic can be implemented in the reducer to handle multiple actions based on a single action type.
For example, a single 'ADD_ITEM' action can trigger multiple actions like 'UPDATE_TOTAL', 'UPDATE_HISTORY', etc.
M...
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Job Portal and was interviewed before Dec 2019. There was 1 interview round.
I applied via Naukri.com and was interviewed in Aug 2018. There was 0 interview round.
I applied via Company Website and was interviewed before Jun 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed before Mar 2020. There were 5 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
Faced various technical challenges, including system integration and performance optimization, which I successfully navigated through strategic solutions.
Integration of legacy systems with modern applications: I utilized APIs and middleware to ensure seamless data flow.
Performance bottlenecks in a web application: Implemented caching strategies and optimized database queries, resulting in a 40% speed increase.
Debugging...
based on 1 interview experience
Difficulty level
Duration
Software Developer
3
salaries
| ₹1.2 L/yr - ₹13 L/yr |
TCS
Accenture
Wipro
Cognizant