Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/randhir200/two-sorted-arrays
You are given two arraysAandB, each of size N. The first array A, is sorted in ascending order, while the second array is sorted in descending order. You have to find the number of elements common in both the arrays. Try to solve this without using any extra space, Constraints 1 <=T<= 10 1 <=N<= 1000000 1 <=A[i]<= 1000
https://github.com/randhir200/two-sorted-arrays
Last synced: 20 days ago
JSON representation
You are given two arraysAandB, each of size N. The first array A, is sorted in ascending order, while the second array is sorted in descending order. You have to find the number of elements common in both the arrays. Try to solve this without using any extra space, Constraints 1 <=T<= 10 1 <=N<= 1000000 1 <=A[i]<= 1000
- Host: GitHub
- URL: https://github.com/randhir200/two-sorted-arrays
- Owner: Randhir200
- Created: 2022-04-20T16:34:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-20T16:34:30.000Z (over 2 years ago)
- Last Synced: 2024-11-06T03:46:56.194Z (2 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files: