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 PHP Developer Interview Questions and Answers

Updated 29 Mar 2022

Matrimony.com PHP Developer Interview Experiences

2 interviews found

I applied via Naukri.com and was interviewed before Mar 2021. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Oops,core php ,mysql

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn new technology and new things

PHP Developer Interview Questions & Answers

user image Anonymous

posted on 29 Mar 2022

I applied via Naukri.com and was interviewed before Mar 2021. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Oops,core php ,mysql

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn new technology and new things

PHP Developer Interview Questions Asked at Other Companies

Q1. How can we report errors in the log file while working on a core ... read more
asked in Impelsys
Q2. What are the different types of errors in PHP?
Q3. Not using array function print [3,4,5,1,2] if my number of loops ... read more
Q4. Write a query to get 4th highest salary from employees table?
Q5. What is the use of group by and having? Write sample query using ... read more

Interview questions from similar companies

I applied via Naukri.com and was interviewed before May 2021. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Magic methods in php basic programming questions
  • Q2. Technical questions from php

Interview Preparation Tips

Interview preparation tips for other job seekers - The place is way too far and they do not entertain people's time.

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

I appeared for an interview in Aug 2017.

Interview Questionnaire 

7 Questions

  • Q1. Implement Merge Sort.
  • Ans. 

    Merge Sort is a divide and conquer algorithm that sorts an array by dividing it into two halves, sorting them separately, and then merging the sorted halves.

    • Divide the array into two halves

    • Recursively sort the two halves

    • Merge the sorted halves

  • Answered by AI
  • Q2. Given a BST containing distinct integers, and a number ‘X’, find all pairs of integers in the BST whose sum is equal to ‘X’.
  • Ans. 

    Find pairs of integers in a BST whose sum is equal to a given number.

    • Traverse the BST and store the values in a hash set.

    • For each node, check if (X - node.value) exists in the hash set.

    • If yes, add the pair (node.value, X - node.value) to the result.

    • Continue traversal until all nodes are processed.

  • Answered by AI
  • Q3. Given a set of time intervals in any order, merge all overlapping intervals into one and output the result which should have only mutually exclusive intervals.
  • Ans. 

    Merge overlapping time intervals into mutually exclusive intervals.

    • Sort the intervals based on their start time.

    • Iterate through the intervals and merge overlapping intervals.

    • Output the mutually exclusive intervals.

    • Example: [(1,3), (2,6), (8,10), (15,18)] -> [(1,6), (8,10), (15,18)]

  • Answered by AI
  • Q4. What are the different types of hashing? Suggest an alternative and a better way for Linear Chaining.
  • Ans. 

    Different types of hashing and alternative for Linear Chaining

    • Different types of hashing include division, multiplication, and universal hashing

    • Alternative for Linear Chaining is Open Addressing

    • Open Addressing includes Linear Probing, Quadratic Probing, and Double Hashing

  • Answered by AI
  • Q5. Implement AVL Tree.
  • Ans. 

    An AVL tree is a self-balancing binary search tree where the heights of the left and right subtrees differ by at most one.

    • AVL tree is a binary search tree with additional balance factor for each node.

    • The balance factor is the difference between the heights of the left and right subtrees.

    • Insertion and deletion operations in AVL tree maintain the balance factor to ensure the tree remains balanced.

    • Rotations are performed ...

  • Answered by AI
  • Q6. Minimum number of squares whose sum equals to given number n.
  • Ans. 

    Find the minimum number of squares whose sum equals to a given number n.

    • Use dynamic programming to solve the problem efficiently.

    • Start with finding the square root of n and check if it is a perfect square.

    • If not, then try to find the minimum number of squares required for the remaining number.

    • Repeat the process until the remaining number becomes 0.

    • Return the minimum number of squares required for the given number n.

  • Answered by AI
  • Q7. Insertion sort for a singly linked list.
  • Ans. 

    Insertion sort for a singly linked list.

    • Traverse the list and compare each node with the previous nodes

    • If the current node is smaller, swap it with the previous node

    • Repeat until the end of the list is reached

    • Time complexity is O(n^2)

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: There were 2 coding questions (no penalty for wrong submission) and 20 Multiple Choice Questions(with negative marking). We were given 90 minutes to solve them. MCQs were based on Data Structures, OS, CN, C outputs, OOP etc.
Tips: Experience in Competitive Programming might help in solving coding questions. No constraints were mentioned and detailed Instructions related to problem were stated vaguely. So code carefully.
Duration: 1 hour 30 minutes
Total Questions: 22

Round: Technical Interview
Experience: The interviewer asked me to introduce myself and a brief introduction of the projects that I have done. She first asked me questions related to my project. After that she moved on to the data structures part.
Tips: Take your time to approach the problems and if the question is not clear ask the interviewer to explain it again.

