Add office photos
Lumiq logo
Engaged Employer

Lumiq

Verified
3.2
based on 121 Reviews
Video summary

Lumiq Interview Questions and Answers

Updated 13 Jan 2025

Q1. Covid Vaccination Distribution Problem

As the Government ramps up vaccination drives to combat the second wave of Covid-19, you are tasked with helping plan an effective vaccination schedule. Your goal is to ma...read more

Ans.

Maximize the number of vaccines administered on a specific day while adhering to certain rules.

  • Given n days, maxVaccines available, and a specific dayNumber, distribute vaccines to maximize on dayNumber

  • Administer positive number of vaccines each day with a difference of 1 between consecutive days

  • Ensure sum of vaccines distributed does not exceed maxVaccines

  • Output the maximum number of vaccines administered on dayNumber for each test case

Add your answer
right arrow

Q2. Maximum Subarray Sum Problem Statement

Given an array arr of length N consisting of integers, find the sum of the subarray (including empty subarray) with the maximum sum among all subarrays.

Explanation:

A sub...read more

Ans.

Find the sum of the subarray with the maximum sum among all subarrays in an array of integers.

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

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

  • Return the maximum sum found.

Add your answer
right arrow
Q3. What are deadlocks in operating systems, and how can they be resolved?
Ans.

Deadlocks in operating systems occur when two or more processes are unable to proceed because each is waiting for the other to release a resource.

  • Deadlocks happen when processes hold resources and wait for others, creating a circular wait.

  • Four conditions must hold for a deadlock to occur: mutual exclusion, hold and wait, no preemption, and circular wait.

  • Deadlocks can be resolved using methods like prevention, avoidance, detection, and recovery.

  • Examples of deadlock resolution ...read more

Add your answer
right arrow

Q4. What is coalesce and repartition ?

Ans.

Coalesce is used to select the first non-null value from a set of columns. Repartition is used to shuffle data across nodes.

  • Coalesce is a function that returns the first non-null value from a set of columns.

  • Repartition is used to shuffle data across nodes to increase parallelism.

  • Coalesce reduces the number of columns in a DataFrame.

  • Repartition increases or decreases the number of partitions in a DataFrame.

  • Coalesce is used to merge multiple columns into one.

  • Repartition is used...read more

Add your answer
right arrow
Discover Lumiq interview dos and don'ts from real experiences

Q5. What is Brypt lib. I’ve used it in the project

Ans.

Bcrypt lib is a library used for hashing passwords securely in software projects.

  • Bcrypt lib is commonly used in software projects to securely hash passwords before storing them in a database.

  • It helps protect user passwords from being easily compromised in case of a data breach.

  • Bcrypt uses a salt to add randomness to the hashing process, making it more difficult for attackers to crack passwords.

  • Example: bcrypt.hashSync('password123', 10); // hashes the password 'password123' w...read more

Add your answer
right arrow

Q6. How to optimize spark jobs ?

Ans.

Optimizing Spark jobs involves tuning various parameters such as memory allocation, partitioning, and caching.

  • Increase memory allocation for executors and driver

  • Partition data appropriately to avoid skewness

  • Cache frequently accessed data to avoid recomputation

  • Use broadcast variables for small data sets

  • Avoid shuffling data unnecessarily

  • Use appropriate serialization format

  • Use appropriate hardware for cluster

  • Monitor and optimize resource utilization

Add your answer
right arrow

Q7. Sql - Find the 5 th highest salary

Ans.

Find the 5th highest salary using SQL.

  • Use the ORDER BY clause to sort the salaries in descending order.

  • Use the LIMIT clause to limit the result to the 5th highest salary.

  • Use a subquery to exclude the top 4 salaries and retrieve the 5th highest salary.

Add your answer
right arrow

Q8. a html code to print a box

Ans.

To create and print a box in HTML, use the <div> element with CSS styling for borders and dimensions.

  • Use the <div> element to create a box in HTML.

  • Apply CSS styling to set the dimensions (width, height) of the box.

  • Use CSS properties like border, padding, and margin to create the box outline.

  • Example: <div style='width: 100px; height: 100px; border: 1px solid black;'></div>

Add your answer
right arrow

Q9. What is JWT.

Ans.

JWT stands for JSON Web Token, a compact and self-contained way for securely transmitting information between parties as a JSON object.

  • JWT is commonly used for authentication and information exchange in web development.

  • It consists of three parts: header, payload, and signature.

  • Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Lumiq

based on 12 interviews
Interview experience
4.2
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

DXC Technology Logo
3.7
 • 424 Interview Questions
Virtusa Consulting Services Logo
3.8
 • 351 Interview Questions
Capgemini Engineering Logo
3.5
 • 309 Interview Questions
HDB Financial Services Logo
3.9
 • 198 Interview Questions
Hyundai Motor India Limited Logo
4.3
 • 138 Interview Questions
State Street Corporation Logo
3.7
 • 134 Interview Questions
View all
Recently Viewed
INTERVIEWS
Lumiq
No Interviews
INTERVIEWS
Lumiq
No Interviews
INTERVIEWS
OnGrid
No Interviews
DESIGNATION
SALARIES
Akas Medical Equipment
REVIEWS
Afford Medical Technologies
No Reviews
REVIEWS
Afford Medical Technologies
No Reviews
REVIEWS
Afford Medical Technologies
No Reviews
INTERVIEWS
Lumiq
No Interviews
REVIEWS
Afford Medical Technologies
No Reviews
Top Lumiq Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter