Ask Mentors Anything
Get your questions/doubts directly answered by our mentors. Let's get started.
Mentee Question
How to practice DSA?
Mentors Answer
Answered By Mentor Madhav Bhatia
Hi Harsh,
You can follow these steps, which cover starting DSA from the basics to mastering them for interviews:
1. Select a Suitable Programming Language:
- Choose a language like C++, Java, or Python based on your comfort and preference.
2. Learn the Basics of the Chosen Language:
- Familiarize yourself with the syntax, data types, control structures, functions, and standard libraries of the language.
- Practice writing simple programs to understand how to implement basic logic and operations.
3. Understanding Data Structures and Algorithms:
- Begin with foundational data structures like arrays, linked lists, stacks, and queues, understanding their properties, operations, and use cases.
- Study essential algorithms such as sorting, searching, recursion, and dynamic programming, and analyze their time and space complexity.
- Move on to more advanced data structures like trees, graphs, heaps, and hash tables, comprehending their applications and algorithms associated with them.
4. Practice on Coding Platforms:
- Utilize online coding platforms like LeetCode, InterviewBit, HackerRank, GeeksforGeeks, etc. to access a wide range of problems categorized by difficulty levels.
- Start with easy-level questions to build a solid foundation and gradually progress to medium and hard levels as you gain confidence.
- Analyze and understand different approaches to solving problems, focusing on optimal solutions.
5. Participate in Contests and Competitive Programming:
- Engage in regular coding contests on platforms such as Codeforces, CodeChef, AtCoder, LeetCode, etc.
- Competitive programming sharpens your skills by exposing you to diverse problem types and challenging you to solve them within a time constraint, which are essential for an online assessment as well as an interview.
- Aim to improve your rankings and ratings, encouraging continuous learning and honing your problem-solving abilities.
6. Simulate Mock Interviews and Seek Mentorship:
- Seek guidance and mentorship from experienced professionals who can provide valuable insights, review your progress, and suggest areas of improvement.
- Give mock interviews to refine your problem-solving approach, communication skills, and overall interview performance.
If you want to get into top companies, join me on a transformative journey to conquer interviews and land your dream job at the industry's giants. Feel free to contact me for a Long Term Mentorship Program at https://www.preplaced.in/profile/madhav-bhatia. Don't hesitate; schedule a free session today to kickstart your journey!
Thanks,
Madhav Bhatia
Madhav Bhatia
Software Engineer
Airtel
Answered By Mentor Priyansha Sharma
- Start solving coding question on your favorites platform like interviewbit, leetcode, gfg.
- If you are beginner then start solving easy question 1st once you gain confidence there, go to medium and then hard question.
- Try to solve easy question in 20 min, medium 30 min, hard in 40-50 min. its better to see the solution if u are not able to solve the question within this time frame.
- After solving question, Try to check out solution posted by other students because sometime we can learn good trick by seeing different solutions.
- Practice 1-10 question/day and try to maintain consistency.
- Try to give free mock interview on interviewbit or you can reach out to me and schedule an mock interview to check if you are ready for real interview.
Hope I answered your question. You can reach out to me in case of any more doubt.
Priyansha Sharma
Software Engineer
Microsoft
Answered By Mentor Shivali Maheshwari
Hi Harsh,
To effectively practice Data Structures and Algorithms, start with a solid foundation by learning key concepts like arrays, linked lists, trees, and sorting algorithms. Utilize reputable resources like textbooks, online courses, or tutorials to grasp theoretical knowledge. Implement what you've learned by coding DSA problems in your preferred language, beginning with simple exercises and progressing to more complex challenges. Regular practice is essential; allocate dedicated time each day or week. Engage in coding competitions on platforms like LeetCode or HackerRank to enhance problem-solving skills. Analyze time and space complexity, optimize solutions, and collaborate with study groups for diverse perspectives. Simulate technical interviews through mock interviews to prepare for real-world scenarios. Consistency and patience are key to mastering DSA.
If you want to get into top companies, feel free to contact me for a Long Term Mentorship Program at https://www.preplaced.in/profile/shivali-maheshwari. Don't hesitate, schedule a free session today to kickstart your journey!
Thanks,
Shivali
Shivali Maheshwari
SDE-3
Amazon
Top Performing Mentors This Week 🔥
Loading...