Daily-Coding-DS-ALGO-Practice
Daily-Coding-DS-ALGO-Practice copied to clipboard
Add a gfg question: Maximum number produced by k adjacent swaps
Aim
Given an array a[ ] and the number of adjacent swap operations allowed are K. The task is to find the max number that can be formed using these swap operations.
Details
Features of this script:
- Step by step explanation of the code
- Clean and concise code with time complexity analysis
Programming language
- [ ] C
- [x] C++
- [ ] Java
- [ ] Python
@Ayush7614 can you please assign this to me under Hacktoberfest?