Target OA Completed on July 11th

target logo
target
July 26, 2026 · 1 reads

Summary

I completed Target's online assessment on July 11th, which consisted of three algorithmic problems.

Full Experience

Anyone Completed the Target OA on july 11 for Cyber & Infra ->Backend Assessment.

Question Asked:

a. Find distance between two strings (delete, replace, insert) for Q queries and return minDis String from S strings.

b. Find LuckyNumbers from [l,r]. 1<= l,r <= 10^18 lucky numbers x are integers, which are divisible by floor(sqRoot(x)).

c. Synchronised ticket booking system where total N seats are available.
you return for Q queries first seat available, if not available -1; First available seat is assigned (assuming enough seats are there).

Please Let me know if anyone waiting for interview call.

#interview #oa #target

Interview Questions (3)

1.

String Edit Distance for Multiple Queries

Data Structures & Algorithms

Given a set of S strings, answer Q queries where each query provides two strings. For each query, compute the minimum edit distance (using delete, replace, insert operations) between the two strings and return the string from S that yields the minimum distance.

2.

Lucky Numbers in Range

Data Structures & Algorithms

Find all lucky numbers within the inclusive range [l, r] where 1 ≤ l, r ≤ 10^18. A lucky number x is defined as an integer that is divisible by floor(sqrt(x)).

3.

Synchronized Ticket Booking System

Data Structures & Algorithms

Implement a ticket booking system for N seats. For each of Q queries, return the first available seat number. If no seats are available, return -1. When a seat is allocated, it becomes unavailable for subsequent queries.

📣 Found this helpful? Please share it with friends who are preparing for interviews!

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!