LeetCode solutions — page 9
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 401–450 of 569 solutions matching Easy, filtered from 1,055.
- 3062. Create a DataFrame from List Easy Languages: Python Accepted runtime 264ms
- 3063. Method Chaining Easy Languages: Python Accepted runtime 297ms
- 3064. Reshape Data: Concatenate Easy Languages: Python Accepted runtime 335ms
- 3065. Display the First Three Rows Easy Languages: Python Accepted runtime 264ms
- 3066. Create a New Column Easy Languages: Python Accepted runtime 368ms
- 3067. Modify Columns Easy Languages: Python Accepted runtime 336ms
- 3068. Rename Columns Easy Languages: Python Accepted runtime 243ms
- 3069. Change Data Type Easy Languages: Python Accepted runtime 273ms
- 3070. Fill Missing Data Easy Languages: Python Accepted runtime 256ms
- 3071. Drop Duplicate Rows Easy Languages: Python Accepted runtime 275ms
- 3072. Reshape Data: Pivot Easy Languages: Python Accepted runtime 301ms
- 3073. Reshape Data: Melt Easy Languages: Python Accepted runtime 304ms
- 3074. Select Data Easy Languages: Python Accepted runtime 343ms
- 3075. Drop Missing Data Easy Languages: Python Accepted runtime 263ms
- 3076. Get the Size of a DataFrame Easy Languages: Python Accepted runtime 257ms
- 3143. Longest Unequal Adjacent Groups Subsequence I Easy Languages: Python Accepted runtime 0ms
- 3154. Maximum Value of an Ordered Triplet I Easy Languages: Python Accepted runtime 0ms
- 3163. Subarrays Distinct Element Sum of Squares I Easy Languages: Python Accepted runtime 23ms
- 3164. Last Visited Integers Easy Languages: Python Accepted runtime 0ms
- 3165. Find Indices With Index and Value Difference I Easy Languages: Python Accepted runtime 3ms
- 3172. Divisible and Non-divisible Sums Difference Easy Languages: Python Accepted runtime 3ms
- 3176. Minimum Sum of Mountain Triplets I Easy Languages: Python Accepted runtime 40ms
- 3183. Find the K-or of an Array Easy Languages: JavaScript Accepted runtime 2ms
- 3188. Find Champion I Easy Languages: Python Accepted runtime 3ms
- 3193. Maximum Strong Pair XOR I Easy Languages: JavaScript Accepted runtime 2ms
- 3194. Find Words Containing Character Easy Languages: C++ Accepted runtime 0ms
- 3199. Distribute Candies Among Children I Easy Languages: Python Accepted runtime 13ms
- 3206. Find Common Elements Between Two Arrays Easy Languages: Python Accepted runtime 0ms
- 3207. Make Three Strings Equal Easy Languages: Python Accepted runtime 3ms
- 3215. Matrix Similarity After Cyclic Shifts Easy Languages: Python Accepted runtime 0ms
- 3220. Count Tested Devices After Test Operations Easy Languages: Python Accepted runtime 0ms
- 3221. Find the Peaks Easy Languages: JavaScript Accepted runtime 0ms
- 3226. Minimum Number Game Easy Languages: Python Accepted runtime 0ms
- 3227. Find Missing and Repeated Values Easy Languages: JavaScript Accepted runtime 1ms
- 3236. Smallest Missing Integer Greater Than Sequential Prefix Sum Easy Languages: Python Accepted runtime 3ms
- 3242. Count Elements With Maximum Frequency Easy Languages: Python Accepted runtime 4ms
- 3246. Check if Bitwise OR Has Trailing Zeros Easy Languages: Python Accepted runtime 0ms
- 3251. Maximum Area of Longest Diagonal Rectangle Easy Languages: C++ Accepted runtime 0ms
- 3252. Count the Number of Incremovable Subarrays I Easy Languages: Python Accepted runtime 194ms
- 3263. Divide an Array Into Subarrays With Minimum Cost I Easy Languages: Python Accepted runtime 0ms
- 3275. Minimum Number of Pushes to Type Word I Easy Languages: Python Accepted runtime 0ms
- 3309. Count Prefix and Suffix Pairs I Easy Languages: Python Accepted runtime 8ms
- 3311. Ant on the Boundary Easy Languages: Python Accepted runtime 44ms
- 3312. Number of Changing Keys Easy Languages: Python Accepted runtime 2ms
- 3320. Maximum Number of Operations With the Same Score I Easy Languages: Python Accepted runtime 0ms
- 3321. Type of Triangle Easy Languages: C++ Accepted runtime 0ms
- 3324. Split the Array Easy Languages: JavaScript Accepted runtime 0ms
- 3330. Modify the Matrix Easy Languages: Python Accepted runtime 0ms
- 3331. Minimum Operations to Exceed Threshold Value I Easy Languages: C++ Accepted runtime 0ms
- 3334. Apple Redistribution into Boxes Easy Languages: Python Accepted runtime 0ms
Page 9 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.