# #leetcode

Found 18 articles tagged with #leetcode

# Merge Two Sorted Lists

This is a common problem that tests your understanding of linked lists and basic merging algorithms, involves merging two sorted linked lists into a single sorted linked list.

# Rotate Array

The problem is about rotating an array to the right by a given number of steps, modify the given array in-place (without using an extra array) and perform the rotation.

# Three Sum

Given an array of numbers, the task is to find all combinations of three numbers from the array such that their sum equals a given target value.

# Longest Substring Without Repeating Characters

The goal of this problem is to find the length of the longest substring within a given string that does not contain any repeating characters.

# Implement Queue using 2 Stacks

In this approach, you use one stack for enqueue (insertion) operations and the other stack for dequeue (removal) operations, effectively simulating the behavior of a queue.

# Valid Parentheses

You are given a string containing only parentheses, brackets, and curly braces. You need to determine if the string's parentheses are valid and properly balanced.

# Solutions of "Two Sum" problem on LeetCode

You need to find two elements in the nums array such that their sum equals target and return their indices as an array.

# Median of Two Sorted Arrays

The median is defined as the middle element of a sorted array, or the average of the middle two elements if the array has an even number of elements.