Quest Global
10+ Quant LegalTech Interview Questions and Answers
Q1. DB Query to find duplicates in a table, keeping first duplicate in answer.
DB query to find duplicates in a table, keeping first duplicate in answer.
Use GROUP BY clause to group the records by the column(s) that may have duplicates
Use HAVING clause to filter out groups with only one record
Use MIN or MAX function to select the first record in each group
Example: SELECT MIN(id), name, COUNT(*) FROM table GROUP BY name HAVING COUNT(*) > 1
Q2. Code to map Employee Object from List to Hashmap using Stream API functions.
Code to map Employee Object from List to Hashmap using Stream API functions.
Create a List of Employee objects
Use stream() method to convert List to Stream
Use collect() method to convert Stream to HashMap
Use Collectors.toMap() method to create HashMap
Pass key and value mapping functions to toMap() method
Q3. If 10 people had a meeting and they shake hands only once with each of the others, then how many handshakes will be there in total ?
The question is about finding the total number of handshakes in a meeting of 10 people.
Each person shakes hands with 9 others.
Total handshakes = 10 x 9 / 2 = 45.
Q4. Write a program to swap value of two variables without using a third variable.
Program to swap value of two variables without using a third variable.
Use arithmetic operations to swap values
Add both variables and store the sum in one variable
Subtract the value of one variable from the sum and store it in the other variable
Subtract the value of the other variable from the sum and store it in the first variable
Q5. Write a program to print prime numbers.
Program to print prime numbers
Start with a loop from 2 to n (number to check)
For each number, check if it is divisible by any number from 2 to its square root
If not divisible, it is a prime number and print it
Q6. do-while loop example.
A do-while loop is a control flow statement that executes a block of code at least once before checking the condition.
The do-while loop is similar to the while loop, but the condition is checked at the end of the loop.
The loop will always execute at least once, even if the condition is false.
Syntax: do { // code block } while (condition);
Example: do { x++; } while (x < 10);
Q7. What are the steps involved in designing a new product ?
Designing a new product involves several steps from ideation to production.
Identify the need or problem the product will solve
Conduct market research to determine demand and competition
Brainstorm and develop concepts
Create detailed designs and prototypes
Test and refine the product
Finalize design and prepare for production
Launch and market the product
Q8. What is react and concept of Virtual dom and real dom
React is a JavaScript library for building user interfaces. Virtual DOM is a lightweight copy of the Real DOM, used for efficient updates.
React is a popular JavaScript library for building user interfaces.
Virtual DOM is a lightweight copy of the Real DOM, used for efficient updates.
When changes are made in React, the Virtual DOM is updated first, then compared to the Real DOM to minimize actual DOM manipulation.
Q9. what is stress ,strain, behavior of ductile material for tensile loading?
Ductile materials exhibit plastic deformation under tensile loading, with stress and strain being proportional until the yield point.
Ductile materials can undergo significant plastic deformation before failure
Stress and strain are proportional until the yield point
After the yield point, the material experiences strain hardening
Ultimate tensile strength is the maximum stress a material can withstand before failure
Elongation at break is the amount of strain a material can under...read more
Q10. What languages do you know ?
I am proficient in English and Spanish.
English
Spanish
Q11. Pipe flows ,distribution of stress , what is divergence , vortex flow?
Pipe flows, stress distribution, divergence, and vortex flow are all related to fluid mechanics.
Pipe flows refer to the movement of fluids through pipes or channels.
Stress distribution refers to the way stress is distributed throughout a fluid.
Divergence is the measure of how much a fluid is spreading out or becoming more diffuse.
Vortex flow is a type of fluid flow where the fluid rotates around a central axis.
These concepts are important in designing components that involve ...read more
Q12. What is basic procedure to start drilling
The basic procedure to start drilling involves selecting the drilling location, preparing the drilling rig, and drilling the hole.
Select the drilling location based on geological surveys and exploration data
Prepare the drilling rig by assembling the necessary equipment and ensuring safety measures are in place
Drill the hole using the appropriate drilling technique and monitoring progress regularly
Extract and analyze rock samples to determine the composition and potential for ...read more
Q13. 1.what is embedded s/m
Embedded s/m refers to software that is integrated into hardware devices to perform specific functions.
Embedded s/m is designed to perform specific tasks and is often used in devices such as smartphones, cars, and medical equipment.
It is different from traditional software as it is tightly integrated with the hardware and cannot be easily removed or replaced.
Examples of embedded s/m include firmware in a printer, operating system in a smartwatch, and control software in a dro...read more
Q14. What is selection sort.?
Selection sort is a simple sorting algorithm that repeatedly selects the minimum element from an unsorted portion of the array and swaps it with the first unsorted element.
Iterate through the array to find the smallest element and swap it with the first element.
Repeat the process for the remaining unsorted portion of the array.
Time complexity of O(n^2) makes it inefficient for large datasets.
Q15. What is an array?
An array is a data structure that stores a collection of elements of the same type in a contiguous memory location.
Arrays have a fixed size determined at the time of declaration.
Elements in an array are accessed using an index starting from 0.
Example: string[] names = {"Alice", "Bob", "Charlie"};
Q16. What is embedded c
Embedded C is a programming language used for developing software for embedded systems.
Embedded C is a subset of the C programming language.
It is optimized for resource-constrained systems with limited memory and processing power.
It allows direct access to hardware and provides low-level control.
Embedded C is used in various industries like automotive, aerospace, consumer electronics, etc.
Example: Writing code to control a microcontroller or designing a real-time operating sy...read more
Top HR Questions asked in Quant LegalTech
Interview Process at Quant LegalTech
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month