human
Non | Efficient Python program to print all non - repeating elements ..
Insert all array elements in hash table.
Traverse through map only and.
Driver code"
Solution in Python:
assistant
#Here is code to non and the other steps required.
 def firstNonRepeating ( arr , n ) :
	mp = { }
	for i in range ( n ) :
		if arr [ i ] not in mp :
			mp [ arr [ i ] ] = 0
		mp [ arr [ i ] ] += 1
	for x in mp :
		if ( mp [ x ] == 1 ) :
			print ( x , end = " ▁ " )
arr = [ 9 , 4 , 9 , 6 , 7 , 4 ]
n = len ( arr )
firstNonRepeating ( arr , n )