Math, asked by deyranjit905, 2 months ago

RELATIVES
You went on a five days camping trip to Rishikesh with your school. Your
packed with activities like rock climbing, river crossing, rafting, trek
ather who is away on business is interested to know about the details o
n e-mail, narrating your experience and the most adventurous thing tha
nose five days.​

Answers

Answered by dkyouth88
7

Answer:

RELATIVES

You went on a five days camping trip to Rishikesh with your school. Your

packed with activities like rock climbing, river crossing, rafting, trek

ather who is away on business is interested to know about the details o

n e-mail, narrating your experience and the most adventurous thing tha

nose five days.

Step-by-step explanation:

which there is no student with higher roll number on to his

Example

roll_numbers = [3,6,2,7,5] //roll numbers of students randomly picked initially amongst all students

Use a 1-indexed array. On day 1, roll numbers 6 and 7 will be picked to give viva leaving roll_numbers' =

(3,2,5]. On day 2 , roll number 5 will be picked for viva leaving roll_numbers" = (3,2). There is no student

with a higher roll number than the one to its left, so that batch will be over with the viva and will be ready

to enjoy the vacations,

Input Format

The first line contains Sasha's hub hsgsfynan integer n, the size of the array roll_number,

The next lines contains n line-separated integers roll_number[i].

Constraints

Answered by punitharshtigga
0

OK

  1. can you send me your picture
  2. joining us dkv-ukvk-xsk
Similar questions