+ 6
â â Challengeâ â Find Greatest number from a window in array âčShOw YoUr BeSt ApPrOaChđ
Explanation: suppose we have Integer Array give below. array size = 7 elements = 6 1 9 2 3 0 4 my window size is = 3 Q)what is window concept? A)it means that create a window of 3 number from array and find Largest no from it ex - 1st window - (6 1 9) and largest is 9 2nd window - (1 9 2) and largest is 9 3rd window - (9 2 3) and largest is 9 4th window - (2 3 0) and largest is 3 5th window - (3 0 4) and largest is 4 Any doubts mention in cmnts thnx:) https://code.sololearn.com/ck4bEzYBUKcu/?ref=app
8 Answers
+ 12
Here's my C# implementation! â
You may label your post with "challenge" or "challenges" tag to attract more submissions. đ
https://code.sololearn.com/ctV9cdCcvM4P/?ref=app
+ 10
@Pranit Gandhi You may edit your question and add the keywords under "Relavant Tag" section.
This allows the user to find your post easier by searching the keyword. đ
+ 3
Here's mine. Check it pls. âđ
https://code.sololearn.com/cS9XMmCc0T6g/?ref=app
+ 3
@Marfic
best one
+ 2
@Zephyr
actually m new here to post the challenges can you tell me how to label it?
is labelling means just put it in double quotes ( " " )?
+ 2
Remaining all challenges if you want to try..
https://www.sololearn.com/discuss/795240/?ref=app
https://www.sololearn.com/discuss/795463/?ref=app
+ 2
here is mine code
I did it with hard coding ..
https://code.sololearn.com/czRL2Z4SjJYb/?ref=app
+ 2
@Akash
fully different approach
nice one