JobsJob TrackerJob alerts

Yatra ยท 12 questions

All 12Coding 2Behavioral 1
  • Difference between class and struct
  • MVVM vs VIPER
  • Generics and Any
  • Optional handling
  • layoutSubviews vs layoutIfNeeded
  • Auto Layout constraints for dynamic labels
  • Core Data
  • Linked List operationsCoding
  • Frequency of elementsCoding
  • Objective-C vs Swift
  • iOS Assignment
  • Managerial DiscussionBehavioral
โ† Yatra questions
  1. Interview questions
  2. Yatra
  3. Generics and Any

Generics and Any

Filed under Yatra

The question

Explain the concepts of Generics and 'Any' in Swift and provide use cases for each.

No write-up yet. Related questions below have one.

Related Yatra questions

  • Difference between class and struct
  • MVVM vs VIPER
  • Optional handling
  • layoutSubviews vs layoutIfNeeded
  • Auto Layout constraints for dynamic labels
โ† MVVM vs VIPEROptional handling โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.