Can someone pls explain this question?


#1

smallest lexicographic order should be one where smaller characters come first…
input -“zizizljrsh”
expected op-“izljrsh”
my op-“ijlrshz”


#2

I also think so.
@admin2222 can u please give a detailed explanation of sample test case.


#3

keep in mind the order in which the letters were initially in the string


#4

You can refer this link if you want a proper explaination to the question as well as test cases.