Upload Button Icon Add office photos
Engaged Employer

i

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

Quikr Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Quikr Software Developer Interview Questions and Answers

Updated 14 Jan 2022

36 Interview questions

A Software Developer was asked
Q. Given a number K and an array, find a pair of elements whose sum is equal to 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.

A Software Developer was asked
Q. How can PHP memory be increased at runtime if it is exhausted?
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

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Rakuten
Q2. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Amazon
Q3. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more
A Software Developer was asked
Q. Write a stored procedure from a given set of tables and conditions.
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

A Software Developer was asked
Q. Write a program to find the smallest palindrome number larger than a given number.
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.

A Software Developer was asked
Q. Write a program to implement 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 Connec...

A Software Developer was asked
Q. Write a program to check if linked list elements form 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

A Software Developer was asked
Q. What is a jQuery function to get the 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

Are these interview questions helpful?
A Software Developer was asked
Q. What can you 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

🔥 Asked by recruiter 2 times
A Software Developer was asked
Q. If a website is run by two servers that balance the load using a Load Balancer, and a session is created on one server but the load shifts to the other server immediately, how is the session maintained?
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.

A Software Developer was asked
Q. What are JavaScript closures?
Ans. 

JavaScript closures are functions that retain access to their lexical scope, even when executed outside that scope.

  • A closure is created when a function is defined inside another function.

  • Closures can access variables from their parent function's scope.

  • Example: function outer() { let x = 10; return function inner() { return x; }; }

  • Closures are useful for data encapsulation and creating private variables.

  • They can al...

Quikr Software Developer Interview Experiences

5 interviews found

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?
  • Ans. 

    Sessions and cookies are mechanisms for storing user data in web applications, enhancing user experience and state management.

    • Cookies are small pieces of data stored on the user's browser, while sessions are stored on the server.

    • Cookies can have expiration dates, while sessions typically expire when the user closes the browser or after a set time.

    • Example of a cookie: 'user_id=12345; expires=Wed, 21 Oct 2023 07:28:00 GM...

  • Answered by AI
  • Q9. Javascript clausers?
  • Ans. 

    JavaScript closures are functions that retain access to their lexical scope, even when executed outside that scope.

    • A closure is created when a function is defined inside another function.

    • Closures can access variables from their parent function's scope.

    • Example: function outer() { let x = 10; return function inner() { return x; }; }

    • Closures are useful for data encapsulation and creating private variables.

    • They can also be...

  • Answered by AI
  • 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 appeared for an interview before Jan 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

This was a written coding test with 2 coding questions to be solved in 60 minutes.

  • Q1. 

    Find Missing Number In String Problem Statement

    You have a sequence of consecutive nonnegative integers. By appending all integers end-to-end, you formed a string S without any separators. During this pro...

  • Ans. 

    Given a string of consecutive nonnegative integers with one missing number, find the missing integer.

    • Iterate through the string to find the missing number by checking the consecutive integers.

    • If there is more than one missing number, all integers are present, or the string is invalid, return -1.

    • Handle cases where the missing number is at the beginning or end of the sequence.

    • Consider edge cases such as single-digit numb...

  • Answered by AI
  • Q2. 

    First Non-Repeating Character Problem Statement

    You are given a string consisting of English alphabet characters. Your task is to identify and return the first character in the string that does not repeat...

  • Ans. 

    The task is to find the first non-repeating character in a string, or return the first character if all characters repeat.

    • Iterate through the string to count the frequency of each character

    • Find the first character with a frequency of 1, or return the first character if no such character exists

    • Handle both uppercase and lowercase characters separately

    • Use a hashmap to store character frequencies efficiently

  • Answered by AI
Round 2 - Face to Face 

