#leetcode

Read more stories on Hashnode

Articles with this tag

Problem Statement Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in...

Problem Statement: Given a string s, find the length of the longest substring without repeating characters. Examples: Input: s = "abcabcbb" Output:...

Problem Statement Given a binary tree and a target sum, find all root-to-leaf paths where the sum of the node values in the path equals the target...

Problem Statement: You are given the heads of two sorted linked lists list1 and list2. Merge the two lists in a way that the resulting list is also...