MultiversX Tracker is Live!

Shell Script - Sequence check and add missing number

Bitcoin Stack Exchange

Bitcoin News / Bitcoin Stack Exchange 87 Views

Some quick help needed. I have a group of numbers, lets say

(3,1,4,8,2,7,9,10)

min number = 1 , max number = 10

expected numbers = 1 to 10

missing number = 5,6

I need a shell script that is going to pick up the missing numbers in the range and add them to create a new set. Sorting is not needed though

Best Regards,


Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments