Upload Button Icon Add office photos
Engaged Employer

i

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

Matrimony.com Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Matrimony.com Mean Stack Developer Interview Questions and Answers

Updated 25 Nov 2024

Matrimony.com Mean Stack Developer Interview Experiences

1 interview found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed before Nov 2023. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. What is service dependency injection?
  • Ans. 

    Service dependency injection is a design pattern where a service is passed to a dependent object rather than the object creating the service itself.

    • Service dependency injection helps in achieving loose coupling between components.

    • It allows for easier testing as dependencies can be easily mocked or replaced.

    • Commonly used in frameworks like Angular for injecting services into components.

  • Answered by AI
  • Q2. What is lazy loading in Angular?
  • Ans. 

    Lazy loading in Angular is a technique used to load modules only when they are needed, improving performance by reducing initial load time.

    • Lazy loading helps in reducing the initial bundle size of the application.

    • It allows for faster loading times as only the required modules are loaded on demand.

    • Lazy loading is achieved by using the loadChildren property in the route configuration of Angular.

    • Lazy loading is commonly u...

  • Answered by AI
Round 2 - Coding Test 

Event loop, MongoDB Queries, Angular Basics

Skills evaluated in this interview

Interview questions from similar companies

I was interviewed before Feb 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

It comprised of general aptitude questions and two coding questions. It was an offline test.

  • Q1. 

    N Queens Problem

    Given an integer N, find all possible placements of N queens on an N x N chessboard such that no two queens threaten each other.

    Explanation:

    A queen can attack another queen if they ar...

  • Ans. 

    The N Queens Problem involves finding all possible placements of N queens on an N x N chessboard where no two queens threaten each other.

    • Use backtracking algorithm to explore all possible configurations.

    • Keep track of rows, columns, and diagonals to ensure queens do not attack each other.

    • Generate and print valid configurations where queens are placed safely.

    • Consider constraints and time limit for efficient solution.

    • Exam...

  • Answered by AI
  • Q2. 

    Sort 0 1 2 Problem Statement

    Given an integer array arr of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.

    Input:

    The first line contains an integer 'T' representing the n...
  • Ans. 

    Sort an integer array containing only 0s, 1s, and 2s in linear time complexity.

    • Use three pointers to keep track of the positions of 0s, 1s, and 2s in the array.

    • Iterate through the array and swap elements based on the values encountered.

    • Achieve sorting in a single scan over the array without using any extra space.

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

After having a technical discussion about my CV. He gave me two questions to code.

  • Q1. 

    Ninja and Substrings Problem Statement

    Ninja has to determine all the distinct substrings of size two that can be formed from a given string 'STR' comprising only lowercase alphabetic characters. These su...

  • Ans. 

    Find all unique contiguous substrings of size two from a given string.

    • Iterate through the string and extract substrings of size two

    • Use a set to store unique substrings

    • Return the set as an array of strings

  • Answered by AI
  • Q2. 

    Cycle Detection in a Singly Linked List

    Determine if a given singly linked list of integers forms a cycle or not.

    A cycle in a linked list occurs when a node's next points back to a previous node in the ...

  • Ans. 

    Detect if a singly linked list forms a cycle by checking if a node's next points back to a previous node.

    • Traverse the linked list using two pointers, one moving one step at a time and the other moving two steps at a time.

    • If the two pointers meet at any point, there is a cycle in the linked list.

    • If one of the pointers reaches the end of the list (null), there is no cycle.

  • Answered by AI
Round 3 - HR 

(1 Question)

Round duration - 30 minutes
Round difficulty - Easy

This was supposed to be the HR round but out of surprise the interviewer started by giving me a question to code. 
After I approached this question with the right solution he just asked about my family. After that he said to wait. After half an hour the results were announced. A total of three students were hired and I was amongst one of them.

  • Q1. 

    Balanced Parentheses Combinations

    Given an integer N representing the number of pairs of parentheses, find all the possible combinations of balanced parentheses using the given number of pairs.

    Explanati...

  • Ans. 

    Generate all possible combinations of balanced parentheses for a given number of pairs.

    • Use recursion to generate all possible combinations of balanced parentheses.

    • Keep track of the number of open and close parentheses used in each combination.

    • Return the valid combinations as an array of strings.

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAMagicbricks interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 5 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

