iOS Interview Preparation
iOS Interview Preparation
  • 17
  • 18 055

วีดีโอ

Copy on Write Swift | iOS | Top Asked Interview Question | Value Type vs Reference Type
มุมมอง 4717 หลายเดือนก่อน
Copy on Write is an important concept through which Swift enhances its memory utilisation and performance. In this video, I have explained: 1. The Problem 2. The Need 3. The Solution I have created 2 examples as well, one using array and another using Struct.
GRAB iOS Interview Question | SSE | Implement a custom Optional type in iOS | Optionals are Enums!
มุมมอง 8957 หลายเดือนก่อน
How to implement a custom Optional type in iOS, in cases where the built-in optional operator (?) is not available in the framework. #grab #grabindonesia #ios #iosinterview
Mobile System Design Interview Tips | iOS | Android | UX and UI components & guide
มุมมอง 5037 หลายเดือนก่อน
A quick guide or tips to nail down mobile system design interviews for big/medium tech companies. Pretty useful for both iOS & Android Engineers. There are very few resources for mobile engineers to prepare for System Design round, I have discussed all the parts of the System Design round like understanding the problem (gathering requirements), approach, identification of technical requirements...
Just 12 minutes to avoid problems at workplace! Mindfulness | Leadership Skills | Behavior Cycle
มุมมอง 151ปีที่แล้ว
Welcome to our channel, where we embark on a transformative journey towards inner peace and self-discovery through the practice of mindfulness. In this video, we delve deep into the art of mindfulness, offering you practical techniques and insights to cultivate a more present and harmonious life. 🌿 What is Mindfulness? Mindfulness is more than just a buzzword; it's a way of life that empowers y...
How to test Async code in Swift iOS | Interview Question | Achieve 100% code coverage
มุมมอง 1.2Kปีที่แล้ว
How to implement a Mock?? How to test Async code in Swift iOS | Interview Question | Achieve 100% code coverage #swiftprogramming #ios #interview #iosinstagram #unittesting
Expedia iOS Interview Question | Race Condition Swift Coding Problem | Modifying Array Concurrently
มุมมอง 2.2Kปีที่แล้ว
Race Condition DispatchQueue Interview Question | Swift Coding Problem | Most Confusing Problem #swiftprogramming #ios #interview #iosinstagram
DispatchQueue Interview Question | Swift Coding Problem | Most Confusing Problem
มุมมอง 5Kปีที่แล้ว
DispatchQueue Interview Question | Swift Coding Problem | Most Confusing Problem #swiftprogramming #ios #interview #iosinstagram
Swift Interview Question | isEmpty vs count == 0 | 60 Seconds Video
มุมมอง 302ปีที่แล้ว
Do you know the difference between using isEmpty vs count 0, if not watch this less than 60 seconds video to learn the basic Swift fundamentals. isEmpty performance is O(1) and is more readable! Watch the video to know more! #swiftprogramming #foundation #isEmpty
Swift Interview Question | Capitalized vs uppercased | 60 Seconds Video
มุมมอง 183ปีที่แล้ว
Do you know the difference between Capitalized and uppercased, if not watch this less than 60 seconds video to learn the basic Swift fundamentals? #swiftprogramming #foundation
Facebook Interview Question! Can you write your own High Order MAP Function? | Product-Based Company
มุมมอง 895ปีที่แล้ว
High Order functions are part of day to day dev's life and is one of the Hot Topic for interview as well! If you're able to write your own custom high order function it means you understand Generics, closures and loops pretty well. Let me know your thoughts in the comments section! #swift #highorderfunctions #generics #protocols
Closures Swift Interview Code | Capture List in Closures | Product based Company Interview Question
มุมมอง 2Kปีที่แล้ว
Closures are easy to begin with, but make sure you talk about capturing of values, capture lists (unowned vs weak), and why they are actually useful compared to other approaches. It’s possible your interviewer is looking for a broader discussion of functions as first-class types in Swift. Do let us know your thoughts in the comments!
Generic function to add 2 numbers Swift | Product Based Company iOS Interview Question | IMPORTANT
มุมมอง 468ปีที่แล้ว
If you are preparing yourself for the product-based company interviews the #generics and #protocols are very very important. This video demonstrates an interview question on Generics and Protocols using the Swift code problem.
Weak Reference Type Interview Code Problem | Swift mostly asked Interview Question
มุมมอง 599ปีที่แล้ว
Weak Reference Type Interview Code Problem | Swift mostly asked Interview Question
Difference between Optional and Implicitly Unwrapped Optional | Important Swift Interview Question!
มุมมอง 1Kปีที่แล้ว
Difference between Optional and Implicitly Unwrapped Optional | Important Swift Interview Question!

