Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:
Posts for: #Algorithm
Leetcode - Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
You are given a rectangular cake of size h x w and two arrays of integers horizontalCuts and verticalCuts where
Leetcode - Custom Sort String
You are given two strings order and s. All the words of order
are unique and were sorted in some custom order previously.
Leetcode - Longest Substring Without Repeating Charactes
문자열 s
가 주어졌을 때 겹치는 문자가 없는 부분 문자열의 길이를 반환하라.
Leetcode - Container With Most Water
You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]).