Need help

Правка en1, от Tkm_algo, 2022-10-25 11:22:34

Hi, I can't solve this problem for 3 days now. Please help me solve this problem: Two arrays of the same length (n) are given. Need to find any segment so that the sum of the elements of the first array on this segment is equal to the sum of the elements of the second array on this segment. Need to solve in O(n).

Теги help, help me, segment problem

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Tkm_algo 2022-10-25 11:22:34 324 Initial revision (published)