Given an array of integers nums, write a method that returns the “pivot” index of this array.We define the pivot index 
                            
                        
                        
                            
                                2018-01-18