Login
From:
E. Choroba
(Uncensored)
subscribe
Perl Weekly Challenge 056: Diff-K and Path Sum
https://blogs.perl.org/users/e_choroba/2020/04/perl-weekly-challenge-056-diff-k-and-path-sum.html
links
backlinks
Tagged with:
recursion
tree
challenge
perlweeklychallenge
perl-weekly-challenge
Diff-K You are given an array @N of positive integers (sorted) and another non negative integer $k. Write a script to find if there exists 2 indices $i and $j such that $A[$i] - $A[$j] == $k and $i...
Roast topics
Find topics
Find it!