human
Maximum number by concatenating every element in a rotation of an array | Function to print the largest number.
store the index of largest left most digit of elements.
Iterate for all numbers.
check for the last digit.
check for the largest left most digit.
print the rotation of array.
print the rotation of array.
Driver Code"
Solution in Python:

What is a code to maximum number by concatenating every element in a rotation of an array and the other steps required?
assistant
#Here is code to maximum number by concatenating every element in a rotation of an array and the other steps required.
 def printLargest ( a , n ) :
	max = - 1
	ind = - 1
	for i in range ( 0 , n ) :
		num = a [ i ]
		while ( num ) :
			r = num % 10 ;
			num = num / 10 ;
			if ( num == 0 ) :
				if ( max < r ) :
					max = r
					ind = i ;
	for i in range ( ind , n ) :
		print ( a [ i ] , end = ' ' ) ,
	for i in range ( 0 , ind ) :
		print ( a [ i ] , end = ' ' )
if __name__ == " _ _ main _ _ " :
	a = [ 54 , 546 , 548 , 60 ]
	n = len ( a )
	printLargest ( a , n )