Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Print triplet with sum equal to N and LCM at most N/2
Blog

Print triplet with sum equal to N and LCM at most N/2

by Rubin|Published July 20, 2021

Given a positive integer N, the task is to find a triplet {X, Y, Z} such that the least common multiple of X, Y, and… Read More

The post Print triplet with sum equal to N and LCM at most N/2 appeared first on GeeksforGeeks.

You may also like

How can the dnsmasq DHCP server stop leasing IPs?
Published November 28, 2025

How can the dnsmasq DHCP server stop leasing IPs?

My internal network (4 nodes, all running on Ubuntu 24.04.3 + switch / router with OpenWrt) stopped working a couple of hours […]

Count of triplets in Binary String such that Bitwise AND of S[i], S[j] and S[j], S[k] are same
Published April 1, 2022

Count of triplets in Binary String such that Bitwise AND of S[i], S[j] and S[j], S[k] are same

Given a binary string S of length N, consisting of 0s and 1s. The task is to count the number of triplet […]

Published February 15, 2024

Computer using wrong driver for network printer

We have an HP plotter installed on a print server that is using a particular driver, but when we install it from […]

What is Globalisation? Explain advantages, disadvantages and types of Globalisation.
Published February 18, 2023

What is Globalisation? Explain advantages, disadvantages and types of Globalisation.

Globalisation is the process of integrating a country’s economy with the global economy by removing restrictions on trade and capital flows. Simply […]

Interesting

  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results

Post navigation

  • Previous post Maximum Fixed Point (Value equal to index) in a given Array
  • Back to post list
  • Next post Maximum number of groups that can receive fresh donuts distributed in batches of size K
——————-
  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme