Commit Graph

62 Commits

Author SHA1 Message Date
vaskes 807a5ae9cf [HAI] week3 intersection array
https://www.interviewbit.com/problems/intersection-of-sorted-arrays/
2024-12-08 21:12:56 +03:00
vaskes 656b5c6eb5 [HAI] week3 max area
https://leetcode.com/problems/container-with-most-water/description/?source=submission-ac
2024-12-08 19:43:05 +03:00
vaskes a54b5b8996 [HAI] week3 two sum withou hashsum
https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
2024-12-06 00:13:06 +03:00
vaskes 8dcb175459 [HAI] week3 two optimize solution remove reverse
https://leetcode.com/problems/squares-of-a-sorted-array/
2024-12-05 22:45:56 +03:00
vaskes 35c77a3a23 [HAI] week3 two pointer palindrome
https://leetcode.com/problems/valid-palindrome/description/
2024-12-05 22:01:21 +03:00
vaskes f16f797381 [HAI] week3 two pointers squares of a sorted array
https://leetcode.com/problems/squares-of-a-sorted-array/
2024-12-05 10:29:04 +03:00
vaskes 78b50806e3 [HAI] twoSumHashtable etalon by Max 2024-11-28 00:36:02 +03:00
vaskes 7b7e228ba3 [HAI] twoSumHashtable update taste cases 2024-11-28 00:30:58 +03:00
vaskes 69cb20429c [HAI] isValidSudoku etalon solution by Max 2024-11-28 00:19:36 +03:00
vaskes 0a9d8b23a2 [HAI] isValidSudoku WIP 2024-11-28 00:02:20 +03:00
vaskes 9e79211174 [HAI] isValidSudoku WIP 2024-11-27 21:57:49 +03:00
vaskes 1f34e8a044 Merge branch 'isomorf-string' 2024-11-23 04:37:17 +03:00
vaskes baabc7acb8 [HAI] isIsomorphic etalon solution 2024-11-23 04:36:49 +03:00
vaskes 1eddd38b3f [HAI] twoSumHashtable 2024-11-23 04:35:39 +03:00
vaskes 0cabf5961f fix conflict 2024-11-23 04:35:17 +03:00
vaskes 4c14d98644 [HAI] isIsomorphic my solution 2024-11-22 05:07:08 +03:00
vaskes 8e4c2c136e [HAI] GPT optimisation
https://leetcode.com/problems/string-compression/submissions/1451041094/
2024-11-14 21:45:52 +03:00
vaskes 0ae89af862 [HAI] my solution finish
https://leetcode.com/problems/string-compression/submissions/1451041094/
2024-11-14 21:43:18 +03:00
vaskes 120eccaa4b [HAI] home work leetcode WIP
https://leetcode.com/problems/string-compression/submissions/1451041094/
2024-11-13 01:39:58 +03:00
vaskes 022f89a537 [HAI] home work leetcode 2024-11-10 22:03:28 +03:00
vaskes 427731f797 [HAI] open lesson maxSum
sliding window fixed size
2024-11-10 20:40:48 +03:00
vaskes 052a872f46 [ya-day1] 6 1 A yandex solution 2024-11-10 16:14:35 +03:00
vaskes 5c452053f5 [ya-day1] 6 1 B yandex solution 2024-11-10 16:14:16 +03:00
vaskes adbb265d1b [ya-day1] update test cases 9 for problem B WIP 2024-11-10 15:12:27 +03:00
vaskes cacbd45d87 [ya-day1] update test cases 2024-11-02 02:04:09 +03:00
vaskes d6ece9360b [ya-day1] tshortChooser teste 1 - 19 2024-11-02 01:54:27 +03:00
vaskes 46779a7da5 [ya-day1] tshortChooser solution for base case 2024-10-28 02:04:59 +03:00
vaskes 17f0be347b [ya-day1] tshortChooser prepare 2024-10-27 23:50:47 +03:00
vaskes 7a566f2645 [ya-day1] template for send solution 2024-10-27 23:33:05 +03:00
vaskes 27cdd51869 [ya-day1] swimmer problem 1 2024-10-27 22:03:48 +03:00
vaskes 643d42c748 [ya-day1] swimmer problem WIP 2024-10-27 20:35:54 +03:00
vaskes 89a0abcbaf [basic] deepClone 2024-10-19 22:09:29 +03:00
vaskes 502d2b9b28 [music] add tests for build music tonalnost 2024-10-19 20:50:20 +03:00
vaskes b61adaf8eb [music] build musical tonalnost 2024-10-19 20:25:33 +03:00
vaskes 44ec6f1f8f [basic] chessBoard author solution 2024-10-19 13:26:01 +03:00
vaskes 10ad87d9a4 [basic] chessBoard 2024-10-19 13:14:27 +03:00
vaskes 17f68f2885 [basic] working with for loop, implement fizzBuzz 2024-10-19 12:47:42 +03:00
vaskes 1ae5c2c4e7 [basic] working while 2024-10-19 12:26:33 +03:00
vaskes 52227188a5 [math][fundamental rulese to devide nume to 11
Функция находит числа в массиве чисел, которые деляться на 11
2024-10-13 21:24:13 +03:00
vaskes 20e719bebb [6kyu][algorithms][my-solution] Find The Parity Outlier solution
You are given an array (which will have a length of at least 3, but
could be very large) containing integers. The array is either entirely
comprised of odd integers or entirely comprised of even integers except
for a single integer N. Write a method that takes the array as an
argument and returns this "outlier" N.
2024-10-13 17:54:24 +03:00
vaskes c5a12704c3 [6kyu][algorithms] Find The Parity Outlier solution
You are given an array (which will have a length of at least 3, but
could be very large) containing integers. The array is either entirely
comprised of odd integers or entirely comprised of even integers except
for a single integer N. Write a method that takes the array as an
argument and returns this "outlier" N.
2024-10-13 17:00:52 +03:00
vaskes ffa87ec3a3 [5kyu][functionl-programming][math] A Chain adding function
https://www.codewars.com/kata/539a0e4d85e3425cb0000a88/solutions/typescript

We want to create a function that will add numbers together when called
in succession.
2024-10-03 13:56:51 +03:00
vaskes aeb641e339 [6kyu][fundamentals][strings][array]
https://www.codewars.com/kata/54b42f9314d9229fd6000d9c/solutions/typescript

The goal of this exercise is to convert a string to a new string where
each character in the new string is "(" if that character appears only
once in the original string, or ")" if that character appears more than
once in the original string. Ignore capitalization when determining if a
character is a duplicate.
2024-10-03 13:45:15 +03:00
vaskes e9a72107ed [7kyu][fundamentals] Growth of a Population
https://www.codewars.com/kata/563b662a59afc2b5120000c6

n a small town the population is p0 = 1000 at the beginning of a year.
The population regularly increases by 2 percent per year and moreover 50
new inhabitants per year come to live in the town. How many years does
the town need to see its population greater than or equal to p = 1200
inhabitants?
2024-10-03 13:04:36 +03:00
vaskes 11c4e28710 [8kyu][array][fundamentals] conditions
https://www.codewars.com/kata/55f9b48403f6b87a7c0000bd

Your classmates asked you to copy some paperwork for them. You know that
there are 'n' classmates and the paperwork has 'm' pages.Your task is to
calculate how many blank pages do you need. If n < 0 or m < 0 return 0.
2024-10-03 13:00:35 +03:00
vaskes 3a964f61f9 [8kyu][array][fundamentals] sum array of numbers
https://www.codewars.com/kata/576b93db1129fcf2200001e6

Sum all the numbers of a given array ( cq. list ), except the highest
and the lowest element ( by value, not by index! ).The highest or lowest
element respectively is a single element at each edge, even if there are
more than one with the same value.Mind the input validation.
2024-10-03 12:57:45 +03:00
vaskes f0bff99aa4 [6kyu][string] towerBuilder
https://www.codewars.com/kata/576757b1df89ecf5bd00073b

Build a pyramid-shaped tower, as an array/list of strings, given a
positive integer number of floors. A tower block is represented with "*"
character.For example, a tower with 3 floors looks like this:
2024-10-03 12:55:37 +03:00
vaskes 3a1b17fb9f [solution] screening task 2024-09-24 00:08:35 +03:00
vaskes 6a7bf0c043 [solution] multiply fibonachi 2024-09-24 00:07:56 +03:00
vaskes eed95e70ae [solution] factorial for, factorial recursive 2024-09-23 12:37:45 +03:00