</>OfferRetriever
DashboardDiscuss
NEW

Halloween Sale

Unlock all premium questions for over 30% off

$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to IBM Questions

Largest Number Using Parity Swaps

Medium

Question

You are given a string num made of digits. You may swap two adjacent digits only when they share the same parity, meaning both are odd or both are even. You can perform this operation as many times as you like. ...

Asked at:IBM

More IBM interview questions

All IBM interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.