From 5834a4427e60d0928ac970b5391899388ada20eb Mon Sep 17 00:00:00 2001 From: EFanZh Date: Wed, 6 Nov 2024 22:43:52 +0800 Subject: [PATCH] Rename solution --- src/problem_2302_count_subarrays_with_score_less_than_k/mod.rs | 2 +- .../{iterative.rs => sliding_window.rs} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/problem_2302_count_subarrays_with_score_less_than_k/{iterative.rs => sliding_window.rs} (100%) diff --git a/src/problem_2302_count_subarrays_with_score_less_than_k/mod.rs b/src/problem_2302_count_subarrays_with_score_less_than_k/mod.rs index 45174d3d..c6b78bfc 100644 --- a/src/problem_2302_count_subarrays_with_score_less_than_k/mod.rs +++ b/src/problem_2302_count_subarrays_with_score_less_than_k/mod.rs @@ -1,4 +1,4 @@ -pub mod iterative; +pub mod sliding_window; pub trait Solution { fn count_subarrays(nums: Vec, k: i64) -> i64; diff --git a/src/problem_2302_count_subarrays_with_score_less_than_k/iterative.rs b/src/problem_2302_count_subarrays_with_score_less_than_k/sliding_window.rs similarity index 100% rename from src/problem_2302_count_subarrays_with_score_less_than_k/iterative.rs rename to src/problem_2302_count_subarrays_with_score_less_than_k/sliding_window.rs