Skip to content

devashish24460/Leetcode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Easy Problems

Leetcode Solutions

This repository contains my solutions to Leetcode problems. Here, I will share some basic easy-level problems along with their Python solutions.

Problems Solved

  1. Two Sum

    • Problem: Given an array of integers nums and an integer target, return the indices of the two numbers such that they add up to target.
    • Solution: The solution uses a dictionary to track the numbers and their indices while iterating through the array.
    • Link: Leetcode Two Sum Problem
  2. Palindrome Number

    • Problem: Given an integer x, return true if x is a palindrome, and false otherwise.
    • Solution: The solution converts the integer to a string and checks if the string reads the same backward.
    • Link: Leetcode Palindrome Number Problem

How to Run

  1. Clone this repository to your local machine:

    git clone https://github.com/devashish24460/Leetcode-Solutions.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages