• retagged by
1,717 views
0 0 votes

Please log in or register to answer this question.

Position:
Show:

Related questions

1 1 vote
2 2 answers
377
377 views
Shubham Sharma 2 asked Jun 12, 2025
377 views
Given an array $A=\left(a_{0}, a_{1}, \ldots, a_{n-1}\right)$ of integers, your task is to determine the maximum possible sum\[\operatorname{maxsum}(A)=\max _{0 \leq s \l...
0 0 votes
0 0 answers
279
279 views
admin asked Nov 13, 2024
279 views
The input to the problem consists of (i) an array $A[1,2, \ldots, n]$ of $n$ positive integers and (ii) a positive integer $T$. We are given the guarantee that at least o...
0 0 votes
3 3 answers
613
613 views
admin asked Sep 16, 2024
613 views
Let $A=\left\{a_{1}, a_{2}, \ldots, a_{n}\right\}$ and $B=\left\{b_{1}, b_{2}, \ldots b_{m}\right\}$ be two sorted arrays of $n$ and $m$ numbers, respectively. Devise an ...
2 2 votes
2 2 answers
658
658 views
admin asked Aug 8, 2022
658 views
Let $A$ be a sorted array containing $n$ distinct integers, such that, for all $1 \leq i<j \leq n$, we have $A[i]<A[j]$. Note that the integers stored in the array $A$ ar...