GildedRose Refactoring in RubyThere is dirty code and someone asked you to refactor it.Feb 8, 2023Feb 8, 2023
Google Docs High-Level System designMultiple users work on the same copy of the document. The document could be text, rich text, painting, drawing. Let multiple users…Feb 26, 2021Feb 26, 2021
Leetcode — 139. Word BreakWe gonna solve Leetcode 139. Work Break Medium problem. This question is medium but very easy by using the DP solution. We need to…Dec 1, 2020Dec 1, 2020
Readable complex queries with the ActiveRecordSometimes, we need multiple tables to join in our project and these queries almost not be readable. The first thing that comes to our mind…Apr 12, 2020Apr 12, 2020
Easy Way of Find Coordinates in Polygon(Ruby on Rails 6 only API, Postgres, Minitest)Jan 26, 2020Jan 26, 2020
More Performance in CancancanIf you use Ruby On Rails, you probably % 90 know Cancancan gem when you need some authorization and ability. Generally, in the first…Jan 18, 20201Jan 18, 20201