ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

2678. Number of Senior Citizens using Java | 01 August 2024 | Matrix | String | Java |Data Structure

Автор: My Learning Hub

Загружено: 2024-07-31

Просмотров: 34

Описание: LeetCode Problem of the day
01 August 2024
Problem No [2678] : Number of Senior Citizens using Java
Level : Easy
Topic : Data Structures | String | Array

------------------------------------------------

You may also explore my another playlists :

👉Java Tutorial :
   • Java Tutorial | Java Programming | Basic t...  

👉 Geeks-for-Geeks Problem :
   • Geeks-for-Geeks Problems  

👉 Coding ninjas Easy coding problem :
   • Coding Ninjas | MCQ Daily Solution | Pract...  

----------------------------------------------------------------

⏩ Stay connected with me on social media for more updates and behind-the-scenes content !

You can find me on 🔍 :

📱Instagram Profile :
  / _ganesh_p09  

🌐 LinkedIn Profile :
  / ganesh-prasad09  

-----------------------------------------------------

✅ Description about the problem as follows :

You are given a 0-indexed array of strings details. Each element of details provides information about a given passenger compressed into a string of length 15. The system is such that:

The first ten characters consist of the phone number of passengers.
The next character denotes the gender of the person.
The following two characters are used to indicate the age of the person.
The last two characters determine the seat allotted to that person.

Return the number of passengers who are strictly more than 60 years old.


Example 1:

Input: details = ["7868190130M7522","5303914400F9211","9273338290F4010"]
Output: 2
Explanation: The passengers at indices 0, 1, and 2 have ages 75, 92, and 40. Thus, there are 2 people who are over 60 years old.


Example 2:

Input: details = ["1313579440F2036","2921522980M5644"]
Output: 0
Explanation: None of the passengers are older than 60.


------------------------------------------


🔔 If you enjoyed the content, please subscribe to the channel for more updates! 📺

👍 If you found this video helpful, don't forget to give it a thumbs up and share it with your friends! 📤

🙏 Thank you for watching the video! 😊

------------------------------------------------

📚 Check out other problems! 🔍:

🧩1. Partitions with Given Difference | Java | GeekforGeeks | Practice Problem

   • GFG-POTD | Partitions with Given Differenc...  

🧩2. K-Palindrom | Java | GeeksforGeeks | Practice Problems

   • GFG-POTD | K-Palindrome using Java | 23 Ma...  

🧩3. [ Part-02 ] Maximum Score Words Formed by Letters - Leetcode

   • 1255. [Part-01] Maximum Score Words Formed...  

🧩4. Mobile Numeric Keypad :

   • GFG-POTD | 📱Mobile numeric keypad 🔢 using ...  

🧩5. Summed Matrix :

   • GFG-POTD | Summed Matrix using Java | Prac...  

🧩6. Print Bracket Numbers :

   • GFG-POTD | Print Bracket Number using Java...  

🧩 7. Toeplitz matrix :

   • GFG-POTD | Toeplitz matrix using Java | Pr...  

🧩 8. 350. Intersection of Two Arrays II :

   • 350. Intersection of Two Arrays II using J...  

🧩 9. 1701. Average Waiting Time :

   • 1701. Average Waiting Time using Java | 09...  

------------------------------------------------
#leetcodeproblems | #leetcodesolution | #leetcodeproblemsolutionusingjava | #2678NumberofSeniorCitizens | #2678NumberofSeniorCitizensusingjava | #2678NumberofSeniorCitizensproblemoftheday | #2678NumberofSeniorCitizensleetcodesolution | #2678NumberofSeniorCitizenssolutionusingjava

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
2678. Number of Senior Citizens using Java | 01 August 2024 | Matrix | String | Java |Data Structure

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

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

Скачать аудио

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

1105. Filling Bookcase Shelves using Java | 31 July 2024 | Dynamic Programming | Array |

1105. Filling Bookcase Shelves using Java | 31 July 2024 | Dynamic Programming | Array |

«Своей рукой изломанные судьбы...». Ургант искал его 18 лет

«Своей рукой изломанные судьбы...». Ургант искал его 18 лет

Струны до ужасны!

Струны до ужасны!

21. Merge Two Sorted Lists | Leetcode POTD | Python

21. Merge Two Sorted Lists | Leetcode POTD | Python

2696. Minimum String Length After Removing Substrings using Java | 07 Oct 2024 | Stack | String

2696. Minimum String Length After Removing Substrings using Java | 07 Oct 2024 | Stack | String

Как изучать алгоритмическое программирование? Для собеседований, олимпиад, ЕГЭ, вуза

Как изучать алгоритмическое программирование? Для собеседований, олимпиад, ЕГЭ, вуза

У меня ушло 10+ лет, чтобы понять то, что я расскажу за 11 минут

У меня ушло 10+ лет, чтобы понять то, что я расскажу за 11 минут

LeetCode Problem 950 | Reveal Card Increasing Order using Java |Array| Sorting| Simulation |Queue

LeetCode Problem 950 | Reveal Card Increasing Order using Java |Array| Sorting| Simulation |Queue

CodeChef Starters 230 | Video Solutions - A to D | by Hariom Singh | TLE Eliminators

CodeChef Starters 230 | Video Solutions - A to D | by Hariom Singh | TLE Eliminators

💥ЖИРНОВ: КИЛЛЕРЫ ПУТИНА НАПАЛИ НА ГЕНЕРАЛОВ ВСУ! ТАЙНА

💥ЖИРНОВ: КИЛЛЕРЫ ПУТИНА НАПАЛИ НА ГЕНЕРАЛОВ ВСУ! ТАЙНА "ЦЕНТРА 795" РАСКРЫТА. Это полнейший провал

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

⚡АУСЛЕНДЕР: МОЛНИЕНОСНЫЙ удар США! Секретные базы Ирана В ХЛАМ. В Тегеране АД @sergey_auslender

⚡АУСЛЕНДЕР: МОЛНИЕНОСНЫЙ удар США! Секретные базы Ирана В ХЛАМ. В Тегеране АД @sergey_auslender

Маленькие языковые модели | Open source, локальный ИИ, SLM | Podlodka Podcast #468

Маленькие языковые модели | Open source, локальный ИИ, SLM | Podlodka Podcast #468

Новый китайский ИИ DuClaw сделал OpenClaw мгновенным и непобедимым.

Новый китайский ИИ DuClaw сделал OpenClaw мгновенным и непобедимым.

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Математик и черт

Математик и черт

⚡️ Япония Вступает в Войну с Ираном. Перебежчики из Иранского Руководства Готовы Сотрудничать с США.

⚡️ Япония Вступает в Войну с Ираном. Перебежчики из Иранского Руководства Готовы Сотрудничать с США.

Песков, Малахов, Ткачук, Боярский, Пересильд, Хабенский, Басков на юбилее Зацепина.

Песков, Малахов, Ткачук, Боярский, Пересильд, Хабенский, Басков на юбилее Зацепина.

Симпсоны Предсказали 2026: Узнайте Будущее!

Симпсоны Предсказали 2026: Узнайте Будущее!

Bathing Directly in a Heated River | Japan's Strangest Onsen #Insta360X5

Bathing Directly in a Heated River | Japan's Strangest Onsen #Insta360X5

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



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