Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Dominant Initial | Techgig | Passed all test cases

  • codeflu
  • 2022-05-03
  • 557
Dominant Initial | Techgig | Passed all test cases
techgigjavaprogramming
  • ok logo

Скачать Dominant Initial | Techgig | Passed all test cases бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Dominant Initial | Techgig | Passed all test cases или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Dominant Initial | Techgig | Passed all test cases бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Dominant Initial | Techgig | Passed all test cases

Subscribe & Like
full code link - https://www.codeflu.com/post/Competit...
Github - https://github.com/code-flu

Rom and Com were discussing about the dominance in the corporate world. Rom got an idea of finding the most dominant initial(alphabet) in their network. They planned to write the first initial alphabet of the persons in their network and figure out which one is the most dominant.

The initial alphabet which is present maximum is termed as the most dominant initial alphabet. If there are two or more initials which are dominant than the one with lesser ASCII value will be considered the dominant.

Rom and Com have made the whole string of the initials in their network and now needs your help in determining the dominant initial. Can you help them?

Note: The string of initials consists of only lowercase alphabets(a-z).

Input Format
The first line of input consists of the number of test cases, T.
Next T lines each consists of a string representing the initial alphabets of the people in their network.

Constraints
1 lessthan= T lessthan=10
1 lessthan= |string| lessthan=100000

Output Format
For each test case, print the dominant initial alphabet in a separate line.

Sample TestCase 1
Input
2
gqtrawq
fnaxtyyzz

Output
q
y

Explanation
Test Case 1: There are 2 q which makes them the most dominant.
Test Case 2: There are 2 y and 2 z. Since the maximum value is the same, the initial with lesser Ascii value is considered as output. Therefore, y is the dominant initial.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]