4 posts about GCD by 3 contributors.
Know GCD? Share what you know with developers who are learning it.
A complete guide to solving the Two Water Jug problem in Java. Learn how to calculate the minimum number of operations to measure a specific amount of water using two jugs, including code explanation, execution steps, and sample outputs.
Learn how to calculate the Greatest Common Divisor (GCD) in C# WebForms using Euclid's Algorithm and recursion. This tutorial provides a step-by-step guide with code examples.
Master the concepts of GCD (Greatest Common Divisor) and LCM (Least Common Multiple) with this comprehensive guide. Learn how to calculate GCD using the Euclidean Algorithm and the common divisors method. Discover the relationship between GCD and LCM, and find practical coding examples in Python, C++, and Java. Includes a step-by-step example and helpful tips for simplifying fractions and solving DSA problems. Essential knowledge for coding interviews!
In this brief article, we'll see a simple method to convert the decimal part of a number into its fractional representation, developing a reusable class apt to do it.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article