Category Archives: Algorithms

Complicated Computer concepts in Layman’s terms

This article is mainly to understand the jargon Computer Science concepts in easy layman language. I have used my maximum user understandable language for easier understanding and provided explaination for 5 major concepts in Layman’s terms. 1. Concept of Algorithm. How can the concept of “Algorithm” be made understood to a normal person without using computer concepts???? Let… Read More »

LCM of given array elements

Given an array of size n, your task is to find the least common multiple or LCM of all the elements of the array. Examples: Input : arr = [ 8, 9, 21] Output : 504 Input : arr = [ 2, 4, 3, 8] Output : 24 RECOMMENDED: Maximum Length Subsequence from Ticket Prices Array Method-1: Prime… Read More »