A guide to finding the shortest cycle in an undirected graph.

# Baeldung Author

## Said Sryheni

I am a backend JEE developer specialized in technologies like Spring and Hibernate with +3 years of experience. I have been an ICPC competitive programmer using C++ for +5 years.

## Here's what I've written (so far):

### Median of a Matrix With Sorted Rows

Filed under Algorithms

A quick and pratical guide to finding a median of a matrix with sorted rows.

### Difference Between Tree Order and Degree

Filed under Data Structures, Trees

An explanation of the concepts of order and degree for trees.

### Determining the Most Distant Pair of Points

Filed under Math and Logic

A guide to the problem of finding the distance between the farthest pair of points from a given set of points.

### Finding the Minimum Number of Jumps to Reach the End of an Array

Filed under Searching

An overview of the problem of finding the minimum number of jumps to reach the end of a given array starting from the beginning.

### Algorithm to Find All Subarrays With a Given Sum K

Filed under Algorithms

A quick and practical guide to the problem of finding the number of subarrays with a given sum K.

### Finding the Number of Distinct Subsequences of a String

Filed under Searching

Understand the problem of finding distinct subsequences of a string and a few ways to approach it.

### How To Find a List of Possible Words From a Letter Matrix

Filed under Algorithms, Searching

A quick and practical overview of the problem of finding the list of all possible words from a 2D letter matrix.

### What Is the Best Sorting Algorithm To Sort an Array of Small Integers

Filed under Sorting

A quick and practical guide to sorting arrays of small integers.

### How To Determine if a Point Is in a 2D Triangle

Filed under Algorithms

Learn three approaches to detect if a point lies inside a 2D triangle