## Baeldung on Computer Science

• All
• Data Structures (8)
• Algorithms (8)
• Trees (5)
• Searching (2)
• Math and Logic (2)
• Graphs (2)
• Graph Traversal (2)
• Programming (1)
• Path Finding (1)
• Latex (1)
• Graph Theory (1)
• Artificial Intelligence (1)

### Minimum Stack With O(1) Time

Learn about stack structures for fast lookup.

### Hash Table Vs. Trie (Prefix Tree)

Learn how to solve problems with hash tables and tries.

### Vertical and Horizontal Tables in LaTeX

Learn how to create different types of LaTeX tables.

Learn how to represent graphs with Adjacency and Incidence

### Finding Arrangements of Blocks With L Left Visible Blocks and R Right Visible Blocks

Learn about a classic problem to find the possible arrangments of blocks to make L visible from the left and R from the right.

### Finding the Largest Balanced Subarray

Learn how to find the largest balanced subarray.

### Finding Three Elements in an Array Whose Sum Is Closest to a Given Number

Learn how to find three elements in an array such that the sum is closest to a given number.

### Calculate the Number of Binary Search Trees with N Distinct Elements

Learn how to calculate the number of possible binary trees from the number of nodes.

### Number of Nodes in a Binary Tree With Level N

Learn how to calculate the minimum and maximum number of nodes in binary trees

### Print All Paths With a Given Sum in a Binary Tree

Learn how to construct a binary tree path sum sequence in linear time

Learn how to represent a polynomial with the linked list data structure.

### Serialize and Deserialize a Binary Tree

Learn algorithms to serialize and deserialize a binary tree

### Comparison Between Uniform-Cost Search and Dijkstra’s Algorithm

Learn how to use both Dijkstra’s algorithm and the uniform-cost search algorithm to find the shortest paths between vertices in a graph

### String Similarity Metrics – Edit Distance

Learn about the ways to quantify the similarity of strings

### Algorithms to Check If a Linked List is a Circular Linked List

Learn two linear-time algorithms that can check if a linked list is a circular linked list

### How to Reverse a Linked List

Have a look at the algorithm for reversing a linked list.

### How to Check If a Binary Tree Is Symmetric?

Learn how to check whether a binary tree structure is symmetric, using either a recursive solution or an iterative approach.