#leetcode75
Read more stories on Hashnode
Articles with this tag
Question: Given the head of a linked list, return the node where the cycle begins. If there is no cycle, return null. There is a cycle in a linked...
Question: Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the second middle...
Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: Question: Example 1: Input: head =...
Question: You are given the heads of two sorted linked lists list1 and list2. Merge the two lists in a one sorted list. The list should be made by...
Question: Given two strings s and t, return true if s is a subsequence of t, or false otherwise. A subsequence of a string is a new string that is...
Question: Given two strings s and t, determine if they are isomorphic. Two strings s and t are isomorphic if the characters in s can be replaced to...