I was interviewed before Dec 2015.

Interview Questionnaire 

2 Questions

  • Q1. 1 question from basic data structures and algorithms The question was similar to the one in the given link- -----/
  • Q2. Why do you want to join the company?
  • Ans. 

    I am excited to join the company because of its reputation for innovation and commitment to employee growth.

    • I am impressed by the company's track record of developing cutting-edge software solutions.

    • I appreciate the company's focus on fostering a culture of learning and development.

    • I am excited about the opportunity to work with a talented team of developers and contribute to the company's success.

    • I believe that the co...

  • Answered by AI

Interview Preparation Tips

Round: Resume Shortlist
Experience: Resumes were shortlisted with a short aptitude round where we are asked basic questions about databases, basic programming(C and C ++ questions)

Round: Technical Interview
Experience: The questions were asked were simple - related to arrays and data structures. Some questions were asked regarding my resume and projects.
Tips: Be thorough with geeksForGeeks, and your projects.

Round: HR Interview
Experience: I told him how I found the story of the founder of Infoedge very inspiring.
Tips: This round should be more simpler , be prepared with why you want to join the company and general HR questions

Skills: Basic C/C++, Programming Skills In Any Language Like C
College Name: IIIT Allahabad

Interview Preparation Tips

Round: Technical Interview
Experience: Ques will be based on arrays( duplicate element, missing element in 1 to n array), link list(reverse, remove loop, middle node etc), Hashing, sql join, normalisation, indexing in sql, singlton pattern and sorting and searching.
Tips: Focus will remain on algorithms. Whatever program they will ask to write, they will also ask to optimize the solution.

Skill Tips: Puzzle on mislabled jar, odd weight ball. As I had exp in Java, so some more que on Java, java script and web technology. All you need in interview is to be confident and show your interest in web domain.
Skills: Java, Data structure, Algorithm
College Name: NA

I was interviewed before Jan 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Two coding questions were given in the first round to be solved in 60 minutes.

  • Q1. 

    Rearrange Array Elements Problem Statement

    Given an array A containing 'N' integers and an integer m, rearrange the elements of the array such that the differences between the array elements and m are sor...

  • Ans. 

    Rearrange array elements based on their differences from a given integer.

    • Calculate the differences between each element and the given integer.

    • Sort the elements based on their differences while maintaining the original order for elements with the same difference.

    • Implement a function to rearrange the array elements as per the given criteria.

  • Answered by AI
  • Q2. 

    Print Nodes at Distance K from a Given Node

    Given an arbitrary binary tree, a node of the tree, and an integer 'K', find all nodes that are at a distance K from the specified node, and return a list of th...

  • Ans. 

    The task is to find all nodes in a binary tree that are at a distance K from a given node.

    • Traverse the binary tree to find the given node

    • From the given node, perform a depth-first search to find all nodes at distance K

    • Use a list to store the values of the nodes at distance K

    • Return the list of values in any order

  • Answered by AI
Round 2 - Face to Face 

(4 Questions)

Round duration - 60 minutes
Round difficulty - Easy

