subject

Discussions My Submissions
Java 8
Curious Shubham (100 Marks)
Draft save
1
2
3
4
There are 26 groups of people in Shubham's Company. At lunchtime, they all want to get some food to eat as soon as possible. All
the groups have made plan to get some food as soon as possible. According to the plan, every person of the group will share the
description of food he/she wants to eat so that all the group members will be able to order the food on the behalf of his/her group.
All the persons stand at various locations in the queue and whoever will get the food first, will distribute the food among all the
group.
But there is a weird procedure of getting the food from a queue. People having even indices form a new queue and process repeats
until only 1 person remains in the queue. He/she will able to order some food of his choice. Shubham and his friends are curious
about the group which will be able to get some food.
Input Format
The first line of input consists of the number of people present in the Queue, N.
The second line of input consists of a string that represents the group of each person who is standing in the queue.
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Constraints
1 The string consists of uppercase letters only.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 15:10
Match the terms in the hlookup syntax with their explanation. a. lookup value b. data table c. row index d. mode 1. name of the table that contains the value 2. specifies if an exact match must be found 3. value to be searched 4. name of the row that contains the value
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 23.06.2019 04:20
4. a1. vince owns a television repair shop that is insured undera commercial package policy. the policy includes thebuilding and personal property coverage form and thecauses-of-loss broad form. the declarations page indicatesthat coverage applies to both the building and the namedinsured's business property. explain whether or not thefollowing losses would be covered under his policy.a. a fire occurs on the premises, and the building isbadly damaged.b. a burglar steals some money and securities from anunlocked safe.c. a business computer is damaged by vandals whobreak into the shop after business hours.d. a tornado touches down near the store. several tel-evision sets of customers in the shop for repair aredamaged in the storm.til
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Which company provides a crowdsourcing platform for corporate research and development? a: mtruk b: wiki answers c: mediawiki d: innocentive
Answers: 2
You know the right answer?
Discussions My Submissions
Java 8
Curious Shubham (100 Marks)
Draft save
1<...
Questions
question
History, 28.05.2020 22:59
question
Mathematics, 28.05.2020 22:59
question
Mathematics, 28.05.2020 22:59
question
Mathematics, 28.05.2020 22:59
question
English, 28.05.2020 22:59