智力题——高空抛鸡蛋
Read more about 智力题——高空抛鸡蛋...
Read more about 智力题——高空抛鸡蛋...
Problem Link https://leetcode.com/problems/candy/https://leetcode.com/problems/candy/ !leetcode 135https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfi...
Problem Link https://leetcode.com/problems/gas-station/https://leetcode.com/problems/gas-station/ !leetcode 134https://media2.dev.to/dynamic/image/width=800%2C...
Problem Link https://leetcode.com/problems/product-of-array-except-self/https://leetcode.com/problems/product-of-array-except-self/ !leetcode 238https://media2...
What is Array Rotation? Array rotation is the process of shifting the elements of an array to new positions by a certain number of times k. There are two types...
Problem Statement Given an array of distinct integers candidates and a target integer target, return all unique combinations of candidates where the chosen num...
I originally posted this post on my bloghttps://canro91.github.io/2025/12/13/AoC7/. This year, I'm following the Advent of Code. I challenged myself to write “f...
Welcome to Day 66 of the 80DaysOfChallenges journey! This intermediate challenge focuses on inverting a binary tree by recursively swapping left and right child...
Problem Link: https://leetcode.com/problems/h-index/ Solution java class Solution { public int hIndexint citations { int n = citations.length; int arr = new int...
Problem Description The task is to implement a function that converts integers to Roman numerals. Approach Roman numerals are built from largest to smallest. S...
What is a palindrome? A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward ignoring spaces, punctua...
Problem Description The task is to find the intersection given two arrays. Solution Approach Since the arrays are not sorted and may contain duplicates, a fast...