This was a technical round with questions based on DSA, DBMS, Computer Networking and project based questions.

  • Q1. 

    Triangle of Numbers Pattern

    Ninja is tasked with printing a triangle pattern based on a given number 'N' for any test case.

    Example:

    Input:
    N = 4
    Output:
       1
    232
    34545
    4567654

    Explanation:

    The pat...

  • Ans. 

    Print a triangle pattern of numbers based on a given number 'N'.

    • Iterate through each row and print the numbers accordingly

    • Use spaces to center-align the numbers in each row

    • Increment the numbers in each row as per the pattern

  • Answered by AI
  • Q2. What is the difference between a web server and an application server?
  • Ans. 

    Web server serves static content over HTTP, while application server runs dynamic content and business logic.

    • Web server handles HTTP requests and responses, serving static content like HTML, images, and CSS.

    • Application server executes business logic, runs dynamic content, and interacts with databases.

    • Web server examples include Apache, Nginx, while application server examples include Tomcat, JBoss.

    • Web server focuses on...

  • Answered by AI
  • Q3. How does the internet work?
  • Ans. 

    The internet is a global network of interconnected computers that communicate using standardized protocols.

    • The internet is made up of a vast number of interconnected networks of computers.

    • Data is transmitted over the internet using protocols such as TCP/IP.

    • Websites are hosted on servers connected to the internet, and users access them using web browsers.

    • Internet Service Providers (ISPs) provide access to the internet f...

  • Answered by AI
  • Q4. Write a SQL query to find the nth highest salary.
  • Ans. 

    SQL query to find the nth highest salary

    • Use the 'SELECT DISTINCT' statement to get unique salary values

    • Order the salaries in descending order using 'ORDER BY' clause

    • Use 'LIMIT' and 'OFFSET' to get the nth highest salary

  • Answered by AI
Round 3 - HR 

Round duration - 30 minutes
Round difficulty - Easy

Typical HR round with behavioral problems.

Interview Preparation Tips

Professional and academic backgroundI completed Information Technology from Chitkara University. Eligibility criteriaAbove 7 CGPAInfo Edge India (Naukri.com) interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 4 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

I applied via Job Portal and was interviewed before Oct 2020. There were 4 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Data structure
  • Q2. Java concepts
  • Q3. Handson coding

Interview Preparation Tips

Interview preparation tips for other job seekers - Get handson in any language but be confident

I applied via Company Website and was interviewed in Sep 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Fibonacci series, Prime function, linked lisk value access, query

Interview Preparation Tips

Interview preparation tips for other job seekers - First a test based on amcat. Followed by two technical interview. First Tech Interview basis and overview of you concept of ds and algo will ne asked. In second Tech interview indepth concept of topics such as arrays, linked list, os,algo, etc will be asked. Prepare ds and algo concept, dbms query & concept, internet basis such as protocols, methods,etc.

Best of luck

Interview Questionnaire 

