using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeetCode.QuestionBank.Question0904
{
    public class Solution0904_2 : Interface0904
    {
        /// <summary>
        /// 滑动窗口，未完成
        /// </summary>
        /// <param name="fruits"></param>
        /// <returns></returns>
        public int TotalFruit(int[] fruits)
        {
            if (fruits.Length <= 2) return fruits.Length;

            int result = 0;
            //int id1 = 0, kind1 = fruits[0], id2 = -1, kind2 = -1;
            //int id = 1, lastkind = fruits[0];

            return result;
        }
    }
}
