Day 1: Logic Building
#datastructure #dsa #problemsolving
Day 1: Logic Building
Lets learn DSA concepts ⏫
🔥 Problem Name: Halloumi Boxes
🔥 Platform: Codeforces
🔥 Level: Easy
🔥 Topics: Array, Loop
🔥 Solution:
In all the cases we can sort the array and our answer will be "YES", Except one case when array is not sorted already
and k 1 then we can always choose subarray of size 2 and swap it. Similar to selection sort.
Follow 🤝 dsaa2z on Youtube for learning DSA in most optimal way.
Our channel is highly beneficial for coders who want to learn DSA using coding languages like python, c++, java, JavaScript, c etc.
Our videos help users to know how to crack dsa interviews in companies as well as coding contest.
We generally provides important concepts in coding.
How to Start coding:
Steps:
➢ Learn Basics of any coding language.
➢ Start Understanding basic concepts like conditions, loops, functions, arrays etc.
➢ Start solving simple questions like odd/even, prime/composite, hcf etc.
➢ Start learning basic algorithms like searching, sorting, pattern.
➢ Go for topics like Greedy, Recursion, Dynamic Programming, Graph Theory.
It is a path full of toughness and difficulties, But one thing i am sure about you will enjoy this.
✍️ DM me for 1:1 mentorship
Like, Share and follow to support 😊😊😊.
#datastructure
#dsa #problemsolving #logicbuilding #90days #90dayschallenge #challenge #coding #placements #interview #job #algorithms #programming #competition #competitiveprogramming
Comments
Comments from the original post on Instagram
No comments yet
