[Daily Graphics Growth] 2026-05-24 - Prefix Sum / Parallel Scan for GPU Graphics Pipelines 1. 오늘의 개념 Prefix Sum, 또는 Parallel Scan, 은 배열의 각 원소 앞에 있는 값들의 누적합을 병렬로 계산하는 GPU 기본 연산이다.
We can use 2 pointers on start and at end. We iterate till i< j, & first we calculate sum = num[i]+num[j]. if sum == target return [i+1,j+1] (as 1-based indexing). As the array is sorted moving in ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results