Check Array Formation Through Concatenation | Leetcode 1640 | Array

preview_player
Показать описание


Popular Playlists:



#Array #Formation #Concatenation #January #Leetcode #Medium #Algorithm #DataStructure #Java #Preparation #NG #nickode #CookCodeTravel #CCT
Рекомендации по теме
Комментарии
Автор

Good job. Thanks for all you do for the community.

kelechichinaka
Автор

Happy new year, Hopefully can watch more of your videos. Consider system design as well.
For this question we should use the arr.length <= 100 properties, which means use a Array[100] to store the index of each number.
Like:
int[] dict = new int[101];
for(int i=0; i<arr.length; i++)
{
dict[arr[i]] = i+1;
}

tieqi
Автор

Sir, can you please make a video on the problem "Maximum number of eaten apples". This was one of the problems in this Leetcode weekly contest.
Please make a video and explain this problem and solution.
Thank You.

ramchandra
welcome to shbcf.ru