FindFirstandLastPositionofElementinSortedGivenanarrayofintegersnumssortedinascendingorder,findthestartingandendingpositionofagiventargetvalue. [#34]Youralgorithm'sruntimecomplexitymustbeintheorderofO(logn).Ifthetargetisnotfoundinthearray,return[-1,-1].Example1:Input:nums=[5,7,7,8,8,10],target=8Outpu