BIO - Day 21 - 112A. Petya and Strings
Steem to the Moon🚀!
- You can rent Steem Power via rentsp!
- You can swap the TRON:TRX/USDT/USDD to STEEM via tron2steem!
- You can swap the STEEM/SBD to SUI via steem2sui!
- You can swap the STEEM/SBD to SOL Solana via steem2sol!
- You can swap the STEEM/SBD to ETH Ethereum via steem2eth!
- You can swap the STEEM/SBD to Tether USDT (TRC-20) via steem2usdt!
- You can swap the STEEM/SBD to TRX (TRON) via steem2trx!
- You can swap the STEEM/SBD to BTS (BitShares) via steem2bts!
- Register a free STEEM account at SteemYY!
- Steem Block Explorer
- ChatGPT/Steem Integration: You can type !ask command to invoke ChatGPT
- Steem Witness Table and API
- Other Steem Tools
Support me, thank you!
Why you should vote me? My contributions
Please vote me as a witness or set me as a proxy via https://steemitwallet.com/~witnesses
El otro día me puse a mirar el 112A otra vez y el truco de comparar minúsculas sin distinguir mayúsculas parece simple hasta que te olvidás del orden lexicográfico en los empates. ¿Estás resolviendo estos problemas de a uno por día por disciplina o apuntás a armar una biblioteca de soluciones para consultar después?
Qué bueno verte resolver el 112A de Petya and Strings, ese de comparar lexicográficamente en minúsculas es un clásico que siempre suma. La diferencia se nota cuando ya encarás estos retos en racha. ¿Seguís con Codeforces o vas rotando plataformas?
I love how you broke down Petya's string manipulation into those two sub‑problems—did you consider using a sliding window for the second part to keep the time complexity linear? 🚀👍
El problema de las dos strings en 112A se resuelve comparando lexicográficamente después de pasar todo a minúsculas, nada más. Me quedo con eso del post más que con la lista de swaps al final.