KostyaLeetcode 190. Reverse BitsReverse bits of a given 32 bits unsigned integer.Mar 9, 2021Mar 9, 2021
KostyaLeetcode 239. Sliding Window Maximum [Hard]Not so hard for people familiar with streaming processing: You are given an array of integers nums, there is a sliding window of size…Mar 3, 2021Mar 3, 2021
KostyaLeetcode 1774. Closest Dessert CostTo my surprise, brute force solution worked for this task. The idea to combine all possible topping costs in a form of set and then…Mar 2, 2021Mar 2, 2021
KostyaLeetcode 1696. Jump Game VI [Medium]According to leetcode tags Jump Game VI can land your dream job at either AQR Capital Management or Uber:)Feb 24, 2021Feb 24, 2021
KostyaLeetcode 317. Shortest Distance from All Buildings [Hard]I wasn’t able to come up with better idea than brute force, surprisingly it worked. The idea of solution for this task is the foloowing:Feb 23, 2021Feb 23, 2021
KostyaPerformance lesson from Leetcode 1770. Maximum Score from Performing Multiplication OperationsExcellent performance lesson I’ve got today from leetcode challenge: I’ve created correct algo to solve 1770. Maximum Score from…Feb 21, 2021Feb 21, 2021
KostyaLeetcode 939. Minimum Area Rectangle [Medium]Another kind of leetcode tasks without proper description: when I read the minimum area of a rectangle formed from these points my…Feb 19, 2021Feb 19, 2021
Kostya1326. Minimum Number of Taps to Open to Water a Garden [Leetcode Hard]One of the biggest mysteries in the world: how leetcode assigns a level to the task — please comment if you have an insight.Feb 18, 2021Feb 18, 2021
KostyaLeetcode 1226. The Dining Philosophers (Medium)This is a kind of task that real leetcoder has a hard time to deal with :) Instead of academic algorithms this is more focused on…Feb 17, 2021Feb 17, 2021