1 min readJul 31, 2020
This intent of the article appears to be replacing logical statements.
There is a simpler version of this , Just have a model, read as list and stream to find
PS: I agree Big O notation is not good, But we can convert List<MonthDetail> to Dictionary<String,Dictionary<int,String>> thats not going to complicate things as well