Shortest coprime segment using sliding window technique (#6296)
* Shortest coprime segment using sliding window technique * mvn checkstyle passes * gcd function reformatted * fixed typo in ShortestCoprimeSegment * 1. shortestCoprimeSegment now returns not the length, but the shortest segment itself. 2. Testcases have been adapted, a few new ones added. * clang formatted ShortestCoprimeSegmentTest.java code
0
02RdDT committed
616d15a40828d4b2399e637e6f2fe9e112677b9e
Parent: a21abe6
Committed by GitHub <noreply@github.com>
on 6/18/2025, 7:29:35 PM