Rotate Image
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise).
Coding-challenge walkthroughs and data-structure problems.
7 articles
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise).
Given a set of distinct integers array ```myArray```, return all possible subsets (the power set).
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.
should return square array.
Check if the predicate (second argument) is truthy on all elements of a collection (first argument).
Given a collection of intervals, merge all overlapping intervals.
Given an array of strings strs, group the anagrams together.