From cafae374a2d17b76b9f0f9809cbf8db30fd550b4 Mon Sep 17 00:00:00 2001 From: fartem Date: Sat, 4 Feb 2023 17:36:44 +0300 Subject: [PATCH] 2023-02-04 update: small refactoring --- lib/easy/palindrome_number.dart | 1 + lib/easy/two_sum.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/easy/palindrome_number.dart b/lib/easy/palindrome_number.dart index 5a66a0c..70b2145 100644 --- a/lib/easy/palindrome_number.dart +++ b/lib/easy/palindrome_number.dart @@ -1,3 +1,4 @@ +// https://leetcode.com/problems/palindrome-number/ class Solution { bool isPalindrome(int x) { if (x < 0) { diff --git a/lib/easy/two_sum.dart b/lib/easy/two_sum.dart index d0f6cb6..6c8f29e 100644 --- a/lib/easy/two_sum.dart +++ b/lib/easy/two_sum.dart @@ -1,3 +1,4 @@ +// https://leetcode.com/problems/two-sum/ class Solution { List twoSum(List nums, int target) { final indices = >{};