ความคิดเห็น

  • @iamsanketray
    @iamsanketray 3 หลายเดือนก่อน

    Sorry, but your solution is not 100% correct. The return type is wrong. If someone calls let arr = ["Hello", "World", "lets go"] print(map(arr) { $0.count }) your solution will throw an error. The correct solution would be: func map<T, U>(_ elements: [T], _ transform: (T) -> U) -> [U] { var results = [U]() for element in elements { results.append(transform(element)) } return results }

  • @rajanmaheshwari
    @rajanmaheshwari 3 หลายเดือนก่อน

    The output part you talked about at the end is wrong. In Swift, we always have an unordered dictionary which is output1 in your case. Try running your program more than once and you can see the change in the output. The output preserved in the same order in your video is just a coincidence.

  • @rajanmaheshwari
    @rajanmaheshwari 3 หลายเดือนก่อน

    The possible solutions can be 1. Using serial queues - Use a serial queue inside the concurrentPerform 2. Using NSLock - something like this lock.lock() print (array) let last = (array.last ?? 0) + 1 array.append(last) lock.unlock()

  • @TheITExpert
    @TheITExpert 3 หลายเดือนก่อน

    good explanation

  • @SarathKumar-iz8zx
    @SarathKumar-iz8zx 4 หลายเดือนก่อน

    Great m, well crafted 🎉

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

    By the way map not always return same as input type. Transform can decide output type. so type U also may required.

  • @KanishkaC-ly4bo
    @KanishkaC-ly4bo 4 หลายเดือนก่อน

    I was asked a question similar to this for Blinkit's interview

  • @CodeByNSR
    @CodeByNSR 5 หลายเดือนก่อน

    Awesome content so far in this playlist, very crisp and clear to the point, without any beating around the bush. I like it. Thanks a lot Brother. 🏹➡🎯.

  • @GAHP534
    @GAHP534 5 หลายเดือนก่อน

    Good ❤

  • @АлексейВоробьёв-ч3ч
    @АлексейВоробьёв-ч3ч 5 หลายเดือนก่อน

    let output1 = Dictionary(uniqueKeysWithValues: selectedItems.compactMap { key in menuItems[key].map { (key, $0) }})

  • @CodeWithGuru
    @CodeWithGuru 5 หลายเดือนก่อน

    Hii, I seen your video what I did not understand How data structure managed in this. Please explain more.

  • @imagine8882
    @imagine8882 5 หลายเดือนก่อน

    Thanks for sharing such interview questions. Please continue to share such videos, we are getting educate from you.

  • @imagine8882
    @imagine8882 5 หลายเดือนก่อน

    Your videos are very informative. I am learning a lot from all these. I will request you to please share more videos like these, where we learn on market standards and current internet trends and how we ca prepare for such topics. Please help sharing such information. people like us, who don't have much exposure, only these kind of videos educate us. THANKS

  • @imagine8882
    @imagine8882 5 หลายเดือนก่อน

    1 query : as we initialised 'anotherObject' in line 8 then at least in line 9 it should need to print the default value of name as 'Name '. i previously was thinking, the print will come as Name, but once the compiler goes out of scope of someFunc() then anotherObject becomes nil. Please help make me understand this concept, Many Thanks for this video. What's your name ?

  • @MrFndo
    @MrFndo 5 หลายเดือนก่อน

    this is classic race condition, you can't be sure that 9 is printed after 1, maybe global queue starts implementing first async block right away and prints 2 after 1

  • @EduPTE
    @EduPTE 6 หลายเดือนก่อน

    Why did 8 come second last? Is 8 in the same thread(global) as 2 & 4. Can you please clarify?

    • @appgenie
      @appgenie 5 หลายเดือนก่อน

      Yes, it's in the same global queue block.

  • @meilancon5765
    @meilancon5765 6 หลายเดือนก่อน

    Promo'SM

  • @dominik3257
    @dominik3257 6 หลายเดือนก่อน

    And what is the solution? Using serial queues? Or Actors?

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

    The problem statement can be described like this: Functional Requirements: Generic Type: The MyOptional type should be generic, capable of holding any type of value. Initialization: It should be possible to initialize MyOptional with a value or as nil. Unwrapping: Implement a method to safely unwrap the value, returning a default value if the optional is none. Optional Chaining (Bonus): As a bonus challenge, implement a simplified form of optional chaining that allows methods and properties to be accessed on the optional's value directly from the MyOptional instance. Example Inputs & Outputs: Initialization Input: let myString: MyOptional<String> = MyOptional.some("Hello") Output: An instance of MyOptional holding the string "Hello". Input: let myNil: MyOptional<String> = MyOptional.none Output: An instance of MyOptional representing none. Unwrapping Input: myString.unwrap(default: "Default") Output: "Hello" Input: myNil.unwrap(default: "Default") Output: "Default" Technical Requirements: Use Swift as the programming language. Make sure your custom optional type is generic and can work with any data type. Ensure that your implementation is safe and follows Swift's error-handling and type-checking best practices. Ref: enginebogie.com/public/question/implementing-a-custom-optional-type-in-swift/730

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

    Nice video. Would be good to show optional chaining usage etc. ? And !

  • @King-DieGo-12
    @King-DieGo-12 7 หลายเดือนก่อน

    import Foundation func testDispatch() { print ("1") DispatchQueue.global().async{ print("2") DispatchQueue.main.async{ print("3") } print("4") DispatchQueue.main.sync{ print("5") } DispatchQueue.main.async{ print ("6") DispatchQueue.main.sync{ print ("7") } } print ("8") } print ("9") } testDispatch()

  • @King-DieGo-12
    @King-DieGo-12 7 หลายเดือนก่อน

    yor playlist is amazing, make more such short videoed playlists:)

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

    Awesome.

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

    I was asked similar question in an interview and was not able to answer it. Thanks for making a detailed explanation on this topic.

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

    thanks !! clear explanation. A better solution could have been by creating an extension on Collection, so that it can be used like Swift map function

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

    can you explain more example

  • @shanivishwakarma6514
    @shanivishwakarma6514 ปีที่แล้ว

    Nice

  • @Jock3R87
    @Jock3R87 ปีที่แล้ว

    Keep the good work mate... can we expect something on unit test case with TEST DOUBLE and how respective can be used.. small xcode project would help.. apologies for such ask but really wana see your approach

  • @vahid5924
    @vahid5924 ปีที่แล้ว

    Great video, the song between your dialogs is louder than your voice which is annoying. Please consider it for your next videos. thanks

  • @acharya-karthikeya
    @acharya-karthikeya ปีที่แล้ว

    Nice video. What if I want to reuse the same method to add 2 strings (concatenate the 2 strings) ? What protocol should be used in that case?

  • @acharya-karthikeya
    @acharya-karthikeya ปีที่แล้ว

    Simple and neat. Thanks !

  • @Real_Indian_bhartiya
    @Real_Indian_bhartiya ปีที่แล้ว

    it will more help full if you also add DS questions ☺️

    • @appgenie
      @appgenie 10 หลายเดือนก่อน

      Thanks for the comment. Let me try and do it. Sorry, I have not been quite active these days.

    • @Real_Indian_bhartiya
      @Real_Indian_bhartiya 10 หลายเดือนก่อน

      @@appgenie no issue bro 👍

  • @Real_Indian_bhartiya
    @Real_Indian_bhartiya ปีที่แล้ว

    superb content

  • @Real_Indian_bhartiya
    @Real_Indian_bhartiya ปีที่แล้ว

    nice..