(5 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Technical interview round with questions around PHP and DBMS.

  • Q1. What is connection pooling?
  • Ans. 

    Connection pooling is a technique used to manage a pool of database connections to improve performance and efficiency.

    • Connection pooling reduces the overhead of opening and closing database connections for each request.

    • It allows multiple clients to reuse a pre-established set of connections to the database.

    • Connection pooling helps in improving the scalability and performance of applications by efficiently managing data...

  • Answered by AI
  • Q2. How would you create a singleton design pattern in PHP 5?
  • Ans. 

    To create a singleton design pattern in PHP 5, use a private static variable to store the instance and a static method to retrieve it.

    • Create a private static variable to store the instance of the class.

    • Create a private constructor to prevent outside instantiation of the class.

    • Create a static method to check if an instance already exists and return it, or create a new instance if it doesn't.

  • Answered by AI
  • Q3. Can you write code to connect PHP to MySQL?
  • Ans. 

    Yes, PHP can be used to connect to MySQL by using MySQLi or PDO extensions.

    • Use MySQLi extension to connect PHP to MySQL

    • Use PDO extension to connect PHP to MySQL

    • Example using MySQLi: $conn = new mysqli($servername, $username, $password, $dbname);

    • Example using PDO: $conn = new PDO('mysql:host=$servername;dbname=$dbname', $username, $password);

  • Answered by AI
  • Q4. What are the different types of errors in PHP?
  • Ans. 

    Different types of errors in PHP include syntax errors, runtime errors, and logical errors.

    • Syntax errors: Occur when there is a mistake in the code syntax, preventing the script from running.

    • Runtime errors: Happen during script execution, such as division by zero or calling a function that does not exist.

    • Logical errors: Difficult to detect as the code runs without errors, but produces incorrect results.

    • Fatal errors: St...

  • Answered by AI
  • Q5. How does session management work in PHP?
  • Ans. 

    Session management in PHP involves storing user data on the server to maintain state between multiple requests.

    • Sessions are started using session_start() function in PHP.

    • Session data is stored on the server and a unique session ID is sent to the client's browser.

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

    • Sessions can be destroyed using session_destroy() function.

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAQuikr interview preparation:Topics to prepare for the interview - PHP, data base, data structures, AlgorithmsTime required to prepare for the interview - 3 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 interviewRejected

Skills evaluated in this interview

I appeared for an interview before Jan 2021.

Round 1 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Technical round where the interviewer asked me questions based on data structures , algorithms and load balancer and session management.

  • Q1. 

    Pair Sum Problem Statement

    You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to find and return a list of all pairs of elements where each sum of a pair equals 'S'.

    Note:
    ...
  • Ans. 

    Find pairs of elements in an array that sum up to a given value, sorted in a specific order.

    • Iterate through the array and use a hashmap to store the difference between the target sum and each element.

    • Check if the difference exists in the hashmap, if so, add the pair to the result list.

    • Sort the result list based on the criteria mentioned in the problem statement.

  • Answered by AI
  • Q2. 

    Next Smallest Palindrome Problem Statement

    Find the next smallest palindrome strictly greater than a given number 'N' represented as a string 'S'.

    Explanation:

    You are given a number in string format, a...

  • Ans. 

    Find the next smallest palindrome greater than a given number represented as a string.

    • Convert the string number to an integer for comparison.

    • Increment the number until a palindrome greater than the input is found.

    • Handle cases where the input is already a palindrome or has leading zeros.

    • Return the next greater palindrome as a string.

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Technical round where the interviewer asked me questions based on data structures , design patterns and php.

  • Q1. 

    Check If Linked List Is Palindrome

    Given a singly linked list of integers, determine if the linked list is a palindrome.

    Explanation:

    A linked list is considered a palindrome if it reads the same forwar...

  • Ans. 

    Check if a given singly linked list of integers is a palindrome.

    • Create a function to reverse the linked list.

    • Use slow and fast pointers to find the middle of the linked list.

    • Compare the first half of the linked list with the reversed second half to determine if it's a palindrome.

  • Answered by AI
  • Q2. Can you explain the implementation of the Singleton Design pattern?
  • Ans. 

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

    • Ensure the class has a private static instance variable.

    • Provide a public static method to access the instance.

    • Make the constructor private to prevent instantiation from outside the class.

    • Lazy initialization can be used to create the instance only when needed.

    • Thread safety considerations may be necessary in a multi...

  • Answered by AI
Round 3 - Face to Face 

(4 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Technical round where the interviewer asked me questions based on Javascript, dbms, oops concepts and php.

  • Q1. Write a stored procedure to join two tables.
  • Ans. 

    A stored procedure to join two tables in a database.

    • Use the JOIN keyword to combine rows from two or more tables based on a related column between them.

    • Specify the columns to be selected from each table in the SELECT statement.

    • Use the ON keyword to specify the join condition.

    • Consider using INNER JOIN, LEFT JOIN, RIGHT JOIN, or FULL JOIN based on the desired result.

    • Test the stored procedure with sample data to ensure it...

  • Answered by AI
  • Q2. What is the difference between an abstract class and an interface in Object-Oriented Programming?
  • Ans. 

    Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.

    • Abstract class can have constructors, fields, and methods, while interface cannot have any implementation.

    • A class can only extend one abstract class, but can implement multiple interfaces.

    • Abstract classes are used to define common characteristics among subclasses, while interfaces are used to define a contract...

  • Answered by AI
  • Q3. How can you extract the domain name from a URL using jQuery?
  • Ans. 

    Use jQuery to extract domain name from a URL

    • Use the 'a' element to create a temporary link with the URL

    • Access the 'hostname' property of the link to get the domain name

    • Use regular expressions to extract the domain name from the URL

  • Answered by AI
  • Q4. What are closures in JavaScript?
  • Ans. 

    Closures in JavaScript are functions that have access to variables from their outer scope even after the outer function has finished executing.

    • Closures allow functions to access variables from their parent function even after the parent function has finished executing.

    • They are created whenever a function is defined within another function.

    • Closures are commonly used to create private variables and functions in JavaScrip...

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAQuikr interview preparation:Topics to prepare for the interview - Algorithms,Data structures, JQuery, Javascript, PHPTime 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 interviewRejected

Skills evaluated in this interview

I appeared for an interview before Jan 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

This was a coding test where we had to solve 2 coding questions in 60 minutes.

  • Q1. 

    Buy and Sell Stock Problem Statement

    Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell ...

  • Ans. 

    The task is to determine the maximum profit that can be achieved by performing up to two buy-and-sell transactions on a given set of stock prices.

    • Iterate through the array of stock prices to find the maximum profit that can be achieved by buying and selling stocks.

    • Keep track of the maximum profit that can be obtained by performing up to two transactions.

    • Consider all possible combinations of buying and selling stocks to...

  • Answered by AI
  • Q2. 

    Subsequences of String Problem Statement

    You are provided with a string 'STR' that consists of lowercase English letters ranging from 'a' to 'z'. Your task is to determine all non-empty possible subsequen...

  • Ans. 

    Generate all possible subsequences of a given string.

    • Use recursion to generate all possible subsequences by including or excluding each character in the string.

    • Maintain a current index to keep track of the characters being considered.

    • Append the current character to each subsequence generated so far.

    • Recursively call the function with the next index to include the next character in subsequences.

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

This was a technical round where the interviewer asked me questions related to OS and Java.

  • Q1. What is the critical section problem?
  • Ans. 

    The critical section problem is a synchronization issue in concurrent programming where multiple processes access shared resources.

    • Critical section is a code segment that accesses shared resources and must be executed by only one process at a time.

    • The goal is to prevent race conditions and ensure mutual exclusion.

    • Solutions include using locks, semaphores, and mutex to control access to critical sections.

    • Example: Multip...

  • Answered by AI
  • Q2. How can we create a thread in Java?
  • Ans. 

    A thread in Java can be created by extending the Thread class or implementing the Runnable interface.

    • Extend the Thread class and override the run() method

    • Implement the Runnable interface and provide the implementation for the run() method

    • Start the thread using the start() method

  • Answered by AI
Round 3 - HR 

Round duration - 30 minutes
Round difficulty - Easy

Typical HR round with behavioral questions.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAQuikr interview preparation:Topics to prepare for the interview - Java, Data Structures, Algorithms, System Design,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

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 Quikr?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview in Jan 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Easy

4 Questions which were of Easy, Medium, and Hard level.

  • Q1. 

    Lowest Common Ancestor of a Binary Tree III

    The structure of a binary tree has been modified so that each node includes a reference to its parent node.

    Problem Statement

    You are provided with two nodes,...

  • Ans. 

    This question is about finding the lowest common ancestor of two nodes in a binary tree with parent references.

    • Traverse from the given nodes to their respective root nodes and store the paths in two separate lists.

    • Compare the two lists and find the last common node.

    • Return the last common node as the lowest common ancestor.

  • Answered by AI
  • Q2. 

    Maximum Subarray Problem Statement

    Ninja has been given an array, and he wants to find a subarray such that the sum of all elements in the subarray is maximum.

    A subarray 'A' is considered greater than a...

  • Ans. 

    The problem is to find a subarray with the maximum sum in a given array.

    • Iterate through the array and keep track of the maximum sum and the current sum.

    • If the current sum becomes negative, reset it to 0.

    • Update the maximum sum if the current sum is greater.

    • Also keep track of the start and end indices of the subarray with the maximum sum.

    • Return the subarray using the start and end indices.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 50 Minutes
Round difficulty - Easy

  • Q1. 

    Next Greater Element Problem Statement

    Given a list of integers of size N, your task is to determine the Next Greater Element (NGE) for every element. The Next Greater Element for an element X is the firs...

  • Ans. 

    The task is to find the next greater element for each element in an array.

    • Iterate through the array from right to left.

    • Use a stack to keep track of the elements that have a greater element to their right.

    • For each element, pop elements from the stack until a greater element is found or the stack is empty.

    • If a greater element is found, it is the next greater element for the current element.

    • If the stack becomes empty, the...

  • Answered by AI
  • Q2. 

    Trapping Rain Water Problem Statement

    You are given a long type array/list ARR of size N, representing an elevation map. The value ARR[i] denotes the elevation of the ith bar. Your task is to determine th...

  • Ans. 

    The question asks to find the total amount of rainwater that can be trapped in the given elevation map.

    • Iterate through the array and find the maximum height on the left and right side of each bar.

    • Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on both sides and subtracting the height of the bar.

    • Sum up the amount of water trapped at each bar to get the total amo...

  • Answered by AI
Round 3 - HR 

Round duration - 30 Minutes
Round difficulty - Easy

It is just a formality round, asked basic questions like relocation and joining date etc

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BengaluruEligibility criteriawith resumeSwiggy interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, Puzzles, Project, Mock Interviews, etcTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Be good with all data structures and algorithms
Tip 2 : Able to explain your projects well 
Tip 3 : focus on basics

Application resume tips for other job seekers

Tip 1 : Try to make a single-page resume. 
Tip 2 : Don't write unnecessary details like hobbies, family, etc.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview Questionnaire 

10 Questions

  • Q1. What do you do when your schedule is interrupted? How you handle it?
  • Ans. 

    I prioritize tasks, communicate effectively, and adapt my plans to manage interruptions while maintaining productivity.

    • Assess the interruption: Determine its urgency and importance. For example, if a team member needs immediate help, I prioritize that.

    • Reorganize my tasks: I create a new plan that accommodates the interruption while ensuring critical deadlines are met.

    • Communicate with stakeholders: I inform my team or m...

  • Answered by AI
  • Q2. PreOrder traversal without recursion?
  • Ans. 

    PreOrder traversal without recursion is done using a stack to simulate the function call stack.

    • Create an empty stack and push the root node onto it.

    • While the stack is not empty, pop a node from the stack and process it.

    • Push the right child of the popped node onto the stack if it exists.

    • Push the left child of the popped node onto the stack if it exists.

  • Answered by AI
  • Q3. Build a bst out of the unsorted array by looping over the array and inserting each element to the tree?
  • Ans. 

    Yes

    • Create an empty binary search tree (BST)

    • Loop over the unsorted array

    • For each element, insert it into the BST using the appropriate insertion logic

    • Repeat until all elements are inserted

    • The resulting BST will be built from the unsorted array

  • Answered by AI
  • Q4. Find 2 elements in array whose sum is equal to given number?
  • Ans. 

    The question asks to find two elements in an array whose sum is equal to a given number.

    • Iterate through the array and for each element, check if the difference between the given number and the current element exists in the array.

    • Use a hash set to store the elements as you iterate through the array for efficient lookup.

    • Return the pair of elements if found, otherwise return a message indicating no such pair exists.

  • Answered by AI
  • Q5. How many types of trigger?
  • Ans. 

    There are two types of triggers: DML triggers and DDL triggers.

    • DML triggers are fired in response to DML (Data Manipulation Language) statements like INSERT, UPDATE, DELETE.

    • DDL triggers are fired in response to DDL (Data Definition Language) statements like CREATE, ALTER, DROP.

    • Examples: A DML trigger can be used to log changes made to a table, while a DDL trigger can be used to enforce certain rules when a table is alt...

  • Answered by AI
  • Q6. Can trigger be used with select statement?
  • Ans. 

    Yes, triggers can be used with select statements in SQL.

    • Triggers are database objects that are automatically executed in response to certain events, such as insert, update, or delete operations.

    • While triggers are commonly used with insert, update, and delete statements, they can also be used with select statements.

    • Using triggers with select statements allows you to perform additional actions or validations before or af...

  • Answered by AI
  • Q7. Indexing in mysql? How many types of indexing in mysql?
  • Ans. 

    Indexing in MySQL improves query performance. There are several types of indexing in MySQL.

    • Indexes are used to quickly locate data without scanning the entire table.

    • Types of indexing in MySQL include B-tree, hash, full-text, and spatial indexes.

    • B-tree indexes are the most common and suitable for most use cases.

    • Hash indexes are used for exact match lookups.

    • Full-text indexes are used for searching text-based data efficie...

  • Answered by AI
  • Q8. Engines in mysql?
  • Ans. 

    Engines in MySQL are the underlying software components that handle storage, indexing, and querying of data.

    • MySQL supports multiple storage engines, each with its own strengths and features.

    • Some commonly used engines in MySQL are InnoDB, MyISAM, and Memory.

    • InnoDB is the default engine in MySQL and provides support for transactions and foreign keys.

    • MyISAM is known for its simplicity and speed but lacks transaction suppo...

  • Answered by AI
  • Q9. Singlton pattern?
  • Ans. 

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

    • Restricts instantiation of a class to a single object.

    • Useful for managing shared resources, like database connections.

    • Implemented using private constructors and static methods.

    • Example in Java: public class Singleton { private static Singleton instance; private Singleton() {} public static Singleton getInstance() { if...

  • Answered by AI
  • Q10. Can a constructor be private?
  • Ans. 

    Yes, a constructor can be private.

    • A private constructor can only be accessed within the class itself.

    • It is often used in singleton design pattern to restrict object creation.

    • Private constructors are also useful for utility classes that only contain static methods.

  • Answered by AI

Interview Preparation Tips

Skills: Algorithm, Data structure
College Name: na

Skills evaluated in this interview

Are these interview questions helpful?

I appeared for an interview before Dec 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 90 minutes
Round difficulty - Easy

Myntra had conducted a coding test on campus before the start of the placement season with 2 questions, one on stack and other on DP.
Tips : For the test, the DP question asked was pretty standard, on Longest Common Subsequence. The question on stacks, I don't remember what it was but it was also pretty straight forward. For the test, I would recommend to solve problem from GFG. If they do come to resume shortlisting, they are looking for people who have done good projects and internships.

  • Q1. 

    Longest Common Subsequence Problem Statement

    Given two strings STR1 and STR2, determine the length of their longest common subsequence.

    A subsequence is a sequence that can be derived from another sequen...

  • Ans. 

    The task is to find the length of the longest common subsequence between two given strings.

    • Implement a function to find the longest common subsequence between two strings.

    • Use dynamic programming to solve this problem efficiently.

    • Iterate through the strings and build a matrix to store the lengths of common subsequences.

    • Return the length of the longest common subsequence found.

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

The interview started off with questions on my general interest in Software Development. The first round had two coding questions, I was supposed to write the code on paper. 
For the questions, they asked me to code the solution first. And then gave a specific input and asked me to demonstrate step by step in my code, how it would lead to the correct answer.
Tips: It's ok if you can't code a general solution, if you can write a code which works for the particular input they have given then also it's ok with them. But be thorough with Data structures.

  • Q1. 

    Add Two Numbers as Linked Lists

    You are given two singly linked lists, where each list represents a positive number without any leading zeros.

    Your task is to add these two numbers and return the sum as ...

  • Ans. 

    Add two numbers represented as linked lists and return the sum as a linked list.

    • Traverse both linked lists simultaneously while keeping track of carry from previous sum

    • Create a new linked list to store the sum, updating the value and carry as needed

    • Handle cases where one linked list is longer than the other by adding remaining digits with carry

  • Answered by AI
Round 3 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

I wasn't asked to write any code in this interview. They asked me some questions on Machine Learning, because of my projects in them. Then they asked me if I knew graph algorithms. Since I knew BFS and DFS, I told them. They asked the difference between the two. Then they asked me if I knew how to find the shortest distance between two points in a graph. I didn't know Dijkstra's properly but I knew it worked on the greedy approach so was able to tell that. Then they asked me how would I find the second shortest path. I tried to answer it with the same greedy approach, but couldn't arrive at the complete solution.
Tips: They ask a tough theoretical question. It's ok if you don't know the answer, they only look for your approach.

  • Q1. 

    BFS Traversal in a Graph

    Given an undirected and disconnected graph G(V, E) where V vertices are numbered from 0 to V-1, and E represents edges, your task is to output the BFS traversal starting from the ...

  • Ans. 

    BFS traversal in a disconnected graph starting from vertex 0.

    • Use a queue to keep track of nodes to visit next in BFS traversal

    • Start traversal from vertex 0 and explore its neighbors first

    • Continue exploring neighbors level by level until all nodes are visited

    • Ensure to print connected nodes in numerical sort order

  • Answered by AI
  • Q2. 

    DFS Traversal Problem Statement

    Given an undirected and disconnected graph G(V, E), where V is the number of vertices and E is the number of edges, the connections between vertices are provided in the 'GR...

  • Ans. 

    DFS traversal to find connected components in an undirected and disconnected graph.

    • Perform DFS traversal on each vertex to find connected components

    • Maintain a visited array to keep track of visited vertices

    • Print the vertices of each connected component in ascending order

  • Answered by AI
  • Q3. 

    Dijkstra's Shortest Path Problem

    Given an undirected graph with ‘V’ vertices (labeled 0, 1, ... , V-1) and ‘E’ edges, where each edge has a weight representing the distance between two connected nodes (X,...

  • Ans. 

    Dijkstra's algorithm is used to find the shortest path from a source node to all other nodes in a graph with weighted edges.

    • Implement Dijkstra's algorithm to find the shortest path distances from the source node to all other nodes in the graph.

    • Use a priority queue to efficiently select the next node with the shortest distance.

    • Update the distances of neighboring nodes based on the current node's distance and edge weight...

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPA, Eligible branches : Computer Science & Engineering, Mathematics & Computing, Electrical Engineering and Electronics & Communication Engineering.Myntra 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 : Be thorough with Data Structures and Algorithms and also with your resume.
Tip 2 : Must do Previously asked Interview as well as Online Test Questions.
Tip 3 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 4 : 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

Software Developer Interview Questions & Answers

Myntra user image Thommandru Vishnu

posted on 10 Mar 2015

Interview Questionnaire 

9 Questions

  • Q1. All the leaf nodes of tree are doubly linked,print only the leaf nodes of a tree
  • Ans. 

    Print only the leaf nodes of a doubly linked tree.

    • Traverse the tree and check if a node has no children and both left and right pointers are null.

    • If yes, then it is a leaf node and print it.

    • If no, then continue traversing the tree.

    • Use recursion to traverse the tree in a depth-first manner.

  • Answered by AI
  • Q2. LRU page Replacement Algorithm for large data
  • Ans. 

    LRU page replacement algorithm is used to replace the least recently used page in memory with a new page.

    • LRU stands for Least Recently Used

    • It is a cache eviction algorithm

    • It is used to manage memory in operating systems

    • It works by keeping track of the pages that are used recently and the ones that are not

    • When a new page is to be loaded into memory, the algorithm checks which page has not been used for the longest time ...

  • Answered by AI
  • Q3. Given a linked list with 2 parameters m,n. Now start reversing the m nodes and leave n nodes and continue it till u reach the end
  • Ans. 

    Reverse m nodes and leave n nodes in a linked list till the end.

    • Traverse the linked list till m nodes and reverse them

    • Traverse n nodes and continue reversing m nodes

    • Repeat the above step till the end of the linked list

    • Handle edge cases like m or n being greater than the length of the linked list

  • Answered by AI
  • Q4. Inorder Traversal of a tree
  • Ans. 

    Inorder traversal is a way of visiting all nodes in a binary tree by visiting the left subtree, then the root, and then the right subtree.

    • Start at the root node

    • Traverse the left subtree recursively

    • Visit the root node

    • Traverse the right subtree recursively

    • Repeat until all nodes have been visited

  • Answered by AI
  • Q5. Inorder Travesal of a tree without recursion(write the code)
  • Ans. 

    Inorder traversal of a tree without recursion

    • Create an empty stack and initialize current node as root

    • Push the current node to stack and set current = current.left until current is NULL

    • If current is NULL and stack is not empty, pop the top item from stack, print it and set current = popped_item.right

    • Repeat step 2 and 3 until stack is empty

  • Answered by AI
  • Q6. Given an array of numbers in which duplicates are there and one triplicate is there. find that number
  • Ans. 

    Find the triplicate number in an array of duplicates.

    • Iterate through the array and keep track of the frequency of each number.

    • Return the number that appears three times.

    • If no number appears three times, return null.

  • Answered by AI
  • Q7. Explain all the serach algorithm you know with space and Time complexities
  • Ans. 

    Explanation of search algorithms with their space and time complexities.

    • Linear Search - O(n) time complexity, O(1) space complexity

    • Binary Search - O(log n) time complexity, O(1) space complexity

    • Jump Search - O(√n) time complexity, O(1) space complexity

    • Interpolation Search - O(log log n) time complexity, O(1) space complexity

    • Exponential Search - O(log n) time complexity, O(1) space complexity

    • Fibonacci Search - O(log n) ...

  • Answered by AI
  • Q8. Given a situation and asks you which search algorithm suits the best in that situation
  • Ans. 

    Choosing the right search algorithm depends on data structure, size, and specific requirements like speed or memory usage.

    • Binary Search: Efficient for sorted arrays, O(log n) time complexity. Example: Finding a number in a sorted list.

    • Linear Search: Simple and works on unsorted arrays, O(n) time complexity. Example: Searching for a name in an unsorted list.

    • Depth-First Search (DFS): Suitable for tree/graph traversal, ex...

  • Answered by AI
  • Q9. Given an array of length n and in which numbers from 1-n will be there and each number can repeat any number of times find out which repeated more number of times
  • Ans. 

    Find the most repeated number in an array of length n with numbers 1-n.

    • Create a dictionary to store the count of each number in the array

    • Iterate through the array and update the count in the dictionary

    • Find the key with the highest count in the dictionary

  • Answered by AI

Interview Preparation Tips

Round: Resume Shortlist
Experience: Basically, it's not resume shortlist, it's a 9 pointer shortlist

Round: Test
Experience: The Entire Test is held in HackerRank Platform. it has
2 coding questions (one easy and one medium)
2 output questions(medium)
2 Aptitude(easy)
1 general Computer science(medium)
it took me 30 min for each coding questions.I was not known that general question is related to bash commands.
Tips: Practice the Warmup questions in Hacker Rank.
Do some Basic aptitude questions.
Thorough with the basic c and c++ concepts
Duration: 120 minutes
Total Questions: 7

Round: Technical Interview
Experience: It's completely around the data structures. The questions are a bit tricky but once u think without any tension u can get through easily. The interviewer is helpful and gives u few hints if u catch them at the right point of time u got it.There are 2 more questions which I haven't mentioned.
Tips: got through Data Structures and Algorithms Made Easy by Narasimha Karumanchi. It's a best book for the interviews.

Round: Technical Interview
Experience: The interviewer asked to put everything on the blackboard and write down the code of each and everything.
Tips: Go to the website -----/ and study all the interview questions and modules

Round: HR Interview
Experience: It's Technical+ HR interview all the technical questions went around resume. it went around 45 minutes they are very particular about what you wrote in the resume.HR questions are general like
whats your future plans
where will u see yourself in the office after 5 years?
Tips: please make sure that whatever you write in resume should be known to you very well.Don't write false things about yourself.And make sure you know completely about the projects you are going to write in resume(atleast the part you worked)

General Tips: Be sure of what you are saying. Don't be tensed and answer to your best.
Skills: Programming, Data Structures
College Name: VIT VELLORE

Skills evaluated in this interview

Interview Questionnaire 

10 Questions

  • Q1. Change Binary tree so that parent node is the sum of root nodes
  • Ans. 

    Change binary tree to make parent node the sum of root nodes

    • Traverse the tree in post-order

    • For each node, update its value to the sum of its children

    • Return the updated root node

  • Answered by AI
  • Q2. Reverse a linkedlist ?
  • Ans. 

    Reverse a linkedlist by changing the direction of pointers.

    • Iterate through the linkedlist and change the direction of pointers.

    • Keep track of previous, current and next nodes.

    • Set the next pointer of current node to previous node.

    • Move to next node and repeat until end of list is reached.

  • Answered by AI
  • Q3. Given an array of +ve and -ve numbers , have to rearrange them ( like +ve numbers to left and -ve numbers to right of the array)
  • Ans. 

    Rearrange an array of positive and negative numbers with positive numbers on the left and negative numbers on the right.

    • Create two empty arrays, one for positive numbers and one for negative numbers

    • Loop through the original array and add positive numbers to the positive array and negative numbers to the negative array

    • Concatenate the positive and negative arrays to create the rearranged array

  • Answered by AI
  • Q4. Singleton pattern, observer pattern?
  • Q5. String pool and how garbage collection functionality works?
  • Ans. 

    String pool is a cache of string literals in memory. Garbage collection frees up memory by removing unused objects.

    • String pool is a cache of string literals in memory

    • Strings are immutable and can be shared among multiple objects

    • Garbage collection removes unused objects to free up memory

    • String objects that are no longer referenced are eligible for garbage collection

  • Answered by AI
  • Q6. HashMap , how can you synchronize ?
  • Ans. 

    Synchronizing a HashMap ensures thread safety when multiple threads access it concurrently.

    • Use Collections.synchronizedMap(): Wrap the HashMap with this method to create a synchronized version.

    • Example: Map<String, String> syncMap = Collections.synchronizedMap(new HashMap<>());

    • Use ConcurrentHashMap: This is a thread-safe alternative to HashMap that allows concurrent access.

    • Example: ConcurrentHashMap<Strin...

  • Answered by AI
  • Q7. Process vs Thread differences and synchronization,deadlock examples?
  • Ans. 

    Process vs Thread differences and synchronization, deadlock examples

    • Process is an instance of a program while thread is a subset of a process

    • Processes are independent while threads share the same memory space

    • Synchronization is used to coordinate access to shared resources

    • Deadlock occurs when two or more threads are blocked waiting for each other to release resources

    • Examples of synchronization include mutex, semaphore, ...

  • Answered by AI
  • Q8. Database: Design with one-one mapping, one-many mapping…some basic questions, I don’t remember all
  • Q9. Design a website where after user request. A bunch of processes need to be executed and then a mail is sent to user with the result. Take care of scalability etc?
  • Ans. 

    Design a scalable website to process user requests and send email results asynchronously.

    • Use a microservices architecture to handle different processes independently.

    • Implement a message queue (e.g., RabbitMQ, Kafka) to manage requests and responses.

    • Utilize cloud services (e.g., AWS Lambda) for scalable processing of tasks.

    • Send emails using a reliable service (e.g., SendGrid, Amazon SES) to ensure delivery.

    • Implement loa...

  • Answered by AI
  • Q10. CTO round

Interview Preparation Tips

Round: HR Interview
Experience: This was CTO round, if you make this round…you are doing pretty good. 
He asked a lot on what I worked on and asked questions relevant to that. Process thread, stacks heaps. A minor system design on component in their system. How they are shared between and trade-off. We discussed about scalability and challenge.

General Tips: Process:5 technical ( 3 rounds+ SVP round + CTO round ) + 1 HR
I got almost the same package that I am currently getting (Myntra gave stock options&#44; which I don’t have in my current company) but I am looking for a change so accepted the offer.
Skills: Algorithm, data structure, database
College Name: na

Skills evaluated in this interview

Quikr Interview FAQs

What are the top questions asked in Quikr Software Developer interview?

Some of the top questions asked at the Quikr Software Developer interview -

  1. If there is a website run by 2 servers. These 2 servers balances the load using...read more
  2. Find the first non repetitive character in a stri...read more
  3. How to write a Connection class to MySQL database using P...read more

Tell us how to improve this page.

Quikr Software Developer Salary
based on 6 salaries
₹8 L/yr - ₹21.6 L/yr
24% more than the average Software Developer Salary in India
View more details
Key Account Manager
218 salaries
unlock blur

₹2.4 L/yr - ₹6 L/yr

Senior Executive
88 salaries
unlock blur

₹2.2 L/yr - ₹5.4 L/yr

Assistant Manager
79 salaries
unlock blur

₹3.6 L/yr - ₹11.7 L/yr

Senior Key Account Manager
74 salaries
unlock blur

₹3.2 L/yr - ₹6.9 L/yr

Sales Manager
68 salaries
unlock blur

₹4.3 L/yr - ₹11 L/yr

Explore more salaries
Compare Quikr with

OLX

3.8
Compare

Udaan

3.9
Compare

Swiggy

3.7
Compare

Oyo Rooms

3.2
Compare
write
Share an Interview