Swapna Kumar Panda
Swapna Kumar Panda

@swapnakpanda

16 تغريدة 1 قراءة Sep 15, 2022
Happy Engineers Day!!!
❍ C, C++
❍ Java
❍ C#
❍ Dart
❍ Rust
❍ Golang
❍ PHP
❍ Python
❍ JavaScript
Which is best to practice
➤ Data Structures
➤ Algorithms
💭 Why is this thread?
⬘ Though a very common question, it's never been easy to decide.
⬙ We will talk about an approach that might help you decide.
Let's explore.
➊ What is DSA?
⬘ DSA stands for "Data Structures and Algorithms"
⬙ It's a subject in Computer Science that teaches us about the usage of data structures and algorithms in programming.
➋ Is DSA language specific?
No.
⬘ Any programming language can be used to practice DSA.
⬙ Many people get biased towards a few languages because they understand that data structures and algorithms should have great performance.
➌ How to decide then?
OK. First answer: Which one are you?
➀ I haven't started programming.
➁ I have started, but I am new to programming.
➂ I am already strong in one or more languages.
➃ I want to learn DSA to get a job.
➄ I want to be in competitive programming.
➌.➀ I haven't started programming
First, decide on a career path.
Career choices could be
❍ Web Development
❍ App Development
❍ Game Development
❍ Data Science
❍ Data Analysis
❍ AI/ML
Follow this guide:
➌.➁ I am new to programming
⬘ It means you've already chosen a programming language. You must have thought it through and done it.
⬗ The first step should be learning a few syntaxes for that language.
⬙ Then, start practicing DSA using that language.
➌.➂ I am already strong in one or more languages
That's great.
⬘ Nothing should stop you from learning and practicing DSA now.
⬙ Start practicing DSA using that/those language(s).
➌.➃ I want to learn DSA to get a job
⬘ Do you target some specific companies? Research and find out what programming language they normally prefer.
⬙ If you want to practice it in general, go through ➀ ➁ ➂ and decide on a language for you.
➌.➄ I want to be in competitive programming
Good decision. All the best.
⬘ Competitive programming doesn't enforce the use of any particular programming language. So, you are FREE.
⬙ Go through ➀ ➁ ➂ ➃ and decide on a language for you.
➍ Commonly Asked Questions
➀ I am working in Python. But G is asking to solve algorithms in C++. How should I proceed?
➔ If you are seriously looking for that company, try to learn C++. If it's too hard for you, ask during the interview whether you can use pseudo-code.
➁ Why is C++ or Java mostly preferred?
Because they are object-oriented, it's easy to build data structures.
➤ C++
❍ It's arguably faster
❍ You can develop everything from scratch
➤ Java
❍ It's widely used
❍ Automatic garbage collection
➂ If I learn DSA using C++, will it be easy for me to implement it in Python or JavaScript in the future?
➔ Yes.
⬘ DSA is all about logic. It has nothing to do with any language.
⬙ After learning a new language, with some prior DSA experience, it shouldn't be difficult.
🏁 Final Words
⬘ If you haven't yet been into programming, first choose a language based on your career goal. Use that to practice DSA.
⬗ If you are already into programming, you can use the same language to practice DSA.
⬙ If you are looking for a job, check what language is mostly used. Learn that and practice DSA. Or else, use pseudo-code.
⬖ For competitive programming, choose your preferred language.
⬘ People prefer C++ or Java because they're widely used in the industry.
Hey 👋
I am a Tech Writer, Educator, and Mentor from India 🇮🇳, here sharing
✅ Tutorials
✅ Tricks
✅ Career Tips
✅ Cheat Sheets
✅ Practice Questions
✅ Roadmaps
on
➠ Web Development
➠ Data Structures and Algorithms
➠ Databases
Thanks for reading. 🙏

جاري تحميل الاقتراحات...