Tiger's leetcode solution
Tuesday, April 30, 2024
191. Number of 1 Bits --E
›
Q: Write a function that takes the binary representation of a positive integer and returns the number of set bits it has (also known as t...
Sunday, April 28, 2024
279. Perfect Squares ----M
›
Q: Given an integer n , return the least number of perfect square numbers that sum to n . A perfect square is an integer that is the s...
Saturday, April 13, 2024
28. Find the Index of the First Occurrence in a String E !!!需要动手写
›
Given two strings needle and haystack , return the index of the first occurrence of needle in haystack , or -1 if needle is not pa...
Thursday, April 11, 2024
234. Palindrome Linked List E
›
Given the head of a singly linked list, return true if it is a palindrome or false otherwise . Example 1: Input: head = [1,2,2,1]...
›
Home
View web version