All Posts

Ambiguous Coordinates Problem

LeetCode 816. We had some 2-dimensional coordinates, like “(1, 3)”...

All Possible Full Binary Trees Problem

LeetCode 894. Given an integer n, return a list of...

All Nodes Distance K In Binary Tree Problem

LeetCode 863. Given the root of a binary tree, the...

Advantage Shuffle Problem

LeetCode 870. You are given two integer arrays nums1 and...

Add To Array-Form Of Integer Problem

LeetCode 989. The array-form of an integer num is an...

3Sum With Multiplicity Problem

LeetCode 923. Given an integer array arr, and an integer...

How To Specify Unique Constraint For Multiple Columns In MySQL

How to make multiple columns unique (together) in an existing...


How To Select One Row Per ID With Max Value On A Column

Suppose we have the following REIMBURSEMENT table, find the max...

How To Get The Size Of A Table In MySQL

How to get the size of a table in MySQL...

How To Get The Size Of A Database In MySQL

How to get the size of a database in MySQL...

How To Concatenate Multiple Rows Into One Field In MySQL

How to concatenate multiple rows into one field in MySQL...

How To Change The Data Type Of A Column In MySQL

Given a table EMPLOYEE, change the data type of the...

Valid Triangle Number Problem

LeetCode 611. Given an integer array nums, return the number...

Valid Tic-Tac-Toe State Problem

LeetCode 794. Given a Tic-Tac-Toe board as a string array...

Valid Parenthesis String Problem

LeetCode 678. Given a string s containing only three types...


Valid Palindrome II Problem

LeetCode 680. Given a string s, return true if the...