Please read the new rule regarding the restriction on the use of AI tools. ×

I dont know whats wrong with this approach.

Revision en1, by Laiba07, 2024-10-02 18:14:29

I tried to solve this question. But I got WA. I thought I chose a greedy approach but it seems like I have missed a counter case here. Can some please point that out. Thanks!!

1931C - Make Equal Again

284045334

Tags #brute force, #greedy, #implementation, #strings

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Laiba07 2024-10-02 18:14:29 263 Initial revision (published)