TGViewer
Channel Public Channel
JavaHere's Blogs πŸš€

JavaHere's Blogs πŸš€

@javahereblogs

Youtube: youtube.com/@JavaIsHere
Linkedin: linkedin.com/in/javokhirakramjonov
Bored? @javohirakramblog
Contact: @javahere_admin
Subscribers
2.23K
Photos
248
Videos
5
Links
527

Showing posts older than #455 Β· Back to latest

Older Posts 20 shown
Post #454 260
βš™οΈ βš™οΈ βš™οΈ

Kun masalasi: 1519. Number of Nodes in the Sub-Tree With the Same Label
Qiyinlik darajasi: O'rta

Sizda bu masalani yechish uchun qanday fikr bor? Agar biror idea bo'lsa kommentda qoldiring. Masala yechim topishi uchun sizning ideangiz yordam berishi mumkin...

😎😎😎

Bizni kuzatishda davom eting

Telegram | Youtube
LeetCode Number of Nodes in the Sub-Tree With the Same Label - LeetCode Can you solve this real interview question? Number of Nodes in the Sub-Tree With the Same Label - You are given a tree (i.e. a connected, undirected graph that has no cycles) consisting of n nodes numbered from 0 to n - 1 and exactly n - 1 edges. The root…
  • πŸ‘ 1
Post #453 279
Post #452 255
Post #451 259
Barchaga assalamu alaykum. Har doim ham bir xil fikrda qolib ketish yaxshi emas albatta. Demak men safimizni yana bir dasturchi bilan to'ldirishga qaror qildim. Endi siz leetcode kunlik masalalar yechimlarini nafaqat JavaHere va balkim Alkhorithm kanalida ham kuzatib borishingiz mumkin. U yerda Diyorbek Sadullayev (Frontend developer, Super Dispatch) o'z fikrlari va qarashlari orqali masalalarni C++ dasturlash tilida ulashib bormoqda vaholanki bizda Java sizda endi ikki xil tilda ikki xil qarashlar orqali o'rganish imkoniyati bor. Qani ketdik...
  • πŸ‘ 3
Post #450 275
βœ…βœ…βœ…

ℹ️ Dasturlash tili: Java

βš™οΈ Algoritm: DFS

πŸ“¬ Muallif: JavaHere

βŒ›οΈ Vaqt asimtotikasi: O(N)

πŸ—‚ Xotira : O(N)

Bizni kuzatishda davom eting

Telegram | Youtube
  • πŸ‘ 1
Post #449 277
βš™οΈ βš™οΈ βš™οΈ

Kun masalasi: 1443. Minimum Time to Collect All Apples in a Tree
Qiyinlik darajasi: O'rta

Sizda bu masalani yechish uchun qanday fikr bor? Agar biror idea bo'lsa kommentda qoldiring. Masala yechim topishi uchun sizning ideangiz yordam berishi mumkin...

😎😎😎

Bizni kuzatishda davom eting

Telegram | Youtube
LeetCode Minimum Time to Collect All Apples in a Tree - LeetCode Can you solve this real interview question? Minimum Time to Collect All Apples in a Tree - Given an undirected tree consisting of n vertices numbered from 0 to n-1, which has some apples in their vertices. You spend 1 second to walk over one edge of the tree.…
  • πŸ‘ 2
Post #448 388
βœ…βœ…βœ…

ℹ️ Dasturlash tili: Java

βš™οΈ Algoritm: Tree, Brute Force

πŸ“¬ Muallif: JavaHere

βŒ›οΈ Vaqt asimtotikasi: O(Min(N, M))

πŸ—‚ Xotira : O(Max(N, M))

Bizni kuzatishda davom eting

Telegram | Youtube
  • πŸ‘ 3
Post #447 254
βš™οΈ βš™οΈ βš™οΈ

Kun masalasi: 100. Same Tree
Qiyinlik darajasi: Oson

Sizda bu masalani yechish uchun qanday fikr bor? Agar biror idea bo'lsa kommentda qoldiring. Masala yechim topishi uchun sizning ideangiz yordam berishi mumkin...

😎😎😎

Bizni kuzatishda davom eting

Telegram | Youtube
LeetCode Same Tree - LeetCode Can you solve this real interview question? Same Tree - Given the roots of two binary trees p and q, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally identical, and the nodes have the…
  • ⚑ 1
  • πŸ‘ 1
Post #446 260
βœ…βœ…βœ…

ℹ️ Dasturlash tili: Java

βš™οΈ Algoritm: Tree, Brute Force

πŸ“¬ Muallif: JavaHere

βŒ›οΈ Vaqt asimtotikasi: O(N)

