Infosys – HackWithInfy Coding practice problem – 2 : Players

Ravi and Shanu play a game. Initially they write N random numbers on a sheet of paper. Suppose the integers written are a1, a2, a3 …..,an. Now they start playing a game. In each turn a player selects a number and erases it from the sheet.

Infosys – HackWithInfy Coding practice problem – 1 : Auction Winner

You are at a fine art auction and are looking for a specific painting. There are N people who have gathered to place a bid on that same painting.The rules of at this auction are a bit different, Such that, the person with the lowest unique bid wins the auction.

Infosys InfyTQ Practice Problem – 1 | Four Digit OTP

Problem Statement: You will be given a number in the form of the string, extract out digits at odd index then square and merge them. The first 4 digits will be the required OTP which shows as output. If 4 digit OTP is not generated then give output -1.

📢 Need further clarification or have any questions? Let's connect!

Connect 1:1 With Me: Schedule Call


If you have any doubts or would like to discuss anything related to this blog, feel free to reach out to me. I'm here to help! You can schedule a call by clicking on the above given link.
I'm looking forward to hearing from you and assisting you with any inquiries you may have. Your understanding and engagement are important to me!

This will close in 20 seconds