Finding Square Root using Binary Search | LeetCode | Hindi | Problem Solving | Shashwat

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • Java Plus DSA Complete Placement Course:
    • Java and DSA Course Pl...
    Coding Interview Problem Playlist:
    • Problem Solving | Prod...
    Problem Statement:
    Given a non-negative integer x, compute and return the square root of x.
    Since the return type is an integer, the decimal digits are truncated, and only the integer part of the result is returned.
    Note: You are not allowed to use any built-in exponent function or operator, such as pow(x, 0.5) or x ** 0.5.
    Problem Link:
    leetcode.com/p...
    Solution Snippet:
    github.com/Tiw...
    Company Tags:
    Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe
    Instagram Handle: (@shashwat_tiwari_st)
    shashwattiwari...
    #ShashwatTiwari #coding​​ #problemsolving​ #leetcode​ #hackerrank​ #hackerearth​ #codechef​ #codesignal​ #algorithms​ #javaprogramming​ #sde​ #placement #programming
    #coding #programming #programmer #python #developer #code #javascript #coder #computerscience #technology #java #codinglife #html #webdeveloper #tech #webdevelopment #css #software #webdesign #softwaredeveloper #linux #programmers #softwareengineer #php #programmingmemes #machinelearning #programminglife #pythonprogramming #codingisfun

КОМЕНТАРІ • 13

  • @shashwat_tiwari_st
    @shashwat_tiwari_st  Рік тому

    This is a very old video, for better sound and camera quality DSA videos, learn from the below playlist!
    Java Plus DSA ( Java + DSA + Problem Solving )
    ua-cam.com/play/PLQ7ZAf76c0ZPVdhV1bAjFv0bQc1xHURzE.html

  • @gourav3727
    @gourav3727 2 роки тому +3

    bhai tumhari explanations next level rehti hai, better than some so called Big UA-camrs

  • @triptijaiswal4070
    @triptijaiswal4070 28 днів тому

    Very well explained.

  • @soumya5075
    @soumya5075 Рік тому +1

    never knew this wrapping concept... thank youuu!

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  Рік тому

      You can watch java dsa course. I have tried to cover all the basics plus problem solving.
      ua-cam.com/play/PLQ7ZAf76c0ZPVdhV1bAjFv0bQc1xHURzE.html
      In case you want to learn only binary Search then you can find videos below.
      ua-cam.com/play/PLQ7ZAf76c0ZNDuZym737AUJTWQnT3rtHH.html

    • @soumya5075
      @soumya5075 Рік тому

      @@shashwat_tiwari_st I'm actually coding in C++!

  • @yashsaini8648
    @yashsaini8648 2 роки тому +1

    first time watching your video and i love your explanation and i am also subsriber

  • @ritikagrawal2710
    @ritikagrawal2710 2 роки тому +1

    Great💯

  • @gautamkumar5937
    @gautamkumar5937 2 роки тому

    Thanks sir

  • @onlycodeajay3329
    @onlycodeajay3329 Рік тому

    sir we are not storing the mid*mid we are only comparing it with x then also why it is overflowing ... I think overflow occurs when we store a value? please explain it

  • @samarohochattopadhyay9917
    @samarohochattopadhyay9917 2 роки тому

    couldn't we make the condition start

  • @linguisticgamer
    @linguisticgamer 2 роки тому

    thodi aur promotion kar leta pehle