May Leetcode Challenge - Day 14
Implement Trie (Prefix Tree) Implement a trie with insert, search, and startsWith methods. Example ...
Implement Trie (Prefix Tree) Implement a trie with insert, search, and startsWith methods. Example ...
Remove K Digits Given a non-negative integer num represented as a string, remove k digits from the ...
Single Element in a Sorted Array You are given a sorted array consisting of only integers where eve ...
Flood Fill An image is represented by a 2-D array of integers, each integer representing the pixel ...
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 ...