Join Regular Classroom : Visit ClassroomTech

infosys exam code

HackWithInfy | 2021

What is HackwithInfy? Hackwithinfy is a coding competition for engineering students graduating in the year 2022 across India. The program is specially designed to inculcate the culture of rapid problem-solving and innovative thinking early in academic life. HackWithInfy provides the perfect stepping-stone for students to explore their interest in programming and an opportunity to compete […]

HackWithInfy | 2021 Read More »

Infytq Python Solve

Which of the following functions call will execute successfully?Choose two correct optionsa. display_cat_details(“Black”,”Roger”,”Snow”)b. display_cat_details(“white”)c. display_cat_details(“Grey”, pet_name=”Grey)d. display_cat_details(“Brown”,”Nelly”) Answer a, d Explanation In this function, there are three parameters among them the last parameter is optional. In option b only one parameter is passed so it will not be a proper call. And in option c

Infytq Python Solve Read More »

HackWithInfy 2021 Sample Question-C (Minimum Withdrawals) Solution

Problem Statement: There is a unique ATM in Wonderland. Imagine this ATM as an array of numbers. You can withdraw cash only from either ends of the array. Sarah wants to withdraw X amount of cash from the ATM. What are the minimum number of withdrawals Sarah would need to accumulate X amount of cash.

HackWithInfy 2021 Sample Question-C (Minimum Withdrawals) Solution Read More »