Easy Code Solution
  • Home

Proven Solution for Every Problem

integer to roman
Leet Code Solutions

11. Integer to Roman

Problem Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For example, 2 is written as II in Roman numeral, just two one’s added together. 12 is written as XII, which is simply X + II. The number 27 is written as XXVII, which is XX + V + II. Roman numerals are Read more…

By Abdulhakim Zeinu, 2 months2 months ago
container with most water
Leet Code Solutions

11. Container With Most Water

Problem You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]). Find two lines that together with the x-axis form a container, such that the container contains the most Read more…

By Abdulhakim Zeinu, 2 months2 months ago
Leet Code Solutions

10. Regular Expression Matching

Problem Given an input string s and a pattern p, implement regular expression matching with support for ‘.’ and ‘*’ where: ‘.’ Matches any single character.​​​​ ‘*’ Matches zero or more of the preceding element. The matching should cover the entire input string (not partial). Problem description Given an input string Read more…

By Abdulhakim Zeinu, 2 months2 months ago
Leet Code Solutions

9. Palindrome Number

Problem Description Given an integer x, return true if x is a palindrome, and false otherwise. Given an integer x, the task is to determine if it is a palindrome. A palindrome is a number that remains the same when its digits are reversed. For example, 121 is Read more…

By Abdulhakim Zeinu, 2 months2 months ago
Leet Code Solutions

8. String to Integer (atoi)

Problem description Implement the myAtoi(string s) function, which converts a string to a 32-bit signed integer (similar to C/C++’s atoi function). The algorithm for myAtoi(string s) is as follows: Read in and ignore any leading whitespace. Check if the next character (if not already at the Read more…

By Abdulhakim Zeinu, 2 months2 months ago
Leet Code Solutions

7. Reverse Integer

Problem description Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-231, 231 – 1], then return 0. Assume the environment does not allow you to store 64-bit integers (signed Read more…

By Abdulhakim Zeinu, 2 months2 months ago
Zigzag Conversion
Leet Code Solutions

6. Zigzag Conversion

Problem Description The Zigzag Conversion problem involves converting a given string into a zigzag pattern with a specified number of rows. The pattern is read line by line, and the result should be the concatenation of each line. For example, Read more…

By Abdulhakim Zeinu, 2 months2 months ago
Longest Palindromic Substring
Leet Code Solutions

5. Longest Palindromic Substring

The Longest Palindromic Substring problem can be solved using dynamic programming. The idea is to use a 2D array to store whether a substring is a palindrome or not. We then traverse the string using two nested loops and update Read more…

By Abdulhakim Zeinu, 2 months2 months ago
Laravel

Laravel Sanctum API Authentication

Laravel Sanctum provides a featherweight authentication system for SPAs (single page applications), mobile applications, and simple, token based APIs. Sanctum allows each user of your application to generate multiple API tokens for their account. These tokens may be granted abilities / Read more…

By Abdulhakim Zeinu, 10 months10 months ago
Frameworks

How to Remove Storybook from a Project

Short answer: There is no that simple “remove” command to remove storybook from project. Why they don’t have command? It is because Storybook doesn’t know where your stories are until runtime. So, it’s hard to know exactly what to delete. Read more…

By Abdulhakim Zeinu, 1 year1 year ago

Posts navigation

1 2 … 4 Next
Recent Posts
  • 11. Integer to Roman February 9, 2023
  • 11. Container With Most Water February 8, 2023
  • 10. Regular Expression Matching February 4, 2023
  • 9. Palindrome Number February 4, 2023
  • 8. String to Integer (atoi) February 4, 2023
Archives
  • February 2023
  • June 2022
  • February 2022
  • December 2021
  • June 2021
  • September 2020
  • August 2020
Categories
  • Leet Code Solutions
  • Programming
    • Frameworks
      • Laravel
      • React
    • PHP
  • Telegram
  • Web
Tags
add loop inside jQuery append add two numbers api authentication atoi container with most water eloquent eloquent orm integer to roman laravel laravel api authentication laravel crud laravel eloquent laravel middleware laravel mvc leetcode leetode solution Longest Substring Without Repeating Characters loop inside append middleware mvc palindrome number php Debug php framework quantity picker react-qty-picker react-quantity-picker react 18 regular expression matching reverse number sanctum sanctum api authentication string to integer telegram bot tools two sums two sum solution Web development webhook Xdebug zigzag conversion
Pages
  • About
  • About Me
Recent Posts
  • 11. Integer to Roman
  • 11. Container With Most Water
  • 10. Regular Expression Matching
  • 9. Palindrome Number
  • 8. String to Integer (atoi)

  • About
  • About Me
Hestia | Developed by ThemeIsle