LeetCode solutions — page 2
Every LeetCode problem I have solved, with the accepted code in each language I solved it in. The problem statements stay on LeetCode where they belong — what is here is the solution, the runtime it was accepted at, and a link to the repository it came from.
1,055 solutions
Showing 51–100 of 569 solutions matching Easy, filtered from 1,055.
- 1227. Number of Equivalent Domino Pairs Easy Languages: Python Accepted runtime 15ms
- 1231. Replace Elements with Greatest Element on Right Side Easy Languages: Python Accepted runtime 55ms
- 1236. N-th Tribonacci Number Easy Languages: C++ Accepted runtime 0ms
- 1241. Decompress Run-Length Encoded List Easy Languages: Python Accepted runtime 0ms
- 1245. User Activity for the Past 30 Days I Easy Languages: SQL Accepted runtime 561ms
- 1256. Rank Transform of an Array Easy Languages: Python Accepted runtime 31ms
- 1258. Article Views I Easy Languages: SQL Accepted runtime 357ms
- 1260. Day of the Year Easy Languages: Python Accepted runtime 11ms
- 1264. Maximum Number of Words You Can Type Easy Languages: Python Accepted runtime 3ms
- 1274. Number of Days Between Two Dates Easy Languages: Python Accepted runtime 2ms
- 1279. Prime Arrangements Easy Languages: Python Accepted runtime 0ms
- 1283. Reformat Date Easy Languages: Python Accepted runtime 0ms
- 1287. Distance Between Bus Stops Easy Languages: Python Accepted runtime 39ms
- 1289. Day of the Week Easy Languages: Python Accepted runtime 0ms
- 1293. Three Consecutive Odds Easy Languages: Python Accepted runtime 0ms
- 1297. Maximum Number of Balloons Easy Languages: Python Accepted runtime 0ms
- 1301. Reformat Department Table Easy Languages: SQL Accepted runtime 486ms
- 1302. Delete Characters to Make Fancy String Easy Languages: Python Accepted runtime 304ms
- 1306. Minimum Absolute Difference Easy Languages: Python Accepted runtime 63ms
- 1319. Unique Number of Occurrences Easy Languages: Python Accepted runtime 3ms
- 1448. Maximum 69 Number Easy Languages: Python Accepted runtime 0ms
- 1454. Remove Palindromic Subsequences Easy Languages: Python Accepted runtime 0ms
- 1458. Sort Integers by The Number of 1 Bits Easy Languages: Python Accepted runtime 1ms
- 1462. List the Products Ordered in a Period Easy Languages: SQL Accepted runtime 638ms
- 1463. The K Weakest Rows in a Matrix Easy Languages: Python Accepted runtime 0ms
- 1468. Check If N and Its Double Exist Easy Languages: Python Accepted runtime 0ms
- 1472. Increasing Decreasing String Easy Languages: Python Accepted runtime 26ms
- 1476. Count Negative Numbers in a Sorted Matrix Easy Languages: C++ Accepted runtime 0ms
- 1482. How Many Numbers Are Smaller Than the Current Number Easy Languages: Python Accepted runtime 3ms
- 1486. Find the Distance Value Between Two Arrays Easy Languages: Python Accepted runtime 27ms
- 1490. Generate a String With Characters That Have Odd Counts Easy Languages: Python Accepted runtime 0ms
- 1496. Lucky Numbers in a Matrix Easy Languages: Python Accepted runtime 0ms
- 1500. Count Largest Group Easy Languages: Python Accepted runtime 70ms
- 1505. Create Target Array in the Given Order Easy Languages: Python Accepted runtime 3ms
- 1509. Replace Employee ID With The Unique Identifier Easy Languages: SQL Accepted runtime 999ms
- 1510. Find Lucky Integer in an Array Easy Languages: Python Accepted runtime 4ms
- 1514. Minimum Value to Get Positive Step by Step Sum Easy Languages: Python Accepted runtime 0ms
- 1519. Minimum Subsequence in Non-Increasing Order Easy Languages: Python Accepted runtime 3ms
- 1524. String Matching in an Array Easy Languages: Python Accepted runtime 3ms
- 1528. Kids With the Greatest Number of Candies Easy Languages: Python Accepted runtime 0ms
- 1532. Reformat The String Easy Languages: Python Accepted runtime 8ms
- 1537. Maximum Score After Splitting a String Easy Languages: Python Accepted runtime 4ms
- 1541. Top Travellers Easy Languages: SQL Accepted runtime 934ms
- 1542. Consecutive Characters Easy Languages: Python Accepted runtime 7ms
- 1547. Destination City Easy Languages: Python Accepted runtime 0ms
- 1548. Check If All 1's Are at Least Length K Places Away Easy Languages: Python Accepted runtime 11ms
- 1556. Make Two Arrays Equal by Reversing Subarrays Easy Languages: Python Accepted runtime 4ms
- 1560. Number of Students Doing Homework at a Given Time Easy Languages: Python Accepted runtime 0ms
- 1566. Check If a Word Occurs As a Prefix of Any Word in a Sentence Easy Languages: Python Accepted runtime 0ms
- 1570. Final Prices With a Special Discount in a Shop Easy Languages: Python Accepted runtime 0ms
Page 2 of 12
These are practice solutions, not lessons. If you came here to learn how any of it works, the explanations live in the lessons.