Round: Technical Interview
Experience: The interviewer asked me about how my previous round went. After that, he asked me to introduce myself and a brief introduction of the projects that I have done. He first asked me a few questions related to my project. Then he moved on to the data structures part. In this round the interviewer gave me strict time limit for coding the solution on paper for each problem and as soon as I was done coding he gave me 2-3 minutes every time to find errors and debug my code.
Tips: Do not panic even if the interviewer sets time limit while solving problems. If the question is not clear ask the interviewer to explain it again.

College Name: The LNM Institute Of Information Technology, Jaipur

Skills evaluated in this interview

Interview Questionnaire 

7 Questions

  • Q1. Some of The most important Salary Immideyetly Processes
  • Q2. Oneandof Yaer NoukrNoukri.com *****
  • Q3. Noukri.com Online Payment
  • Q4. Fast forward Noukri.com
  • Q5. Brhamanc IT Course hdca and core java programming language Brhamanc IT Information Technology World Asia Pacific region India Tamilnadu Coimbatore Chinnathdagam 641108
  • Q6. Brhamanc IT Course hdca and core java programming language
  • Q7. QUALIFICATION:10TH STANDARD

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

There was 2 coding questions
Based on ds and algorithms

  • Q1. 

    Ninja's Pattern with Powers of 2

    Ninja, who loves playing with numbers, sets out to arrange numbers within 'N' rows. The unique arrangement follows these rules: the first row contains 1 number, the second...

  • Ans. 

    Generate a pattern of numbers in rows following a specific sequence based on powers of 2.

    • Start with 1 number in the first row, 2 numbers in the second row, 4 numbers in the third row, and so on based on powers of 2.

    • Fill the pattern with numbers in increasing sequence from 1 to 9, recycling back to 1 after reaching 9.

    • Output the pattern for a given number 'N' of rows.

    • Example: For N = 4, the pattern would be 1, 23, 4567,

  • Answered by AI
  • Q2. 

    Validate Binary Search Tree (BST)

    You are given a binary tree with 'N' integer nodes. Your task is to determine whether this binary tree is a Binary Search Tree (BST).

    BST Definition:

    A Binary Search Tr...

  • Ans. 

    Validate if a given binary tree is a Binary Search Tree (BST) or not.

    • Check if the left subtree of a node contains only nodes with data less than the node's data.

    • Check if the right subtree of a node contains only nodes with data greater than the node's data.

    • Recursively check if both the left and right subtrees are also binary search trees.

    • Example: For a node with data 4, left subtree nodes (2, 1, 3) are smaller and righ

  • Answered by AI
Round 2 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

