1552. Magnetic Force Between Two Balls | binary search | leetcode daily challenge | DSA | Hindi

  Рет қаралды 2,692

shashCode

shashCode

Күн бұрын

Problem Name:
1552. Magnetic Force Between Two Balls
Problem Statement:
In the universe Earth C-137, Rick discovered a special form of magnetic force between two balls if they are put in his new invented basket. Rick has n empty baskets, the ith basket is at position[i], Morty has m balls and needs to distribute the balls into the baskets such that the minimum magnetic force between any two balls is maximum.
Rick stated that magnetic force between two different balls at positions x and y is |x - y|.
Given the integer array position and the integer m. Return the required force.
Problem link:
leetcode.com/p...
Java Plus DSA Placement Course Playlist:
• Java and DSA Course Pl...
Java Plus DSA Sheet:
docs.google.co...
Notes:
github.com/Tiw...
Telegram Link:
shashwattiwari...
Ultimate Recursion Series Playlist:
• Recursion and Backtrac...
Instagram Handle: (@shashwat_tiwari_st)
shashwattiwari...
Samsung Interview Experience:
• I cracked Samsung | SR...
Company Tags:
Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe | Samsung
Timestamp:
0:00 - Introduction
#ShashwatTiwari #coding​​ #problemsolving​

Пікірлер: 10
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 1,7 МЛН
IIT-JEE Toppers: Where Are They Now?
16:07
Mohak Mangal
Рет қаралды 1 МЛН
you will never ask about pointers again after watching this video
8:03
The Home Server I've Been Wanting
18:14
Hardware Haven
Рет қаралды 85 М.
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Two Minute Papers
Рет қаралды 181 М.
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 230 М.
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26