12 Questions

  • Q1. Given a no K and an array. Find pair of elements whose sum is equal to given no K
  • Ans. 

    Find pair of elements in an array whose sum is equal to a given number K.

    • Iterate through the array and for each element, check if K minus the element exists in the array.

    • Use a hash table to store the elements and their indices for faster lookup.

    • If multiple pairs exist, return any one of them.

    • If no pair exists, return null or an appropriate message.

  • Answered by AI
  • Q2. If there is a website run by 2 servers. These 2 servers balances the load using Load Balancer. So, if 1 session is created on 1 server and say load is shift to another server immediately, then how session ...
  • Ans. 

    Session is maintained using session affinity or sticky sessions.

    • Session affinity ensures that a user's session is always directed to the same server.

    • Load balancer uses a unique identifier to route requests to the same server.

    • Sticky sessions can be implemented using cookies or URL rewriting.

    • Session replication can also be used to maintain session data across multiple servers.

  • Answered by AI
  • Q3. WAP to implement some basic Design Patterns like Singleton?
  • Ans. 

    Singleton pattern ensures only one instance of a class is created and provides a global point of access to it.

    • Create a private constructor to prevent direct instantiation of the class

    • Create a private static instance of the class

    • Create a public static method to access the instance

    • Ensure thread safety by using synchronized keyword or static initialization block

    • Examples: Logger, Configuration Manager, Database Connection

  • Answered by AI
  • Q4. Abstract class? How it is different from interface? Is multiple inheritance possible in php? How?
  • Ans. 

    Explaining abstract class, interface and multiple inheritance in PHP.

    • Abstract class is a class that cannot be instantiated and can have abstract methods.

    • Interface is a collection of abstract methods and constants that can be implemented by a class.

    • Multiple inheritance is not possible in PHP, but can be achieved using interfaces.

    • Interfaces can be implemented by multiple classes, allowing for multiple inheritance-like be

  • Answered by AI
  • Q5. Write a stored procedure from a given set of tables and conditions. Simple one
  • Ans. 

    Write a stored procedure from given tables and conditions

    • Identify the tables and their relationships

    • Determine the conditions to be used in the stored procedure

    • Write the SQL code for the stored procedure

    • Test the stored procedure to ensure it returns the desired results

  • Answered by AI
  • Q6. How to increase php memory at run time, if it exhausts?
  • Ans. 

    To increase PHP memory at run time, modify the php.ini file or use ini_set() function.

    • Edit the memory_limit value in php.ini file

    • Use ini_set('memory_limit', '256M') function to increase memory limit at run time

    • Check for memory leaks in the code

    • Use unset() function to free up memory after use

  • Answered by AI
  • Q7. What all we can do with php.ini?
  • Ans. 

    php.ini is a configuration file for PHP that allows users to customize various settings.

    • Change PHP settings such as memory limit, file upload size, and error reporting

    • Enable or disable extensions and modules

    • Set timezone and language settings

    • Configure email settings

    • Control caching and session settings

  • Answered by AI
  • Q8. Session and cookies?
  • Q9. Javascript clausers?
  • Q10. Jquery function to get domain from a url?
  • Ans. 

    Use window.location to get domain from a url in jQuery.

    • Use window.location to get the full url

    • Use .hostname to get the domain name

    • Use .replace() to remove 'www.' if present

  • Answered by AI
  • Q11. WAP to get smallest plindron number larger than the given no?
  • Ans. 

    WAP to find smallest palindrome number larger than given number.

    • Convert the given number to string and check if it is already a palindrome.

    • If not, increment the number and check if it is a palindrome.

    • Repeat until a palindrome number larger than the given number is found.

    • Use a while loop to implement the above steps.

  • Answered by AI
  • Q12. WAP to check if linked list elements is a palindrome without using any extra space?
  • Ans. 

    WAP to check if linked list elements is a palindrome without using any extra space.

    • Traverse the linked list and reverse the second half of the list

    • Compare the first half with the reversed second half

    • Use two pointers to traverse the list, one at normal speed and other at double speed

  • Answered by AI

Interview Preparation Tips

Skills: Algorithm, JQuery, Javascript
College Name: na

Skills evaluated in this interview

Interview Questionnaire 

7 Questions

  • Q1. Find the first non repetitive character in a string?
  • Ans. 

    Find the first non-repeating character in a string.

    • Create a hash table to store the frequency of each character in the string.

    • Iterate through the string and check the frequency of each character.

    • Return the first character with a frequency of 1.

  • Answered by AI
  • Q2. What is connection pooling
  • Ans. 

    Connection pooling is a technique of reusing database connections to improve performance.

    • Connection pooling helps to reduce the overhead of creating and destroying database connections.

    • It maintains a pool of connections that can be reused by multiple clients.

    • Connection pooling is commonly used in web applications to handle multiple requests simultaneously.

    • It can be configured with parameters like maximum number of conn...

  • Answered by AI
  • Q3. Write a singleton class in php?
  • Ans. 

    A singleton class in PHP is a class that can only be instantiated once.

    • Create a private constructor to prevent direct instantiation

    • Create a private static variable to hold the instance of the class

    • Create a public static method to get the instance of the class

    • Ensure that the public static method always returns the same instance

  • Answered by AI
  • Q4. How to write a Connection class to MySQL database using PHP?
  • Ans. 

    To connect to MySQL database using PHP, create a Connection class.

    • Use mysqli_connect() function to establish a connection

    • Pass the database credentials as parameters to the function

    • Create a constructor method to initialize the connection

    • Create a query method to execute SQL queries

    • Close the connection using mysqli_close() method

  • Answered by AI
  • Q5. What are the different types of error in php?
  • Ans. 

    There are three types of errors in PHP: syntax errors, runtime errors, and logical errors.

    • Syntax errors occur when the code is not written correctly, such as missing semicolons or parentheses.

    • Runtime errors occur during the execution of the code, such as trying to access an undefined variable.

    • Logical errors occur when the code runs without errors, but produces unexpected results, such as a miscalculation in a formula.

  • Answered by AI
  • Q6. How session works in php?
  • Ans. 

    Session in PHP allows to store user data on the server for later use.

    • Session starts when a user logs in and ends when the user logs out or the session expires.

    • Session data is stored on the server and identified by a unique session ID.

    • Session variables can be set and accessed using the $_SESSION superglobal array.

    • Session can be destroyed using the session_destroy() function.

    • Session can be used to store user-specific dat...

  • Answered by AI
  • Q7. Find missing element in an array of elements from 0 to n-1?
  • Ans. 

    Find missing element in an array of elements from 0 to n-1

    • Calculate sum of all elements in array and subtract from sum of n natural numbers

    • Use XOR operation on all elements and n natural numbers

    • Sort the array and find the missing element

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: You have been given stack of documents that have already been processed and some that have not. your task is to classify these documents into one of the eight categories: [1,2,3..8]. However you notice that there are already large amount of documents which have already been correctly processed(training data). you decide to use machine learning on this data in order to categorize.First line of the input file contain T number of documents. T lines will follow each containing a series of space separated words which represents the processed word.

