diff --git a/Data Structures/SlidingWindow.java b/Data Structures/SlidingWindow.java new file mode 100644 index 0000000..5811136 --- /dev/null +++ b/Data Structures/SlidingWindow.java @@ -0,0 +1,28 @@ +package com.company.basic; + +public class slidingwindow { + public static void main(String[] args) { + int arr[]= {5,10,1,88,6,10}; + int k=2 ; + int sum=0; + int maxm=0; + for(int i=0;i