iT邦幫忙

刷題相關文章
共有 162 則文章

技術 leetcode with python:70. Climbing Stairs

題目: You are climbing a staircase. It takes n steps to reach the top. Each tim...

技術 leetcode with python:263. Ugly Number

題目: An ugly number is a positive integer whose prime factors are limited to 2,...

技術 leetcode with python:28. Implement strStr()

題目: Given two strings needle and haystack, return the index of the first occurr...

鐵人賽 自我挑戰組 DAY 5

技術 Day04|Codewars 刷題日 (3)

今天跑去跳韓舞,好久沒有一次跳四小,覺得骨頭都快散掉了qwq 而且今天也解不了好多題,只能找些簡單的拿來放了(跪 6.kyu Bit Counting Writ...

技術 leetcode with python:367. Valid Perfect Square

題目: Given a positive integer num, write a function which returns True if num is...

技術 leetcode with python:136. Single Number

題目: Given a non-empty array of integers nums, every element appears twice excep...

技術 leetcode with python:9. Palindrome Number

題目: Given an integer x, return true if x is palindrome integer.An integer is a...

技術 leetcode with python:27. Remove Element

題目: Given an integer array nums and an integer val, remove all occurrences of v...

技術 leetcode with python:171. Excel Sheet Column Number

題目: Given a string columnTitle that represents the column title as appears in a...

技術 leetcode with python:34. Find First and Last Position of Element in Sorted Array

題目: Given an array of integers nums sorted in non-decreasing order, find the st...

技術 leetcode with python:389. Find the Difference

題目: You are given two strings s and t. String t is generated by random shuffl...