ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
My brother in christ. Just do Collections.reverse(list); .If you don't want to use inbuilt method.Then use two pointers, starting from 0 and n and moving inwards while swapping values.
Thanks for the tips! I'll try to incorporate both approaches in future videos.
My brother in christ. Just do Collections.reverse(list); .
If you don't want to use inbuilt method.
Then use two pointers, starting from 0 and n and moving inwards while swapping values.
Thanks for the tips! I'll try to incorporate both approaches in future videos.