Frage im Vorstellungsgespräch bei Step2gen Technologies

You have given an array without using sort function you need you print second maximum prime number.

Antwort im Vorstellungsgespräch

Anonym

25. Dez. 2024

Apply apply bubble sort for sort it. After that check it is a prime then add to a list and return sorted second maximum list element.