🎁 Exclusive Offer! Join our Telegram Channel to get **special discounts** and updates! 🚀

🚀 Struggling with coding interviews? We've got you covered! 💡 Practice real questions, sharpen your skills, and land your dream job! 🎯

Search Questions

Recent Questions

#1

Watering plants

Imagine you are a park ranger responsible for maintaining N plants along a hiking trail. The plants are arranged in a straight line and numbered from 0 to N - 1: with the ith plant located at x = i. You have a water source at x = -1, which you must use to refill your watering can.

Each plant requires a different amount of water and you must water them in order, from left to r

Asked in: No companies listed


People Bought: 0

Price (in Rs): 150.00

#2

Profits

John is a shopkeeper. He can buy N items from the producer, the ith of which costs cost[i]. He can sell the it item at sell[i]. Initially, he has K dollars and O items in his shop. At any moment, his store can accommodate at most 1 item, which means he has to sell the previous item before buying the
next one from the producer.
What is the maximum profit he can achieve?

Notes
- He

Asked in: No companies listed


People Bought: 0

Price (in Rs): 200.00

#3

Balanced mixture

Given A number of powerful resources and B number of weak resources. You have to select a balanced mixture of these resources. A balanced mixture has C resources containing no less than 4 powerful resources and no less than one weak resource. You are given integers A, B, and C. Each powerful and weak
resource is unique in itself. Hence, two mixtures with the same number of pow

Asked in: Google


People Bought: 0

Price (in Rs): 200.00

#4

Software developers at Amazon are developing a new library for Natural Language Processing. In one of its
modules, every string needs to be preprocessed in a particular manner to find the length of its longest self-sufficient
proper substring
A self-sufficient proper substring is one where
1. the substring is not the entire string s
2.no letter that occurs inside the substring also occurs out

Asked in: No companies listed


People Bought: 1

Price (in Rs): 150.00