Author: ACMer
So you have designed your own website. What’s the next step? You need a domain and a host. Domains and domain names are relatively easy if you choose it …
Given two non-empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. A subtree of s …
One of the main problems that website owners face is slow loading times and poor website performance which can affect website search engine ranking and lose valuable traffic. The …
Given a date, return the corresponding day of the week for that date. The input is given as three integers representing the day, month and year respectively. Return the …
Given a string S, return the number of substrings that have only one distinct letter. Example 1: Input: S = “aaaba” Output: 8 Explanation: The substrings with one distinct …