Given an integer array nums and an integer k, return the kth largest element in the array.
algorithm Leetcode
decorus-kazuma’s blog. on 24-01-09
Given an array, rotate the array to the right by k steps, where k is non-negative.
decorus-kazuma’s blog. on 22-04-28
You are given an array of strings arr. A string s is formed by the concatenation of a subsequence of arr that has unique characters.
decorus-kazuma’s blog. on 22-04-06
You are given an array of unique integers salary where salary[i] is the salary of the ithemployee.
decorus-kazuma’s blog. on 22-04-05
Given two non-negative integers low and high. Return the count of odd numbers between low and high (inclusive).
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return...
decorus-kazuma’s blog. on 22-04-04
Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list’s nodes (i.e., only nodes themselves may be changed.)
Given two non-negative integers, num1 and num2 represented as string, return the sum of num1 andnum2 as a string.
decorus-kazuma’s blog. on 22-04-01
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: