Aloha. Continue trying to solve easy problems. I think I will solving easy problems for two month.
https://telegra.ph/Richest-Customer-Wealth-07-22
https://telegra.ph/Richest-Customer-Wealth-07-22
Telegraph
Richest Customer Wealth
You are given an m x n integer grid accounts where accounts[i][j] is the amount of money the ith customer has in the jth bank. Return the wealth that the richest customer has. A customer's wealth is the amount of money they have…
👍2
Aloha. Pretty popular problem --> https://telegra.ph/Fizz-Buzz-07-23
Telegraph
Fizz Buzz
Given an integer n, return a string array answer (1-indexed) where: answer[i] == "FizzBuzz" if i is divisible by 3 and 5. answer[i] == "Fizz" if i is divisible by 3. answer[i] == "Buzz" if i is divisible by 5. answer[i] == i (as a string) if none of the above…
Aloha guys. Additioonal weekend problem. I got this problem on one of the MANGA (FAANG) interview.
https://telegra.ph/Add-Binary-07-23
https://telegra.ph/Add-Binary-07-23
Telegraph
Add Binary
Given two binary strings a and b, return their sum as a binary string. Example 1: Input: a = "11", b = "1" Output: "100" Example 2: Input: a = "1010", b = "1011" Output: "10101" Hm, this problem was marked as easy, but for me, it was a brain fucker problem.…
Aloha. New day new problem. Read and enjoy --> https://telegra.ph/Palindrome-Number-07-26
Telegraph
Palindrome Number
Given an integer x, return true if x is palindrome integer. An integer is a palindrome when it reads the same backward as forward. For example, 121 is a palindrome while 123 is not. Example 1: Input: x = 121 Output: true Explanation: 121 reads as 121 from…
Ааалоха гайз. Да да по мимо задач мы ещё и про Java немного говорим. Да, да к собесам готовимся.
---
Aloha. Continue talking about Java. Do you know what a static class is?
--- https://vt.tiktok.com/ZSRFPFqLo/?k=1
---
Aloha. Continue talking about Java. Do you know what a static class is?
--- https://vt.tiktok.com/ZSRFPFqLo/?k=1
👍2
Алоха. Если кто готовится в Sys Design интервью. То могу порекомендовать этот канал - https://www.youtube.com/watch?v=bUHFg8CZFws
Все обьясняется достаточно понятно. Единственное это просто сильнейший "рашн акцент"
Все обьясняется достаточно понятно. Единственное это просто сильнейший "рашн акцент"
YouTube
System Design Interview – Step By Step Guide
Please check out my other video courses here: https://www.systemdesignthinking.com
Topics mentioned in the video:
- Stages of a typical system design interview: functional requirements (API), non-functional requirements, high-level design, detailed design…
Topics mentioned in the video:
- Stages of a typical system design interview: functional requirements (API), non-functional requirements, high-level design, detailed design…
👍4
Aloha. Continue solving easy problems --> https://telegra.ph/Number-of-Steps-to-Reduce-a-Number-to-Zero-07-27
Telegraph
Number of Steps to Reduce a Number to Zero
https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/ Given an integer num, return the number of steps to reduce it to zero. In one step, if the current number is even, you have to divide it by 2, otherwise, you have to subtract 1 from…
Алоха ребята. Сегодня мы разбираем супер популярный подход. Задачи с таким подходом частенько попадаются на интервью. Очень важно проработать этот подход на самых простых задачах. Этот подход называется "two pointers".
---
Aloha guys. Today we are talking about super popupal approach: two pointers.
---
https://telegra.ph/Middle-of-the-Linked-List-07-28
---
Aloha guys. Today we are talking about super popupal approach: two pointers.
---
https://telegra.ph/Middle-of-the-Linked-List-07-28
Telegraph
Middle of the Linked List
https://leetcode.com/problems/middle-of-the-linked-list/ Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the second middle node. Example 1: Input: head = [1,2,3,4,5] Output: [3,4,5]…
Алоха малоха, кто не лайкнет👍 тот картоха. Сегодня снова попалась задача с достаточно популярными подходами, которые встречаются на интервью. Мы рассмотрим map + char manipulations. https://telegra.ph/Ransom-Note-07-29
Telegraph
Ransom Note
https://leetcode.com/problems/ransom-note/ Given two strings ransomNote and magazine, return true if ransomNote can be constructed by using the letters from magazine and false otherwise. Each letter in magazine can only be used once in ransomNote. Example…
👍12😁1
Aloha maloha. Всем приветы. Врываемся в август с очень важной задачей. На ее основе постоены различные medium and hard problems. Ну что давайте разомнем мозг и решим Two Sum Problem --> https://telegra.ph/Two-Sum-08-02
Telegraph
Two Sum
https://leetcode.com/problems/two-sum/ Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element…
👍6
Aloha. Hope you all doing good. Пока к счастью попадаются задачи, которые реально полезны при переходе к следующему уровню. Сегодня рассмотрим in-order traversal in binary tree --> https://telegra.ph/Binary-Tree-Paths-08-02
Telegraph
Binary Tree Paths
https://leetcode.com/problems/binary-tree-paths/ Given the root of a binary tree, return all root-to-leaf paths in any order. A leaf is a node with no children. Example 1: Input: root = [1,2,3,null,5] Output: ["1->2->5","1->3"] Example 2: Input: root =…
👍4
Aloha. Simple stupid problem --> https://telegra.ph/Length-of-Last-Word-08-05
Telegraph
Length of Last Word
https://leetcode.com/problems/length-of-last-word/ Given a string s consisting of words and spaces, return the length of the last word in the string. A word is a maximal substring consisting of non-space characters only. Example 1: Input: s = "Hello World"…
👍5
Алоха. Ну а тех кого задолбало читать решения задач и кому это совсем не интересно (хотя как может быть не интересно читать про leetcode? ) Вот вам немного нашей истории переезда --> https://telegra.ph/Nash-pereezd-v-SSHA-08-02
Telegraph
Наш переезд в США.
Хочу поделиться нашей историей о приезде в США. По сути, это была не запланированная поездка. Мы полетели с девушкой в Турцию, чтобы сделать вакцинацию, так как хотели осенью полететь в США в отпуск. 24 февраля рано утром мы просыпаемся от звонка друга и…
🔥8👍2
Алоха. Продолжаем разбор легких задач. Сегодня вариация одной из популярных задач, которая попадалась мне на собеседовании в Гугл. --> https://telegra.ph/Add-Binary-08-07
Кстати начал замечать, что я иногда, но начинаю подмечать различные паттерны в задачах и в голове начинает вырисовываться верный алгоритм.
Кстати начал замечать, что я иногда, но начинаю подмечать различные паттерны в задачах и в голове начинает вырисовываться верный алгоритм.
Telegraph
Add Binary
https://leetcode.com/problems/add-binary/ Given two binary strings a and b, return their sum as a binary string. Example 1: Input: a = "11", b = "1" Output: "100" Example 2: Input: a = "1010", b = "1011" Output: "10101" Solution: That is a variation of a…
👍6
Алоха. Всем крутой недели. И начнем эту неделю с одной из базовых проблем связанных с деревьями.
----
Так как не всем интересны решения задач то хоть фоточкой насладитесь на которой просто максимальная концентрация.
https://telegra.ph/Balanced-Binary-Tree-08-09
----
Так как не всем интересны решения задач то хоть фоточкой насладитесь на которой просто максимальная концентрация.
https://telegra.ph/Balanced-Binary-Tree-08-09
🔥9😁1
Алоха, ребятишки. Конечно же все любят деревья. Как же не любить деревья?
А как же определить, что дерево симметричное? Для этого читаем статью статейку или наслаждаемся фоточкой.
https://telegra.ph/Symmetric-Tree-08-10
А как же определить, что дерево симметричное? Для этого читаем статью статейку или наслаждаемся фоточкой.
https://telegra.ph/Symmetric-Tree-08-10
👍9❤2
