Upload Button Icon Add office photos

Filter interviews by

JOBWORLD India Interview Questions and Answers

Be the first one to contribute and help others!

Interview questions from similar companies

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 appeared for an interview before Apr 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Medium

This round had 3 coding questions of Medium to Hard level of difficulty.

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

    Calculate the total amount of rainwater that can be trapped between given elevations in an array.

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

    • Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on the left and right.

    • Sum up the trapped water at each bar to get the total trapped water for the entire array.

  • Answered by AI
  • Q3. 

    Rotting Oranges Problem Statement

    You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:

    • 0 - representing an empty cell
    • 1 - representing a fre...
  • Ans. 

    Find the minimum time required to rot all fresh oranges adjacent to rotten oranges.

    • Create a queue to store the coordinates of rotten oranges and perform BFS to rot adjacent fresh oranges.

    • Track the time taken to rot all fresh oranges and return -1 if not all fresh oranges can be rotten.

    • Update the grid with the new state of oranges after each second.

    • Handle edge cases such as empty grid or no fresh oranges present.

    • Example...

  • Answered by AI
Round 2 - Face to Face 

(3 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

This was a standard DS/Algo round where I was given 2 questions to solve under 60 minutes. I was able to come up with the optimal approach for both the questions and then at the end of the interview I was also asked the famous Die Hard Water Puzzle.

  • Q1. 

    Queue Using Stacks Implementation

    Design a queue data structure following the FIFO (First In First Out) principle using only stack instances.

    Explanation:

    Your task is to complete predefined functions t...

  • Ans. 

    Implement a queue using stacks following FIFO principle.

    • Use two stacks to simulate a queue.

    • For enQueue operation, push elements onto stack1.

    • For deQueue operation, if stack2 is empty, pop all elements from stack1 and push onto stack2, then pop from stack2.

    • For peek operation, if stack2 is empty, pop all elements from stack1 and push onto stack2, then return top of stack2.

    • For isEmpty operation, check if both stack1 and st...

  • Answered by AI
  • Q2. 

    Merge Intervals Problem Statement

    You are provided with 'N' intervals, each containing two integers denoting the start time and end time of the interval.

    Your task is to merge all overlapping intervals a...

  • Ans. 

    Merge overlapping intervals and return sorted list of merged intervals by start time.

    • Sort the intervals based on start time.

    • Iterate through intervals and merge overlapping ones.

    • Return the merged intervals in sorted order.

  • Answered by AI
  • Q3. You have a 3-liter jar and a 5-liter jar. How can you measure exactly 4 liters using these two jars?
Round 3 - Face to Face 

(4 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

This round had 2 coding questions - first one related to Binary Tree and the second one was a simple question from Bit Manipulation. This was followed by some questions from OOPS.

  • Q1. 

    Binary Tree Diameter Problem Statement

    You are given a Binary Tree, and you need to determine the length of the diameter of the tree.

    The diameter of a binary tree is the length of the longest path betwe...

  • Ans. 

    The task is to find the diameter of a binary tree, which is the length of the longest path between any two end nodes in the tree.

    • Traverse the tree to find the longest path between two nodes.

    • Keep track of the maximum diameter found during traversal.

    • The diameter may not necessarily pass through the root node.

    • Consider both left and right subtrees while calculating the diameter.

    • Example: For input 1 2 3 4 -1 5 6 -1 7 -1 -1

  • Answered by AI
  • Q2. 

    Power of 2 Problem Statement

    Determine if it is possible to reorder the digits of a given integer 'N' such that the resulting number is a power of two. The leading digit must not be zero.

    Input:

    The fir...
  • Ans. 

    The problem involves determining if it is possible to reorder the digits of a given integer to form a power of 2.

    • Iterate through all possible permutations of the digits of the given integer.

    • Check if any of the permutations form a power of 2.

    • Return 1 if a valid permutation is found, else return 0.

  • Answered by AI
  • Q3. What are some advantages of using Object-Oriented Programming (OOP)?
  • Ans. 

    Advantages of OOP include code reusability, modularity, and easier maintenance.

    • Code reusability: Objects can be reused in different parts of the program, reducing redundancy.

    • Modularity: OOP allows for breaking down complex problems into smaller, more manageable parts.

    • Easier maintenance: Changes to one part of the codebase do not necessarily affect other parts, making maintenance easier.

    • Encapsulation: Data hiding and ab...

  • Answered by AI
  • Q4. What are access specifiers and what is their significance in Object-Oriented Programming?
  • Ans. 

    Access specifiers define the level of access to class members in Object-Oriented Programming.

    • Access specifiers include public, private, protected, and default

    • Public members are accessible from outside the class

    • Private members are only accessible within the class

    • Protected members are accessible within the class and its subclasses

    • Default access is when no access specifier is specified

  • Answered by AI
Round 4 - HR 

(1 Question)

Round duration - 30 Minutes
Round difficulty - Easy

This was my last round and I hoped it to go good just like the other rounds. The interviewer was very straight to point
and professional. The interview lasted for 30 minutes.

  • Q1. Why should we hire you?

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAPracto interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, DBMS, OS, 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 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 - 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

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

Interview Questionnaire 

8 Questions

  • Q1. Implement queue with the help of two stacks
  • Ans. 

    Queue can be implemented using two stacks by maintaining the order of elements in the stacks.

    • Create two stacks, let's call them stack1 and stack2

    • When an element is enqueued, push it to stack1

    • When an element is dequeued, pop all elements from stack1 and push them to stack2

    • Pop the top element from stack2 and return it as the dequeued element

    • If stack2 is empty, repeat step 3

    • To get the front element of the queue, peek the

  • Answered by AI
  • Q2. Iven a table “student” of with columns Name and Marks. You have to write a SQL query to get the 2nd highest marks from the table. Also write a query to find the nth highest marks, where n can be any number
  • Q3. What is left join. Give example. And Full outer join?
  • Ans. 

    Left join returns all records from left table and matching records from right table. Full outer join returns all records from both tables.

    • Left join is used to combine two tables based on a common column.

    • In left join, all records from the left table are returned along with matching records from the right table.

    • If there is no match in the right table, NULL values are returned.

    • Example: SELECT * FROM table1 LEFT JOIN table...

  • Answered by AI
  • Q4. What is magic functions and autoloading in PHP?
  • Ans. 

    Magic functions are special methods in PHP that start with __. Autoloading is a way to automatically load classes.

    • Magic functions are used to handle certain events in PHP, such as object creation or property access.

    • Autoloading allows PHP to automatically load classes when they are needed, without requiring manual includes.

    • Magic functions can be used in conjunction with autoloading to dynamically load classes or handle

  • Answered by AI
  • Q5. Given three arrays sorted in non-decreasing order, print all common elements in these arrays. Examples: ar1[] = {1, 5, 10, 20, 40, 80} ar2[] = {6, 7, 20, 80, 100} ar3[] = {3, 4, 15, 20, 30, 70, 80, 120} Ou...
  • Ans. 

    Given three sorted arrays, find common elements.

    • Create three pointers to traverse each array

    • Compare the elements at the pointers and move the pointer of the smallest element

    • If all pointers point to the same element, add it to the result and move all pointers

    • Repeat until any pointer reaches the end of its array

  • Answered by AI
  • Q6. A puzzle. You will be given with a 3 Litre container & a 7 Litre Container. Measure exactly 5 Litres of water
  • Q7. Asked about one of my projects I mentioned in my resume?
  • Q8. Find if a number is a power of 2 or not?
  • Ans. 

    Check if a number is a power of 2 or not.

    • A power of 2 has only one bit set in its binary representation.

    • Use bitwise AND operator to check if the number is a power of 2.

    • If n is a power of 2, then n & (n-1) will be 0.

  • Answered by AI

Interview Preparation Tips

Skills: Data structures, PHP, Algortihm
College Name: na
Motivation: Overall it was a very good experience. They test you from every aspect. In the End I would like to say that Practo is one of the best companies to work for.

Skills evaluated in this interview

Interview Questionnaire 

4 Questions

  • Q1. You are given a large array of n bits. Each bit is initially 0. You perform several operations of the type
  • Ans. 

    Solution to performing operations on a large array of bits.

    • Use bitwise operators to perform operations on individual bits

    • Use a loop to iterate through the array and perform the operations

    • Ensure that the array is large enough to accommodate all the bits

    • Consider using a data structure like a bitset for efficient bit manipulation

  • Answered by AI
  • Q2. Questions on Network programming
  • Q3. Questions on array,heap and binary trees
  • Q4. Round was both HR+Technical

Interview Preparation Tips

Round: Test
Experience: Questions can be found here:

-----/
Tips: Try to solve all 3.
Duration: 60 minutes
Total Questions: 3

Round: Technical Interview
Experience: First discuss the solution and then paper-code it.
Tips: Try to code without mistakes.

Round: Technical Interview
Experience: First, I was asked to discuss my project based on networking and then I was given a question on network programming
Tips: Pay attention on discussion

Round: Technical Interview
Experience: Provide the optimised solution and code it without any mistakes.

Round: HR Interview
Experience: Why linkedin?
What changes will you make in 6 months?
Internship project: Discussion and lot of common questions on that.
Basic Questions of C++ and Java

Skills: Data Structure, Core courses understanding, Algorithms
College Name: IIT GUWHATI

Skills evaluated in this interview

I appeared for an interview before Mar 2021.

Round 1 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

In first round they asked me 2 coding questions where he asked me to code as close as possible to the actual one.

  • Q1. 

    Ninja and Sorted Array Merging Problem

    Ninja is tasked with merging two given sorted integer arrays ARR1 and ARR2 of sizes 'M' and 'N', respectively, such that the merged result is a single sorted array w...

  • Ans. 

    Merge two sorted arrays into one sorted array in place.

    • Use two pointers to compare elements from both arrays and place them in the correct position in ARR1.

    • Start from the end of ARR1 and compare elements from both arrays, placing the larger element at the end of ARR1.

    • Continue this process until all elements from ARR2 are merged into ARR1.

  • Answered by AI
  • Q2. 

    Word Distance Calculation

    Given a document represented as an array/list ARR of words with length N, find the smallest distance between two given words for multiple queries. The distance is defined as the ...

  • Ans. 

    Find the smallest distance between two words in a document for multiple queries.

    • Iterate through the document array to find the indices of the two words in each query.

    • Calculate the absolute difference between the indices to get the distance.

    • If a word from the query is not present in the document, return the length of the document array.

    • Repeat the process for each query and output the smallest distance for each.

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Then in the second round they asked a little about tree and told me to code 2 codes.

  • Q1. 

    Level Order Traversal Problem Statement

    Given a binary tree of integers, return the level order traversal of the binary tree.

    Input:

    The first line contains an integer 'T', representing the number of te...
  • Ans. 

    The problem requires implementing a function to return the level order traversal of a binary tree.

    • Implement a function that takes the root of the binary tree as input and returns the level order traversal of the tree.

    • Use a queue data structure to perform level order traversal.

    • Process each level of the tree one by one, starting from the root node.

    • Print the node values at each level in the order they appear from left to ...

  • Answered by AI
  • Q2. 

    Combination Sum Problem Statement

    Given an array of distinct positive integers ARR and a non-negative integer 'B', find all unique combinations in the array where the sum is equal to 'B'. Numbers can be c...

  • Ans. 

    Find all unique combinations in an array where the sum is equal to a given target sum, with elements in non-decreasing order.

    • Use backtracking to generate all possible combinations.

    • Sort the array to ensure elements are in non-decreasing order.

    • Track the current combination and sum while backtracking.

    • Terminate recursion when the sum equals the target sum.

    • Avoid duplicates by skipping elements that have been used in previou

  • Answered by AI
Round 3 - HR 

Round duration - 30 minutes
Round difficulty - Easy

HR round with typical behavioral problems.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPALinkedIn 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 appeared for an interview before Mar 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

This was a online test round where I was given 3 DSA questions to be solved in 60 minutes.

  • Q1. 

    Count Ways to Reach the N-th Stair Problem Statement

    You are provided with a number of stairs, and initially, you are located at the 0th stair. You need to reach the Nth stair, and you can climb one or tw...

  • Ans. 

    The problem involves finding the number of distinct ways to climb to the Nth stair by taking one or two steps at a time.

    • Use dynamic programming to solve the problem efficiently.

    • The number of ways to reach the Nth stair is the sum of the number of ways to reach the (N-1)th stair and the (N-2)th stair.

    • Handle base cases for N=0 and N=1 separately.

    • Consider using modulo 10^9+7 to avoid overflow in calculations.

  • Answered by AI
  • Q2. 

    Optimal Strategy for a Coin Game

    You are playing a coin game with your friend Ninjax. There are N coins placed in a straight line.

    Here are the rules of the game:

    1. Each coin has a value associated wit...
  • Ans. 

    The problem involves finding the optimal strategy to accumulate the maximum amount in a coin game with specific rules.

    • Start by understanding the rules of the game and how players take turns to choose coins.

    • Consider the scenario where both players play optimally to maximize winnings.

    • Iterate through different strategies to determine the best approach for selecting coins.

    • Keep track of the total winnings accumulated by eac...

  • Answered by AI
  • Q3. 

    Generate All Parentheses Combinations

    Given an integer N, your task is to create all possible valid parentheses configurations that are well-formed using N pairs. A sequence of parentheses is considered w...

  • Ans. 

    Generate all possible valid parentheses configurations using N pairs.

    • Use backtracking to generate all possible combinations of parentheses.

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

    • Add '(' if there are remaining open parentheses, and add ')' if there are remaining close parentheses.

    • Base case: when the length of the generated string is 2*N, add it to the result array.

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPALinkedIn 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 interviewRejected

Skills evaluated in this interview

JOBWORLD India Interview FAQs

How to prepare for JOBWORLD India 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 JOBWORLD India. The most common topics and skills that interviewers at JOBWORLD India expect are Mechanical Engineering, Production, Automobile, Civil Engineering and Electrical Engineering.

Tell us how to improve this page.

JOBWORLD India Interview Process

based on 2 interviews

Interview experience

4.5
  
Good
View more

Interview Questions from Similar Companies

Practo Interview Questions
3.1
 • 74 Interviews
LinkedIn Interview Questions
4.3
 • 65 Interviews
Busibud Interview Questions
4.0
 • 42 Interviews
Quikr Interview Questions
3.7
 • 31 Interviews
Indeed Interview Questions
4.0
 • 28 Interviews
Foundit Interview Questions
3.4
 • 26 Interviews
Glassdoor Interview Questions
3.8
 • 8 Interviews
View all

JOBWORLD India Reviews and Ratings

based on 34 reviews

3.1/5

Rating in categories

3.4

Skill development

3.0

Work-life balance

3.7

Salary

3.6

Job security

3.2

Company culture

3.6

Promotions

3.1

Work satisfaction

Explore 34 Reviews and Ratings
Resource Executive
38 salaries
unlock blur

₹1.8 L/yr - ₹4.2 L/yr

Information Technology Recruiter
27 salaries
unlock blur

₹1.8 L/yr - ₹3.9 L/yr

HR Recruiter
8 salaries
unlock blur

₹1.8 L/yr - ₹3.8 L/yr

HR Executive
7 salaries
unlock blur

₹1.8 L/yr - ₹3.5 L/yr

Senior Resource Executive
6 salaries
unlock blur

₹3.5 L/yr - ₹5 L/yr

Explore more salaries
Compare JOBWORLD India with

Foundit

3.4
Compare

Timesjobs.com

1.6
Compare

Indeed

4.0
Compare

Freshersworld.com

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