Tip 1 : Mostly Leetcode Medium level are asked
Tip 2 : Prepare well for Low Level design
Tip 1 : Write only what is done
Tip 2 : keep it clean,clear. Have a skills tab where all the required keywords are present.



Input:
str="AABC" k=1
Output:3
Explanation: Replace 'B' with 'A', we will get "AAAC" and the longest substring with same character is "AAA" of length 3.



1. There are no 2 adjacent elements having same value (as mentioned in the constraints).
2. Do not print anything, just return the index of the peak element (0 - indexed).
3. 'True'/'False' will be printed depending on whether your answer is correct or not.
Input: 'arr' = [1, 8, 1, 5, 3]
Output: 3
Explanation: There are two possible answers. Both 8 and 5 are peak elements, so the correct answers are their positions, 1 and 3.
LLD - Design Amazon Locker System.
FR: Insta 1.photo upload 2.users could comment 3.users could signup 4.Follow each other 5.Users should be able to see the others post (Optional)replies to comments
design youtube like services toupload /download various file stores type

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?