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 » Minimize given Number by swapping adjacent digits with odd difference
Blog

Minimize given Number by swapping adjacent digits with odd difference

by Rubin|Published March 8, 2022

Given a string S of length N representing an integer that consists of only characters ‘1’, ‘2’ and ‘3’, the task is to find the… Read More

The post Minimize given Number by swapping adjacent digits with odd difference appeared first on GeeksforGeeks.

You may also like

phpRebloom: a package to easily access the RedisBloom Redis extension (with Bloom Filter, Cuckoo Filter, Count-Mins-Sketch, and TopK functionality)
Published December 13, 2019

phpRebloom: a package to easily access the RedisBloom Redis extension (with Bloom Filter, Cuckoo Filter, Count-Mins-Sketch, and TopK functionality)

submitted by /u/palicao [link] [comments]

How to create simple curd module in magento 1?
Published April 10, 2022

How to create simple curd module in magento 1?

I’m new to magento1. I want to create 1 simple CRUD Operation module.

Using (just) 8GB of RAM in a NUC 15
Published April 10, 2026

Using (just) 8GB of RAM in a NUC 15

I want to build an ASUS NUC 15 Pro i3 mini PC with 8GB of RAM. Now I’m faced with the following […]

How to copy elements of an Array in a Vector in C++
Published October 12, 2021

How to copy elements of an Array in a Vector in C++

An Array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same […]

Interesting

  • How to find password of an unknown wifi network [closed]
  • How do I display gridlines in Paint.net?
  • Router Page Not Opening Even Though the Internet Is Working
  • How can I keep my browser tabs from closing when Windows restarts?
  • How can I see in GitHub Copilot which plugins my organization requires in the GitHub Copilot desktop app?
  • A customer fills their cart, enters shipping details, and clicks Place Order.
  • Magento 2.4.7 store, 15k products: product pages rank, category pages stuck at pos. 18-25 for two years
  • how to set Catalog Price Rule per Store View in magento 2

Post navigation

  • Previous post Reverse given Linked List in groups of specific given sizes
  • Back to post list
  • Next post Find largest index till which Bitwise AND of elements is at least X for Q queries
——————-
  • How to find password of an unknown wifi network [closed]
  • How do I display gridlines in Paint.net?
  • Router Page Not Opening Even Though the Internet Is Working
  • How can I keep my browser tabs from closing when Windows restarts?
  • How can I see in GitHub Copilot which plugins my organization requires in the GitHub Copilot desktop app?
——————-
  • 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