May Leetcode Challenge - Day 10
Find the Town Judge In a town, there are N people labelled from 1 to N. There is a rumor that one ...
Find the Town Judge In a town, there are N people labelled from 1 to N. There is a rumor that one ...
Problem Check If It Is a Straight Line You are given an array coordinates, coordinates[i] = [x, y], ...
Problem Cousins in Binary Tree In a binary tree, the root node is at depth 0, and children of each ...
Problem Majority Element Given an array of size n, find the majority element. The majority element ...
Problem First Unique Character in a String Given a string, find the first non-repeating character i ...
Problem Number Complement Given a positive integer, output its complement number. The complement st ...
Problem Ransom Note Given an arbitrary ransom note string and another string containing letters fro ...
Problem You're given strings J representing the types of stones that are jewels, and S representing ...