Questa è la tua azienda?
R1: Write a code in Python to print the following pattern in time complexity less than 0(n^2) **** *** ** *
Anonimo
Optimization of code was considered and explained here. n = int(input('Enter a number:')) for i in range(1, n+1): print('*'*(n+1-i))
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.