We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Two Subarrays
Two Subarrays
Sort by
recency
|
9 Discussions
|
Please Login in order to post a comment
The image in the problem is not loading, and the example provided for the values of g and m in the text is unclear. The explanation should be expanded for better clarity.
Here is my solution in java, javascript, python, C, C++, Csharp HackerRank Two Subarrays Problem Solution
Here is the solution of Two Subarrays Click Here
Here is problem solution - https://programs.programmingoneonone.com/2021/07/hackerrank-two-subarrays-problem.html
my code is showing wrong answer for arrays having repeated values, any help regarding that?