Skip to main content
Background Image
  1. Leetcodes/

Daily LeetCode - #3025 Find the Number of Ways to Place People I

·98 words·1 min· loading · loading · ·

This is my first post in this LeetCode series, hope you enjoy it!

Solving algorithms can feel tough, but breaking them down step by step makes it fun.

Problem Statement
#

Original Problem

You are given a 2D array points of size n x 2 representing integer coordinates of some points on a 2D plane, where points[i] = [xi, yi].

Count the number of pairs of points (A, B), where

A is on the upper left side of B, and there are no other points in the rectangle (or line) they make (including the border). Return the count.

Related

Daily LeetCode - #1792 Maximum Average Pass Ratio
·3 words·1 min· loading · loading
Starting out my own blog
·3 words·1 min· loading · loading
Unity DevLog - #1 Planning on my first multiplayer game
·3 words·1 min· loading · loading