Posts by Yan • 31 points
1 post
-
3
votes2
answers515
viewsQ: Java 8 stream - performance improvement
I am implemented a method that receives an integer value k (representing the amount of "vacancies") and two lists (p and q) of Integer and perform some operations. Using stream, check which elements…