Skip to content
View carstonhenderson's full-sized avatar

Organizations

@kodia-software
Block or Report

Block or report carstonhenderson

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. foundation foundation Public

    foundational react components

    TypeScript

  2. 1887. Reduction Operations to Make t... 1887. Reduction Operations to Make the Array Elements Equal
    1
    # 1887. Reduction Operations to Make the Array Elements Equal
    2
    
                  
    3
    *Given an integer array `nums`, your goal is to make all elements in `nums` equal. To complete one operation, follow these steps:*
    4
    
                  
    5
    1. Find the largest value in `nums`. Let its index be `i` (0-indexed) and its value be `largest`. If there are multiple elements with the largest value, pick the smallest `i`.
  3. Max additional diners (Meta) Max additional diners (Meta)
    1
    A cafeteria table consists of a row of $N$ seats, numbered from 1 to $N$ from left to right. Social distancing guidelines require that every diner be seated such that $K$ seats to their left and $K$ seats to their right (or all the remaining seats to that side if there are fewer than $K$) remain empty.
    2
    
                  
    3
    There are currently $M$ diners seated at the table, the $i$-th of whom is in seat 
    4
    $S_{i}$. No two diners are sitting in the same seat, and the social distancing guidelines are satisfied.
    5