Shoddy code and write up - please explain what is a Ciricular Subarray

Please fix this code. It has too many comments and isn’t indented well.
Also the reference to geeksforgeeks shows much simpler code using Kadane’s algo

@sanjeetboora hey di please help him out.