i
Quikr
Filter interviews by
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.
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...
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
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
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.
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...
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
Top trending discussions
Some of the top questions asked at the Quikr interview -
The duration of Quikr interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 21 interviews
Interview experience
Key Account Manager
286
salaries
| ₹2.2 L/yr - ₹6 L/yr |
Senior Executive
95
salaries
| ₹2.4 L/yr - ₹5.5 L/yr |
Senior Key Account Manager
89
salaries
| ₹3.2 L/yr - ₹6.9 L/yr |
Assistant Manager
85
salaries
| ₹3.6 L/yr - ₹11.7 L/yr |
Sales Manager
80
salaries
| ₹4.3 L/yr - ₹10.9 L/yr |
OLX
JustDial
MagicBricks
Cartrade.com