πŸ—‚ Xotira : O(N)

Bizni kuzatishda davom eting

Telegram | Youtube
  • πŸ‘ 6
Post #445 270
βš™οΈ βš™οΈ βš™οΈ

Kun masalasi: 144. Binary Tree Preorder Traversal
Qiyinlik darajasi: Oson

Sizda bu masalani yechish uchun qanday fikr bor? Agar biror idea bo'lsa kommentda qoldiring. Masala yechim topishi uchun sizning ideangiz yordam berishi mumkin...

😎😎😎

Bizni kuzatishda davom eting

Telegram | Youtube
LeetCode Binary Tree Preorder Traversal - LeetCode Can you solve this real interview question? Binary Tree Preorder Traversal - Given the root of a binary tree, return the preorder traversal of its nodes' values. Example 1: Input: root = [1,null,2,3] Output: [1,2,3] Explanation: [https://assets.l…
  • ⚑ 2
  • πŸ‘ 1
Post #444 283
Graflar haqidagi mavzularni davom etamiz va keyingi darsimiz Dijsktra algoritmi haqida bo'ladi.

Tez kunda...

Bizni kuzatishda davom eting

Telegram | Youtube
  • πŸ”₯ 6
  • ❀‍πŸ”₯ 1
  • πŸ‘ 1
Post #442 286
βœ…βœ…βœ…

ℹ️ Dasturlash tili: Java

βš™οΈ Algoritm: Greedy, Math

πŸ“¬ Muallif: JavaHere

βŒ›οΈ Vaqt asimtotikasi: O(NΒ³)

πŸ—‚ Xotira : O(1)

Bizni kuzatishda davom eting

Telegram | Youtube
  • πŸ‘ 3
Post #441 280
βš™οΈ βš™οΈ βš™οΈ

Kun masalasi: 149. Max Points on a Line
Qiyinlik darajasi: Qiyin

Sizda bu masalani yechish uchun qanday fikr bor? Agar biror idea bo'lsa kommentda qoldiring. Masala yechim topishi uchun sizning ideangiz yordam berishi mumkin...

😎😎😎

Bizni kuzatishda davom eting

Telegram | Youtube
LeetCode Max Points on a Line - LeetCode Can you solve this real interview question? Max Points on a Line - Given an array of points where points[i] = [xi, yi] represents a point on the X-Y plane, return the maximum number of points that lie on the same straight line. Example 1: [https://a…
  • ⚑ 1
Post #439 277
βœ…βœ…βœ…

ℹ️ Dasturlash tili: Java

βš™οΈ Algoritm: Greedy

πŸ“¬ Muallif: JavaHere

βŒ›οΈ Vaqt asimtotikasi: O(N)

πŸ—‚ Xotira : O(1)

Bizni kuzatishda davom eting

Telegram | Youtube
  • ⚑ 3
Post #438 269
βš™οΈ βš™οΈ βš™οΈ

Kun masalasi: 134. Gas Station
Qiyinlik darajasi: O'rta

Sizda bu masalani yechish uchun qanday fikr bor? Agar biror idea bo'lsa kommentda qoldiring. Masala yechim topishi uchun sizning ideangiz yordam berishi mumkin...

😎😎😎

Bizni kuzatishda davom eting

Telegram | Youtube
LeetCode Gas Station - LeetCode Can you solve this real interview question? Gas Station - There are n gas stations along a circular route, where the amount of gas at the ith station is gas[i]. You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from the ith…
Post #437 277
Post #436 271
βœ…βœ…βœ…

ℹ️ Dasturlash tili: Java

βš™οΈ Algoritm: Counting sort

πŸ“¬ Muallif: JavaHere

βŒ›οΈ Vaqt asimtotikasi: O(N)

πŸ—‚ Xotira : O(N)

Bizni kuzatishda davom eting

Telegram | Youtube
  • ⚑ 1
Post #435 263
βš™οΈ βš™οΈ βš™οΈ

Kun masalasi: 1833. Maximum Ice Cream Bars
Qiyinlik darajasi: O'rta

Sizda bu masalani yechish uchun qanday fikr bor? Agar biror idea bo'lsa kommentda qoldiring. Masala yechim topishi uchun sizning ideangiz yordam berishi mumkin...

😎😎😎

Bizni kuzatishda davom eting

Telegram | Youtube
LeetCode Maximum Ice Cream Bars - LeetCode Can you solve this real interview question? Maximum Ice Cream Bars - It is a sweltering summer day, and a boy wants to buy some ice cream bars. At the store, there are n ice cream bars. You are given an array costs of length n, where costs[i] is the price…
  • ⚑ 1
Older posts β†’
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook β†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 β†’