Haneunhanlee.hashnode.dev·Jul 22, 2024LeetCode 1518. Water Bottles Java SolutionProblem Description Problem: LeetCode 1518. Water Bottles Description: We have numBottles water bottles. We can exchange numExchange empty bottles for one new full water bottle. The goal is to calculate the maximum number of water bottles we can dr...Discuss LeetCode 1518. Water Bottles
Ahmad W Khanblog.ahmadwkhan.com·Jul 19, 2024Understanding End-to-End EncryptionIn an era where digital communication has become integral to our daily lives, the need for secure and private messaging has never been more critical. End-to-end encryption (E2EE) stands as a formidable guardian of privacy, ensuring that only the inte...Discuss·1 likeE2E
Haneunhanlee.hashnode.dev·Jul 18, 2024LeetCode 2582. Pass the Pillow Java SolutionProblem Description Problem: https://leetcode.com/problems/pass-the-pillow/description/ Description: People are standing in a circle numbered from 1 to n. Person 1 holds a pillow and every hour they pass the pillow to the person to their right. If ...Discuss2582. Pass the Pillow
Haneunhanlee.hashnode.dev·Jul 17, 2024LeetCode 2058. Find the Minimum and Maximum Number of Nodes Between Critical Points Java SolutionProblem Description Problem: LeetCode 2058. Nodes Between Critical Points Description: Given a singly linked list, we need to find the minimum and maximum distance between nodes that are local maxima (a value greater than its neighbors) or local mi...Discuss2058. Find the Minimum and Maximum Number of Nodes Between Critical Points
Your Tech Sisyourtechsiss.hashnode.dev·Jul 17, 2024Dynamic Programming: Teach me like I am 5!Imagine you have a magical notebook 📓✨. This notebook remembers answers to problems you’ve already solved so you don’t have to solve them again. Let’s start with something simple: climbing stairs. Each time, you can either take 1 step or 2 steps. Ho...Discussteach me like i am 5
Haneunhanlee.hashnode.dev·Jul 15, 2024LeetCode 1701. Average Waiting Time Java SolutionProblem Description Problem: https://leetcode.com/problems/average-waiting-time/ Description: The task is to calculate the average waiting time for all customers, considering each customer's arrival time and cooking time. Each customer can start th...Discuss1701. Average Waiting Time
Md Nadim Anwarnadim.in·Jul 14, 2024Data Structures for Beginners: Essential Concepts SimplifiedWhat is Data Structure? A data structure is a way of organizing data so that it can be used effectively and efficiently. From a code design perspective, we need to pay particular attention to the way data is structured. If data isn’t stored properly,...DiscussData Structures and Algorithms (DSA)#nadim.in
Haneunhanlee.hashnode.dev·Jul 11, 2024LeetCode 1598. Crawler Log Folder Java Problem SolutionProblem Description Problem: LeetCode 1598 Description: Calculate the depth of the file system directory based on the given log array. "./" represents the current directory, and "../" represents the parent directory. Approach Idea: Traverse the ...Discuss 1598. Crawler Log Folder
Haneunhanlee.hashnode.dev·Jul 9, 2024LeetCode 1823: Find the Winner of the Circular Game Java SolutionProblem Description Problem: LeetCode 1823: Find the Winner of the Circular Game Description: There are n people standing in a circle, numbered from 1 to n. They play a game in which every k-th person is eliminated in a circular manner until only o...Discuss1823. Find the Winner of the Circular Game
Haneunhanlee.hashnode.dev·Jul 6, 2024LeetCode 2181. Merge Nodes in Linked List Java SolutionProblem Description Problem: https://leetcode.com/problems/merge-nodes-in-between-zeros/ Description: Given a single linked list, the task is to merge nodes according to specific conditions. Add node's values until it reaches 0. 0-3-4-0-5-3-0 to 7...DiscussLeetCode 2181. Merge Nodes in Linked List