Container With Most Water - Leetcode 11 - Swift Solution

แชร์
ฝัง

ความคิดเห็น • 10

  • @xtu373
    @xtu373 7 หลายเดือนก่อน +1

    How much time does it take for you to pass to learn data structures and algorithms and start solving leet code questions perfectly?

    • @andrey_tech
      @andrey_tech  7 หลายเดือนก่อน

      Hard to say. I've learned this gradually throughout my career. However, I think ~4-6 month should be enough to learn algorithms from scratch to a solid level.

  • @xtu373
    @xtu373 7 หลายเดือนก่อน +1

    I learned data structure and algorithm but I couldn't solve any medium or hard problems and some easy problems on leetcode, My brain just stucks I dony even know what to do
    Any advice for me?

    • @andrey_tech
      @andrey_tech  7 หลายเดือนก่อน

      It is a normal thing, don't worry! Try focusing on easy problems. Try solving 50 different easy problems. It's enough to get most of the jobs out there.

  • @roh9934
    @roh9934 11 หลายเดือนก่อน

    i don't think swift is accepted as a language to code for most of the companies? does it? Typically what i have heard is C, C++ and Java being the most popular.

    • @andrey_tech
      @andrey_tech  11 หลายเดือนก่อน

      The language needed depends on the platform: backend, frontend, iOS, Android etc. For example, for iOS Swift is widely used.

    • @chovuse
      @chovuse 9 หลายเดือนก่อน

      Swift is relatively new - 2014, compared to C - 1972, C++ - 1979 & Java - 1995.
      So not as many companies are using Swift.
      Swift is mostly used for iOS, macOS, iPadOS, watchOS and tvOS.
      Also ported on backend by IBM via Linux.
      Recently also ported to Windows.
      2492 companies reportedly use Swift in their tech stacks, including :-
      1 Robinhood
      2 Kavak
      3 Bitpanda
      4 Lyft
      5 DoorDash
      6 Uber
      7 Asana
      8 Glovo
      9 Razorpay
      10 OneSignal
      11 Mercedes Benz
      12 Slack
      13 Cred
      14 Delivery Hero
      15 Hennge
      16 BBC
      etc ...

    • @roh9934
      @roh9934 8 หลายเดือนก่อน

      @@andrey_tech i was talking about online coding judges for algorithmic problems only. Like even for an iOS developer, he can choose language of his own choice for algorithmic round only.

    • @roh9934
      @roh9934 8 หลายเดือนก่อน

      @@chovuse was talking about online judges only. I know swift is widely used, im also a iOS Engineer using swift but in some platforms for coding rounds, swift is not available to code down the problems.

    • @PavelPalancica
      @PavelPalancica 4 หลายเดือนก่อน

      If you apply for iOS Engineer positions - it's almost expected to use Swift nowadays (you can also use Objective-C, but you will have to write more code ie losing some time). Coding judges allow 8+ languages usually, but I don't think one should use C when he is an iOS Engineer (unless you have Experience in C on resume and interviewer asks you to use C). It's similar to going to a Java interview, but you decide to use Python (maybe cause you think code is more concise). It's probably gonna be a red flag.