Top 50 Data Structure and Algorithms Interview Questions for Programmers | by javinpaul | Javarevisited | Medium - Deepstash
Machine Learning With Google

Learn more about computerscience with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Machine Learning With Google

Discover 95 similar ideas in

It takes just

14 mins to read

Array Coding Interview Questions

Here are some of the popular array-based coding interview questions for your practice: 

  • How do you find the missing number in a given integer array of 1 to 100?  
  • How do you find the duplicate number on a given integer array?  
  • How do you find the largest and smallest number in an unsorted integer array?  
  • How do you find all pairs of an integer array whose sum is equal to a given number?  
  • How do you find duplicate numbers in an array if it contains multiple duplicates?  
  • How are duplicates removed from a given array in Java?  

3

16 reads

Linked List Programming Interview Questions

Here are some of the most common and popular linked list interview questions and their solutions: 

  • How do you find the middle element of a singly linked list in one pass?  
  • How do you check if a given linked list contains a cycle? How do you find the starting node of the cycle?  
  • How do you reverse a linked list? ( solution )  
  • How do you reverse a singly linked list without recursion?  
  • How are duplicate nodes removed in an unsorted linked list?  
  • How do you find the length of a singly linked list?  

2

2 reads

String Coding Interview Questions

Here is my list of frequently asked string coding questions from programming job interviews: 

  • How do you print duplicate characters from a string?  
  • How do you check if two strings are anagrams of each other?  
  • How do you print the first non-repeated character from a string?  
  • How can a given string be reversed using recursion?  
  • How do you check if a string contains only digits?  
  • How are duplicate characters found in a string?  
  • How do you count the number of vowels and consonants in a given string?  

2

0 reads

Binary Tree Coding Interview Questions

Here is a list of popular binary tree-based coding questions from software engineer or developer job interviews: 

  • How is a binary search tree implemented?  
  • How do you perform preorder traversal in a given binary tree?  
  • How do you traverse a given binary tree in preorder without recursion?  
  • How do you perform an inorder traversal in a given binary tree?  
  • How do you print all nodes of a given binary tree using inorder traversal without recursion?  
  • How do you implement a postorder traversal algorithm?  

2

0 reads

Miscellaneous Coding Interview Questions

  • How is a bubble sort algorithm implemented?  
  • How is an iterative quicksort algorithm implemented?  
  • How do you implement an insertion sort algorithm?  
  • How is a merge sort algorithm implemented?  
  • How do you implement a bucket sort algorithm?  
  • How do you implement a counting sort algorithm?  
  • How is a radix sort algorithm implemented?  
  • How do you swap two numbers without using the third variable?  

2

2 reads

CURATED BY

brancast

Radiation protection practitioner

stash-superman-illustration

Explore the World’s

Best Ideas

200,000+ ideas on pretty much any topic. Created by the smartest people around & well-organized so you can explore at will.

An Idea for Everything

Explore the biggest library of insights. And we've infused it with powerful filtering tools so you can easily find what you need.

Knowledge Library

Powerful Saving & Organizational Tools

Save ideas for later reading, for personalized stashes, or for remembering it later.

# Personal Growth

Take Your Ideas

Anywhere

Organize your ideas & listen on the go. And with Pro, there are no limits.

Listen on the go

Just press play and we take care of the words.

Never worry about spotty connections

No Internet access? No problem. Within the mobile app, all your ideas are available, even when offline.

Get Organized with Stashes

Ideas for your next work project? Quotes that inspire you? Put them in the right place so you never lose them.

Join

2 Million Stashers

4.8

5,740 Reviews

App Store

4.7

72,690 Reviews

Google Play

Sean Green

Great interesting short snippets of informative articles. Highly recommended to anyone who loves information and lacks patience.

Ashley Anthony

This app is LOADED with RELEVANT, HELPFUL, AND EDUCATIONAL material. It is creatively intellectual, yet minimal enough to not overstimulate and create a learning block. I am exceptionally impressed with this app!

Shankul Varada

Best app ever! You heard it right. This app has helped me get back on my quest to get things done while equipping myself with knowledge everyday.

samz905

Don’t look further if you love learning new things. A refreshing concept that provides quick ideas for busy thought leaders.

Ghazala Begum

Even five minutes a day will improve your thinking. I've come across new ideas and learnt to improve existing ways to become more motivated, confident and happier.

Giovanna Scalzone

Brilliant. It feels fresh and encouraging. So many interesting pieces of information that are just enough to absorb and apply. So happy I found this.

Jamyson Haug

Great for quick bits of information and interesting ideas around whatever topics you are interested in. Visually, it looks great as well.

Laetitia Berton

I have only been using it for a few days now, but I have found answers to questions I had never consciously formulated, or to problems I face everyday at work or at home. I wish I had found this earlier, highly recommended!

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving & library

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Personalized recommendations

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates