Algorithm( OriginalWord , Permutation ){
if ( OriginalWord is empty ){
write permutation
}
for i <- 0 to OriginalWord size length
TemporaryWords <- OriginalWords
TemporaryWords.erase( i position , for one character )
TemporaryPermutation = Permutation
TemporaryPermutation += OriginalWord.at( i position )
Algorithm( TemporaryWords , TemporaryPermutation ) // Recursive
end for
can i ask did i write correctly this time?
i follow that what i normally do and translate to english only