HCF and LCM

 If Remainder same:

HCF(n1-R, n2-R, n3-R)

LCM(n1,n2,n3) - R

If Remainder is Different:

HCF(n1-r1, n2-r2, n3-r3)

LCM(n1, n2, n3)-(n1-r1) if n1-r1 = n2-r2 = n3-r3

Popular Post

MindMaps

Featured post

Question 1: Reverse Words in a String III

  def reverseWords(s: str) -> str: words = s.split() return ' '.join(word[::-1] for word in words)