🧑🏫Изучаем популярный на собеседованиях алгоритм — [31:22]
Ни для кого не секрет, что знание алгоритмов — очень важная вещь для успешного прохождения технического собеседование в большую часть IT-компаний (особенно таких, как Яндекс или Google).
При этом нередко на собеседованиях бывают задачи, где поступают некоторые запросы на отрезке. Например, запросы на сумму. С одной стороны, любому новичку в программировании будет очевидно, как с этим справиться: просто пройтись по отрезку и посчитать сумму элементов на нём. Но зачастую — это не то, чего ждут от собеседуемого. Чаще ожидают решение, которое может отвечать на каждый вопрос "моментально" (для тех, кто знаком с обозначениями, за O(1) времени).
В этом небольшом видео автор понятным языком расскажет, как просто и эффективно можно обрабатывать такие запросы.
#алгоритмы#собеседование
🌍 Time zones are not always set by longitude—some countries, like China, use one time zone nationwide despite spanning five natural zones, affecting daily life from sunrise to sunset across vast distances. ✨
#timezones⚡#clocks⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🌍 Some time zones offset by just 15 or 30 minutes exist, like India’s UTC+5:30 and Newfoundland’s UTC−3:30. These unusual divisions reflect local choices instead of sticking to whole hours. ✨
#timezones⚡#clocks⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography🌍
🌍 Some countries adjust their time zones by just a single minute. Venezuela, for example, once set its clocks to UTC−4:30, then shifted to UTC−4:00 for efficiency, creating rare minute-level changes. ✨
#timezone⚡#clocks⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🌍 Spain's Canary Islands, though just west of Africa, use the same time zone as mainland Spain. Their clocks are always one hour behind the rest of the country, bridging continents by time. ✨
#timezone⚡#islands⚡#clocks⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🌍 Some Antarctic research stations use New Zealand’s time zone, while others choose the time of their home country. This means clocks at the South Pole can show different times—sometimes up to 12 hours apart. ✨
#timezones⚡#antarctica⚡#clocks⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🌍 Nepal is one of the few countries that advances its clocks by 45 minutes from standard time, using a unique offset of UTC+5:45 to better match local solar time. ✨
#timezones⚡#Nepal⚡#clocks⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels