Leetcode
Leetcode 2: Add Two numbers
Introduction LeetCode Problem 2, “Add Two Numbers,” is a popular problem that involves linked lists. The problem can be summarized as follows: Problem Statement: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers…
LeetCode 1: Understanding and Solving Two Sum
Explore a comprehensive guide on LeetCode Problem #1: Two Sum. Understand the problem statement, approach solutions, and FAQs to enhance your coding skills and prepare for technical interviews.
Leetcode 14: Longest Common Prefix on given list of strings
As part of the programming series, we will review the longest common prefix question which is categorized as an easy problem in Leetcode. In this exercise, we will use Python 3 to write the code. Problem Write a function to find the longest common prefix string amongst an array of strings. If there is no…