Author: ACMer
Given a binary tree with the following rules: root.val == 0 If treeNode.val == x and treeNode.left != null, then treeNode.left.val == 2 * x + 1 If treeNode.val …
Given the array nums, for each nums find out how many numbers in the array are smaller than it. That is, for each nums you have to count the …
Given an integer num, find the closest two integers in absolute difference whose product equals num + 1 or num + 2. Return the two integers in any order. …
Given the following details of a matrix with n columns and 2 rows : The matrix is a binary matrix, which means each element in the matrix can be …
The jOOQ (https://www.jooq.org/) is a rich Java Library that allows us to write SQL using fluent style. It generates type-safe SQL and avoids SQL injections rather than building your …