Question: AlgoUniversity Technology Fellowship: Stage 2 || Important Questions
12
Entering edit mode

ATF STAGE 2 Important Questions

1. K Closest

Topic: Binary Search

Click here to Practice

Given an array of N integers and a value 'X', find the k closest integers to 'X', preferring smaller values when distances are the same. Output the k-closest integers in ascending order.


2. Avoiding Landmines

Topic: Graphs

Click here to Practice

You need to find the shortest path from a source city to a target city in a graph of N cities and M roads, while avoiding cities with landmines. If reaching the target city is impossible without crossing a landmine, return -1.


3. Sum of 3 equals K

Topic: Two Pointers

Click here to Practice

Given an array of N integers and a target value K, check if there exist three distinct integers in the array whose sum equals K. Print "Yes" if such integers exist, otherwise print "No".


4. Next Greater Element

Topic: Stack

Click here to Practice

In this problem, for each element in the array, you are tasked to find the next greater element on its right side. If no such element exists, return -1.


5. Longest Subarray Divisible by K

Topic: Hashing

Click here to Practice

In this problem, you are asked to find the longest subarray of a given array that is divisible by a given integer K. The array may contain negative values as well.


6. House Robbery

Topic: Dynamic Programming

Click here to Practice

 

© 2024 AlgoUniversity Technology Fellowship

 

 

2
Entering edit mode

I hope I will select second stage using this questions, thanks for sharing this questions sir this may very useful for me thanking you sir

ADD COMMENTlink 4 weeks ago B.purandeswari • 20
1
Entering edit mode

I hope I will select second stage using this questions, thank you sir for sharing questions.

 

ADD COMMENTlink 4 weeks ago D.Ghousiya • 10
1
Entering edit mode

I hope  I will select second stage using this questions, thanks for sharing this questions sir this may very useful for me thanking you sir

ADD COMMENTlink 4 weeks ago Lalitha • 10
1
Entering edit mode

I hope I will select for the second stage. i am thrilled to be part of the AlgouniversityTechnologyFellowshipOver the past few months, I have significantly improved my skills in programming and data analysis. I look forward to applying what I've learned in upcoming projects and further developing my expertise in technology 

ADD COMMENTlink 4 weeks ago Bandarla kusuma • 10
0
Entering edit mode

Good evening sir, I hope I will select second stage using this questions, thanks for sharing this questions sir this may very useful for me thanking you sir

ADD COMMENTlink 4 weeks ago M.venkatalakshmi • 0

Login before adding your answer.

Similar Posts
Loading Similar Posts