Yousef Waelyousefwael02.hashnode.dev·Jul 7, 2024Water Bottles - LeetCode 1518 - Beats 100%In this blog post, we'll explore a fun and practical problem: determining the maximum number of water bottles you can drink given a certain number of initial full water bottles and the ability to exchange a set number of empty bottles for new full on...leetcode
Vadish Chhatwaldukex.hashnode.dev·Jun 16, 2024DSA Journey: From Newbie to Ace"Don't let other exciting techs stop you from practicing DSA. Keep grinding, stay disciplined, start logic building! " Mandatory Sitting In my second year of college, I was enjoying life with my friends. Soon, the third semester flew by, and my seni...10 likesC++
Kenny Carnealblog.kennycarneal.com·May 3, 2024Leetcode 2441. Largest Positive Integer That Exists With It's NegativeIntuition Sort the array and check if the start and end of the array match. If not, increment or decrement accordingly. Approach First sort the array. Then use two pointers. One at the beginning, the other at the end. Check to see if the value at the...LeetCode journeyleetcode
Nitant Makwananitant.hashnode.dev·Jan 1, 2024Maximizing Content Children: A Greedy Solution - LeetCode Daily Challenge [January 1, 2024]Here is the Problem Link : https://leetcode.com/problems/assign-cookies/ Introduction The "Assign Cookies" problem is a classic example of a greedy algorithm, where we aim to maximize a certain objective by making locally optimal choices. In this pro...20 likesleetcode-solution
Motlalepula Sellomotlakz.hashnode.dev·Dec 11, 2023Code Daily, even if it's a little...The Art of Consistent Coding: Navigating Burnout with the 30-Minute Rule In the ever-evolving landscape of coding, the journey is as crucial as the destination. Daily coding practices are touted as a cornerstone for skill enhancement, yet the spectre...1 like#codenewbies
Ayesha Irshadayeshairshad.hashnode.dev·Aug 14, 2023Quick Sort Unleashed: Taming Complexity with Python and a LeetCode ChallengeIn the realm of sorting algorithms, Quick Sort reigns supreme as a versatile and efficient technique. It's a staple in the world of computer science, known for its speed and elegance. In this blog, we'll embark on a journey through Quick Sort, unrave...28 readsSorting Chronicles: Navigating Algorithms Through SeriesQuick Sort
Ayesha Irshadayeshairshad.hashnode.dev·Aug 13, 2023Navigating Complexity: Mastering Merge Sort with Code Examples and a LeetCode ChallengeSorting algorithms are the backbone of data manipulation, enabling efficient organization and retrieval. Among these algorithms, Merge Sort stands tall as a divide-and-conquer technique that exemplifies elegance and efficiency. In this blog, we'll ex...1 like·26 readsSorting Chronicles: Navigating Algorithms Through Seriesmerge sort
Ayesha Irshadayeshairshad.hashnode.dev·Aug 12, 2023Mastery Unveiled: Insertion Sort Explained with Code Examples and a LeetCode ChallengeSorting algorithms are the backbone of data organization, and Insertion Sort is a methodical and adaptable technique. Its simplicity and versatility make it a valuable tool in a programmer's arsenal. In this SEO blog, we'll unravel the intricacies of...45 readsSorting Chronicles: Navigating Algorithms Through Seriesinsertion sort
Ayesha Irshadayeshairshad.hashnode.dev·Aug 11, 2023Mastering Selection Sort: A Step-by-Step Guide with Code Examples and a LeetCode ChallengeSorting algorithms are the backbone of data organization and retrieval in computer science. Among these algorithms, Selection Sort stands out as a simple yet informative approach. In this blog, we'll dive into the mechanics of Selection Sort, explore...52 readsSorting Chronicles: Navigating Algorithms Through Seriesselection sort
Ayesha Irshadayeshairshad.hashnode.dev·Aug 10, 2023Unlocking Linear Sorting: Exploring Algorithms and Solving LeetCode ChallengesSorting is a fundamental operation in computer science, enabling efficient data retrieval and analysis. Linear sorting algorithms offer a unique approach to sorting elements within linear time complexity, making them particularly intriguing. In this ...Sorting Chronicles: Navigating Algorithms Through Seriessorting algorithms