Skills: PHP, data base, data structure
College Name: NA

Skills evaluated in this interview

I was interviewed before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 90 minutes
Round difficulty - Easy

This was MCQ+Coding round.

  • Q1. How can you check if two strings are anagrams of each other?
  • Ans. 

    Check if two strings are anagrams by comparing the sorted versions of the strings.

    • Sort both strings and compare if they are equal.

    • Use a hashmap to store the frequency of characters in each string and compare the maps.

    • Ignore spaces and punctuation when comparing the strings.

  • Answered by AI
Round 2 - Face to Face 

Round duration - 90 minutes
Round difficulty - Easy

This was face to face interview round.

Round 3 - Face to Face 

Round duration - 90 minutes
Round difficulty - Easy

This was face to face interview round.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from National Institute Of Technology, Silchar, Assam. I applied for the job as SDE - 1 in SiddharthnagarEligibility criteria6 CGPAAmazon interview preparation:Topics to prepare for the interview - Basic Computer Science backgroundTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Participate in live contests on websites like Codechef, Codeforces etc as much as possible.
Tip 2 : Practice previous interview questions from LeetCode, GeeksForGeeks.
Tip 3 : Revise Computer Science subjects like DBMS, OOPS thoroughly.

Application resume tips for other job seekers

Add projects and Internships if you have done any and add only those things which you really know.

Final outcome of the interviewSelected

Skills evaluated in this interview

Matrimony.com Interview FAQs

How many rounds are there in Matrimony.com Mean Stack Developer interview?
Matrimony.com interview process usually has 2 rounds. The most common rounds in the Matrimony.com interview process are Coding Test and Technical.
What are the top questions asked in Matrimony.com Mean Stack Developer interview?

Some of the top questions asked at the Matrimony.com Mean Stack Developer interview -

  1. What is lazy loading in Angul...read more
  2. What is service dependency injecti...read more

Tell us how to improve this page.

Matrimony.com Mean Stack Developer Interview Process

based on 1 interview

Interview experience

3
  
Average
View more

Interview Questions from Similar Companies

Amazon Interview Questions
4.1
 • 5k Interviews
Flipkart Interview Questions
4.0
 • 1.3k Interviews
Swiggy Interview Questions
3.8
 • 424 Interviews
PolicyBazaar Interview Questions
3.6
 • 345 Interviews
Udaan Interview Questions
3.9
 • 333 Interviews
Meesho Interview Questions
3.7
 • 328 Interviews
JustDial Interview Questions
3.5
 • 324 Interviews
Info Edge Interview Questions
3.9
 • 316 Interviews
Zomato Interview Questions
3.7
 • 308 Interviews
View all
Senior Relationship Manager
281 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Relationship Manager
236 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Customer Service Executive
130 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Executive
129 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Team Lead
110 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Matrimony.com with

Info Edge

3.9
Compare

JustDial

3.5
Compare

Naukri

4.0
Compare

99acres

3.9
Compare
Did you find this page helpful?
Yes No
write
Share an Interview