There was 2 coding questions based on ds and algorithms

  • Q1. 

    Zig-Zag Array Rearrangement

    You are provided with an array of distinct elements, and your task is to rearrange the array elements in a zig-zag manner. Specifically, for every odd index i, the element ARR[...

  • Ans. 

    Rearrange array elements in a zig-zag manner where every odd index element is greater than its neighbors.

    • Iterate through the array and swap elements to satisfy the zig-zag condition.

    • Ensure that for every odd index i, ARR[i] > ARR[i-1] and ARR[i] > ARR[i+1].

    • Multiple correct answers may exist for a given array.

  • Answered by AI
  • Q2. 

    Flatten a Linked List

    You are provided with a linked list of 'N' nodes. Each node contains two pointers: NEXT, pointing to the next node in the list, and CHILD, pointing to a linked list. Each child linke...

  • Ans. 

    Flatten a linked list of sorted child linked lists into a single sorted linked list.

    • Traverse the linked list and maintain a priority queue to keep track of the next smallest element.

    • Merge the child linked lists into the priority queue while traversing the main linked list.

    • Pop elements from the priority queue to create the final flattened linked list.

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Medium

My interview started at 9:30 and it took around 45 minutes to complete my interview.This was held on Amazon Chime and the interview lasted for 1 hour. Firstly the interviewer asked to introduce about myself, later asked regarding the projects I have mentioned in my resume. Then started displaying the coding question. The first question is number of islands in a matrix.

  • Q1. 

    Number of Islands Problem Statement

    You are provided with a 2-dimensional matrix having N rows and M columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...

  • Ans. 

    Count the number of islands in a 2D matrix of 1s and 0s.

    • Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the matrix and identify connected groups of 1s.

    • Maintain a visited array to keep track of visited cells to avoid redundant traversal.

    • Increment the island count each time a new island is encountered.

    • Consider edge cases like when the matrix is empty or all cells are water (0s).

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in HyderabadEligibility criteriaAbove 65 percentAmazon interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Operating Systems, Computer Networks, JavaTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Be enough confident, don't be nervous. Maintain atleast 2 projects in your resume.
Tip 2 : You should be able to answer each and every thing present in your resume. Don't lie in your resume.
Tip 3 : Prepare Data Structures and Algorithms well. They mostly check our Problem Solving ability to find the solutions for the real world problems

Application resume tips for other job seekers

Tip 1 : Mention your skills in which you are perfect
Tip 2 : Mention atleast two projects

Final outcome of the interviewRejected

Skills evaluated in this interview

I applied via Company Website and was interviewed in May 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. General knowledge question

Interview Preparation Tips

Interview preparation tips for other job seekers - General knowledge question

I appeared for an interview in Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 Minutes
Round difficulty - Easy

Two coding questions were asked and 90 minutes of time was allotted to solve both the problems

  • Q1. 

    Find All Pairs Adding Up to Target

    Given an array of integers ARR of length N and an integer Target, your task is to return all pairs of elements such that they add up to the Target.

    Input:

    The first line ...
  • Ans. 

    Given an array of integers and a target, find all pairs of elements that add up to the target.

    • Iterate through the array and for each element, check if the target minus the element exists in a hash set.

    • If it exists, add the pair to the result. If not, add the element to the hash set.

    • Handle cases where the same element is used twice to form a pair.

    • Return (-1, -1) if no pair is found.

  • Answered by AI
  • Q2. 

    Shortest Path in a Binary Matrix Problem Statement

    Given a binary matrix of size N * M where each element is either 0 or 1, find the shortest path from a source cell to a destination cell, consisting only...

  • Ans. 

    Find the shortest path in a binary matrix from a source cell to a destination cell consisting only of 1s.

    • Use Breadth First Search (BFS) algorithm to find the shortest path in the binary matrix.

    • Keep track of visited cells to avoid revisiting them.

    • Update the path length as you traverse the matrix.

    • Return -1 if no valid path exists from source to destination.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

The duration was approx 1 hour. The interview was taken by a young SDE-2.

  • Q1. 

    Character Frequency Problem Statement

    You are given a string 'S' of length 'N'. Your task is to find the frequency of each character from 'a' to 'z' in the string.

    Example:

    Input:
    S : abcdg
    Output:
    1...
  • Ans. 

    The task is to find the frequency of each character from 'a' to 'z' in a given string.

    • Create an array of size 26 to store the frequency of each character from 'a' to 'z'.

    • Iterate through the string and increment the count of the corresponding character in the array.

    • Print the array of frequencies as the output.

  • Answered by AI
  • Q2. 

    Fire in the Cells Problem Statement

    Given a matrix MAT of size N * M, where each cell is either on fire or safe, determine if a person can reach an escape cell without being burnt. The person starts from ...

  • Ans. 

    Determine if a person can reach an escape cell without encountering fire in a matrix.

    • Check if the person can reach an escape cell without encountering fire by simulating the movement of the person and fire spread.

    • If the person can reach an escape cell, return the time taken; otherwise, return -1.

    • Consider the constraints and edge cases while implementing the solution.

  • Answered by AI
Round 3 - Video Call 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Hard

The interviewer introduced himself and asked me to introduce myself.
I told him about the different projects that I had done and the work in the previous company.
I had worked on AWS(Amazon Web Services) so he asked me all the AWS services that I had worked with and to explain one of them. 
I explained about the working of ECS(Elastic Container Service).
After this, he moved to the coding questions.

  • Q1. 

    Maximum 0-1 Distance Problem Statement

    Given a binary matrix of size N*M, find the maximum distance 'di' for every 0-cell to its nearest 1-cell, where the distance is measured using Manhattan distance. Th...

  • Ans. 

    Find the maximum Manhattan distance from a 0-cell to its nearest 1-cell in a binary matrix.

    • Iterate through the matrix to find all 0-cells and calculate their distances to nearest 1-cells using Manhattan distance formula

    • Keep track of the maximum distance found so far and update it if a larger distance is encountered

    • Return the maximum distance as the final result

  • Answered by AI
  • Q2. 

    Search for Indices with Given Difference and Distance

    You are provided with an array containing 'N' non-negative integers, along with two other non-negative integers 'K' and 'M'. Your task is to identify ...

  • Ans. 

    Find a pair of indices in an array with given difference and distance constraints.

    • Iterate through the array and check all possible pairs of indices to satisfy the conditions

    • Use nested loops to compare each pair of indices and their corresponding elements

    • Return 'valid' if a pair of indices is found that meets the conditions, otherwise return 'invalid'

  • Answered by AI
Round 4 - Video Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Medium

The interviewer was a very senior person with at least 10-15 years of experience. He introduced himself and asked me to tell him about myself. (Leadership principle questions followed)
 

  • Q1. 

    Special Binary Tree Problem Statement

    Determine whether an arbitrary binary tree is special. A binary tree is called special if every node in this tree has either zero or two children.

    Example:

    Input:
    ...
  • Ans. 

    Determine if a binary tree is special if every node has zero or two children.

    • Traverse the tree and check if each node has either 0 or 2 children.

    • Use a recursive approach to check children of each node.

    • If any node has only one child, return false immediately.

    • Example: For the given input, the output should be true.

  • Answered by AI
Round 5 - Video Call 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

The interview started with introductions and some Leadership principle questions. The interviewer was again a senior person with at least 10-15 years of experience.

I was asked to explain some AWS services.
He asked me to tell about a time when I had a tight deadline and how I worked during it.
He asked me about a time when I took initiative and came up with something new which helped the entire team.
I had prepared well for the LP questions and was able to answer everything.
After this, we move on to coding questions.

  • Q1. 

    Word Presence in Sentence

    Determine if a given word 'W' is present in the sentence 'S' as a complete word. The word should not merely be a substring of another word.

    Input:

    The first line contains an in...
  • Ans. 

    Check if a given word is present in a sentence as a complete word.

    • Split the sentence into words using spaces as delimiter.

    • Check if the given word matches any of the words in the sentence.

    • Ensure that the word is not just a substring of another word in the sentence.

  • Answered by AI
  • Q2. 

    LRU Cache Design Question

    Design a data structure for a Least Recently Used (LRU) cache that supports the following operations:

    1. get(key) - Return the value of the key if it exists in the cache; otherw...

  • Ans. 

    Design a Least Recently Used (LRU) cache data structure that supports get and put operations with capacity constraint.

    • Use a combination of hashmap and doubly linked list to implement the LRU cache.

    • Keep track of the least recently used item and update it accordingly.

    • Ensure to handle cache capacity by evicting the least recently used item when the cache is full.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Visvesvaraya National Institute Of Technology. I applied for the job as SDE - 1 in HyderabadEligibility criteriaNoneAmazon interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, OOPS, Graphs, TreesTime required to prepare for the interview - 7 MonthsInterview preparation tips for other job seekers

Tip 1 : Start with the basics if you have lost touch with competitive coding. Don't directly jump to interview questions.
Tip 2 : Create a timetable and set goals. Keep aside 3-4 hours for studying. Consistency is the key.
Tip 3 : Focus on medium and hard questions. Solving a lot of easy questions doesn't help.

Application resume tips for other job seekers

Tip 1 : You should have good projects to showcase.
Tip 2 : Keep it clean and simple.

Final outcome of the interviewSelected

Skills evaluated in this interview

Matrimony.com Interview FAQs

How many rounds are there in Matrimony.com PHP Developer interview?
Matrimony.com interview process usually has 1 rounds. The most common rounds in the Matrimony.com interview process are Technical.
How to prepare for Matrimony.com PHP Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Matrimony.com. The most common topics and skills that interviewers at Matrimony.com expect are Javascript, MySQL, PHP, Core PHP and Ajax.

Tell us how to improve this page.

Interview Questions from Similar Companies

Amazon Interview Questions
4.1
 • 5k Interviews
Flipkart Interview Questions
3.9
 • 1.3k Interviews
Swiggy Interview Questions
3.8
 • 433 Interviews
PolicyBazaar Interview Questions
3.6
 • 378 Interviews
Udaan Interview Questions
4.0
 • 334 Interviews
Meesho Interview Questions
3.7
 • 331 Interviews
JustDial Interview Questions
3.5
 • 330 Interviews
Info Edge Interview Questions
3.9
 • 319 Interviews
Zomato Interview Questions
3.8
 • 312 Interviews
View all
Matrimony.com PHP Developer Salary
based on 7 salaries
₹2 L/yr - ₹4.7 L/yr
12% less than the average PHP Developer Salary in India
View more details
Senior Relationship Manager
283 salaries
unlock blur

₹2.3 L/yr - ₹5.3 L/yr

Relationship Manager
241 salaries
unlock blur

₹1.7 L/yr - ₹4.5 L/yr

Senior Executive
129 salaries
unlock blur

₹1.5 L/yr - ₹5.4 L/yr

Customer Service Executive
122 salaries
unlock blur

₹1 L/yr - ₹3 L/yr

Team Lead
111 salaries
unlock blur

₹1.9 L/yr - ₹8 L/yr

Explore more salaries
Compare Matrimony.com with

Amazon

4.0
Compare

Flipkart

3.9
Compare

Udaan

3.9
Compare

Indiamart Intermesh

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