1 Mar, 7 tweets, 3 min read
List of most asked Programming Interview Questions.

Are you preparing for a coding interview? This tweet is for you. It contains a list of the most asked interview questions from each topic.

Arrays

- How is an array sorted using quicksort?
- How do you reverse an array?
- How do you remove duplicates from an array?
- How do you find the 2nd largest number in an unsorted integer array?

#100DaysOfCode

- How do you find the length of a linked list?
- How do you reverse a linked list?
- How do you find the third node from the end?
- How are duplicate nodes removed in an unsorted linked list?
Strings

- How do you check if a string contains only digits?
- How can a given string be reversed?
- How do you find the first non-repeated character?
- How do you find duplicate characters in strings?

#100DaysOfCode
Binary Trees

- How are all leaves of a binary tree printed?
- How do you check if a tree is a binary search tree?
- How is a binary search tree implemented?
- Find the lowest common ancestor in a binary tree?

#100DaysOfCode
Graph

- How to detect a cycle in a directed graph?
- How to detect a cycle in an undirected graph?
- Find the total number of strongly connected components?
- Find whether a path exists between two nodes of a graph?
- Find the minimum number of swaps required to sort an array.
Dynamic Programming

1. Find the longest common subsequence?
2. Find the longest common substring?
3. Coin change problem?
4. Box stacking problem?
5. Count the number of ways to cover a distance?

#100DaysOfCode

• • •

Missing some Tweet in this thread? You can try to force a refresh

This Thread may be Removed Anytime!

Twitter may remove this content at anytime! Save it as PDF for later use!

# More from @dermayank

23 Nov 20
"3 Months Coding Interview Preparation Guide"

I work at Dell & many developers ask me how should they too prepare for “Big Tech” companies.

So, I created a roadmap of topics frequently asked in software engineering Interviews

#100DaysOfCode
3 Months interview preparation schedule

Week 0: Programming language
Week 1, 2 & 3: Data Structures
Week 4, 5 & 6: Algorithms
Week 7 & 8: System Design
Week 9 : Operating System
Week 10: Object-Oriented Design
Week 11: Behavioral question
Week 12: Revision.

#100DaysOfCode
Programming language -

The best programming language for your coding interviews is the language that you’re most comfortable with. Prefer - Java or CPP or Python or javascript

Brush up all the concepts of the programming language of your choice.

#100DaysOfCode
7 Nov 20
"HISTORY OF PROGRAMMING LANGUAGES"

Every time you like a post, send an email on the computer, a programming language is working behind.

But where did it all begin? Let's take a tour of the history of programming languages.

#100DaysOfCode
1843: Machine Algorithm

Ada Lovelace invents the first-ever machine algorithm for Charles Babbage’s Difference Machine that lays the foundation for all programming languages.

#100DaysOfCode
1945: Plankalkül

In 1945, Konrad Zuse developed the first ‘real’ programming language called Plankalkül.

Zeus’s language allowed for the creations of procedures, which stored chunks of code that could be invoked over and over to perform routine operations.

#100DaysOfCode
21 Oct 20
GYM workout related tips-

2. Prefer free weights instead of Smith machines.

3. Learn to ignore instead of debate.

5. Don't skip leg day. Body always grows in proportion.
6. Stay hydrated.

7. Don't lift empty stomach. Consume black coffee and light calories before session.

8. Don't rely on pre workouts.

9. Don't dedicate an entire day to a small muscle groups. (Ex- triceps / biceps)

10. Don't fall in trap of taking steroids for faster results.
11. Proper diet is important.

12. Don't skip training sessions.

13. After 3-4 weeks try to change your workouts.

14. Don't train same muscle groups using different machines, learn the muscles anatomy.

15. Every body type is different, follow plan that suits you.
9 Oct 20
AWS Services CheatSheet

Cloud ☁️ computing is becoming very popular nowadays and AWS has pioneered the market.

Most companies ask AWS related questions in interviews, so this thread explains the 40 most popular services offered by AWS

#100DaysOfCode
1. VPC - Virtual Private Cloud (VPC) lets you launch AWS resources in a private, isolated cloud.

2. Route 53 - It's a scalable and highly available DNS and domain name registration service.

#100DaysOfCode
3. EC2 - Amazon Elastic Compute Cloud (EC2) provides
resizable compute capacity in the cloud.

4. Elastic Beanstalk - AWS Elastic Beanstalk is an application container for deploying and managing
applications.

#100DaysOfCode
8 Oct 20
Workout guide

A few weeks ago, I posted a picture of my transformation and lots of people admired me for it and asked me redundantly what was my workout plan and diet I follow.

Hence I'm writing this workout guide for Developer friends explaining everything I did.

If you are completely new to workout, then for the first 1-2 weeks try mix exercises i.e. combination of exercise targeting each body part with the very lightweight.

After that, you can follow the below exercise regime.
Day 1: Chest Day

1. Push-ups (3 sets x 10 reps)
2. Inclined Bench Press (3 sets x 10 reps)
3. Flat Barbell Bench Press (3 sets x 10 reps)
4. Decline Bench Press (3 sets x 10 reps)
5. Incline Chest Fly (3 sets x 10 reps)
2 Oct 20
50 Tips To Become A Great Developer

A developer is an individual that builds and creates software and applications. This thread contains 50 pieces of advice that are necessary to be a great developer.

#100DaysOfCode
1. Get good at Googling
2. Find a mentor
4. Name variables and functions properly
5. Delete unused code
6. Establish a healthy work/life balance
7. Schedule and attend only necessary meetings

#100DaysOfCode
8. Become part of a community
9. Keep Learning
10. Don't give up