1.58K subscribers
598 photos
1 file
970 links
Don't miss a day to solve the problem
My leetcode graph - https://leetcode.com/SamoylenkoDmitry/
Download Telegram
https://leetcode.com/problems/destination-city/description/

Destination city in a paths[i] = [cityAi, cityBi] path
👍1
https://leetcode.com/problems/design-a-food-rating-system/description/

Given foods, cuisines and ratings implement efficient methods changeRating(food, newRating) and highestRated(cuisine)
👍1
👍1
👍1
https://leetcode.com/problems/path-crossing/description/

Is path string of 'N', 'E', 'W', 'S' crosses
👍1
https://leetcode.com/problems/minimum-changes-to-make-alternating-binary-string/description/

Minimum operations to make 01-string with no two adjacent equal
👍1
https://leetcode.com/problems/decode-ways/description/

Ways to decode back 'A' -> '1', 'B' -> '2' … 'Z' -> '26'
👍1
https://leetcode.com/problems/number-of-dice-rolls-with-target-sum/description/

Ways to throw once n dices with k faces to make target sum.
👍1
https://leetcode.com/problems/string-compression-ii/description/

Min length of run-length encoded aabccc -> a2bc3 after deleting at most k characters
👍1
https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule/description/

Min sum of maximums jobDifficulty[i] per day d preserving the order
👍1
https://leetcode.com/problems/redistribute-characters-to-make-all-strings-equal/description/

Is it possible to split all the words[] characters into words.size groups.
👍1
https://leetcode.com/problems/assign-cookies/description/

Max count of greedy children g[Int] to assign cookies with sizes s[Int].
👍1
👍2😁1