edualgo / interview-corner

Many time, when an interview approaches, candidates start searching for different algorithms in different programming languages for practise. This project aims to build a website which will contain the codes along with the techniques and explanations so that it can be helpful for many
https://opensource.edualgoacademy.com/interview-corner/
MIT License
42 stars 41 forks source link

One Dimensional Array -> Maximum Absolute Difference : Add C++ code and fix some bugs #25

Closed rashigupta01 closed 3 years ago

rashigupta01 commented 3 years ago

Hello @Abhijit2505 ! I am Rashi, a Participant of SWOC'21. I have found a few issues on the page - Maximum Absolute Difference in the section One Dimensional Array and would like to work on them. Link to the page - https://abhijit2505.github.io/Algorithmic-Treasure-Site/Pages/Array/maxAbsoluteDiff.html

Following are the issues:

1) Only Python code is available for this problem. I would like to add C++ code as well and add its tag at the top. image

2) The title has been mistyped as Adding One to Number instead of Maximum Absolute Difference image

3) The four cases are not at all clear. image

4) There is error in Python code. image

Please assign this issue to me, would like to work on them.

Rishikeshrajrxl commented 3 years ago

I can do this in C++ , Java

Abhijit2505 commented 3 years ago

@rashigupta01 please get started.