JavaRush /Java Blog /Random EN /Bookmark: a selection of articles about data structures -...

Bookmark: a selection of articles about data structures - lectures and interview questions

Published in the Random EN group
For the convenience of CodeGym students, we decided to collect lectures and articles on the most important topics in programming. The second selection is about data structures. In the mini-guide, we briefly outline the essence of the articles, and if you follow the link, you can learn more about the topic of interest. Add a collection to your bookmarks and return to it when you need to. Bookmark: a selection of articles about data structures - lectures and interview questions - 1

Materials about data structures

Articles and lectures

Data Structures - Stack and Queue

In programming, there are a huge variety of data structures. Very often, when solving a specific problem, the most important thing is choosing the most appropriate data structure for this. This lecture deals with data structures such as stack and queue. At the end of the lecture, the author also provides links to useful resources about data structures.

Data Structures: Pyramid (Binary Heap) in Java

The lecture deals with such a data structure as a pyramid (also known as a heap and a binary heap). As a rule, such data structures are used in various schedulers and other structures in which it is necessary to indicate the priority of various tasks. In addition to theory, the article provides an implementation of the pyramid in Java.

Data Structures: Binary Tree in Java

Among the bases for data structures, you should definitely deal with binary search trees. The lecture looks at the structure itself, with its features and benefits, and shows how a binary tree can be implemented in Java.

Answers to the most popular questions about the Map interface

Map is a data structure that contains a set of key-value pairs. In its data structure, it resembles a dictionary, which is why it is often called that. At the same time, Map is an interface, and in the standard jdk contains the main implementations: Hashmap , LinkedHashMap , Hashtable , TreeMap . The article answers the most popular questions about Map .

Arrays in Java

This detailed "encyclopedia" will tell you everything you need to know about arrays from the start: what it is, how to declare, create an array, what is the length of an array, as well as how to initialize an array and display it on the screen.

HashMap in Java - what kind of map is this?

In this lecture, you will learn about the difference between Map and other data structures and take a live example of how to create a HashMap in Java and work with the class.

TreeMap Features

A lecture for those who are already familiar with the Map interface and its uses. It talks about the features of the implementation of TreeMap , and more specifically, how it differs from HashMap and how to use it correctly.

ArrayList in Java

When developing, it is often difficult to predict what size arrays will be needed. Therefore, the function of dynamic memory allocation during program operation is necessary for every PL. In Java, there is an ArrayList class for this purpose : we will talk about it.

LinkedList

In a LinkedList, the elements are actually links in the same chain. Each element, in addition to the data it stores, has a link to the previous and next element.

Videos

Prefix Trees in Java

A prefix tree is a data structure that allows you to store an associative array whose keys are strings. In Sergey Arkhipov's video, you will learn how prefix trees are used in Java development, how to save a tree to a file, how to load it back, and a lot of other useful information.

The most common interview question is collections, hashCode and equals

Learning the data structure in Java is unthinkable without the HashMap , TreeMap , and LinkedHashMap classes . In this video, Java and Kotlin developer Ilya Niksan provides a detailed analysis of the differences between these classes, their properties, and use cases.

Data Structures in Interview Questions and Answers

Interview Questions: Java Data Structures. Part 1

One of the fundamental topics of any interview is data structures in Java. This article has compiled a list of questions that you might be asked about this topic in an interview, including arrays, collection hierarchies.

Interview Questions: Java Data Structures. Part 2

In continuation of the previous text about questions that may be asked on the topic of data structures, the author analyzes the topics of Map , List , HashMap and others.

Bonus

Book Review: Java Data Structures and Algorithms by Robert Laforet

The book is devoted to the study and use of data structures and algorithms in programming. It explains how data structures define the way data is organized in memory, and how algorithms perform various operations on these structures. Bookmarking: a selection of articles about data structures - lectures and interview questions - 2
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION