Author: ACMer
The n queens puzzle asks to place n queens on an n×n chessboard so that no two queens are attacking each other. Given a partially filled two-dimensional integer matrix …
Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists, then return …
Teaching Kids Programming: Videos on Data Structures and Algorithms There is a function signFunc(x) that returns: 1 if x is positive. -1 if x is negative. 0 if x …
Given two n x n binary matrices mat and target, return true if it is possible to make mat equal to target by rotating mat in 90-degree increments, or …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a binary tree root, return the number of unique vertical lines that can be drawn such that every node …