Filter interviews by
Use XOR operation to swap two variables without a third one
Use XOR operation to swap two variables without a third one
Example: a = 5, b = 10. a = a XOR b, b = a XOR b, a = a XOR b. Now a = 10, b = 5
Classes are reference types, while structs are value types in Swift.
Classes are reference types, stored in heap memory.
Structs are value types, stored in stack memory.
Classes support inheritance, while structs do not.
Use classes for complex data structures, and structs for simple data types.
I can start immediately or at a mutually convenient time, ensuring a smooth transition and onboarding process.
I am available to start immediately, as I am currently not engaged in any other projects.
If needed, I can accommodate a notice period of up to two weeks to ensure a smooth transition.
I am flexible with start dates and can adjust based on the team's needs or project timelines.
For example, if there are onboarding...
Salary expectations depend on experience, market rates, and the specific role's responsibilities and location.
Market Research: I have researched the current market rates for Senior iOS Developers in my area, which typically range from $120,000 to $150,000 annually.
Experience Level: With over 5 years of experience in iOS development and a strong portfolio, I believe a salary in the upper range is justified.
Company Size:...
Top trending discussions
Answers to questions related to IOS development concepts.
Delegate and protocol are used for communication between objects in IOS. Delegate is a design pattern that allows one object to send messages to another object when a specific event occurs. Protocol is a set of methods that a class can implement to provide a specific behavior.
MVC is a design pattern used in IOS development. It separates the application into three...
MVC is a design pattern that separates an application into three interconnected components: Model, View, and Controller.
Model represents the data and business logic of the application
View is responsible for displaying the data to the user
Controller acts as an intermediary between the Model and View, handling user input and updating the Model and View accordingly
MVC promotes separation of concerns and modularity, making...
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Structs are value types and passed by value, while classes are reference types and passed by reference.
Structs are used for small, simple data types like coordinates or colors.
Classes are used for more complex data types that require inheritance or reference semantics.
Structs are copied when passed around, while classes are passed by reference.
Structs are stack allocated, while classes are heap allocated.
I applied via Approached by Company and was interviewed in Aug 2023. There were 2 interview rounds.
Atomic means thread-safe access, non-atomic is not thread-safe
Atomic ensures that a property is always fully set or retrieved, while non-atomic does not guarantee this
Atomic properties are slower due to the overhead of ensuring thread safety
Non-atomic properties are faster but can lead to data corruption in a multi-threaded environment
SSL pinning is a security measure to prevent man-in-the-middle attacks by associating a specific SSL certificate with a particular app.
Implementing SSL pinning using public key
Implementing SSL pinning using certificate
Implementing SSL pinning using hash of certificate
I applied via Naukri.com and was interviewed in Nov 2020. There were 5 interview rounds.
I applied via Approached by Company and was interviewed before Feb 2023. There was 1 interview round.
Deep copy creates a new object and recursively copies all nested objects, while shallow copy creates a new object and copies the references to nested objects.
Deep copy duplicates all levels of the object hierarchy, ensuring that changes in the copied object do not affect the original object.
Shallow copy only duplicates the top-level object, so changes in the copied object may affect the original object.
Deep copy is mor...
Ways to set values in form groups
Use setValue() method to set values in form groups
Use patchValue() method to set values in form groups
Use reset() method to set values in form groups
To add a dynamic component in a view, use a framework or library that supports dynamic rendering and component creation.
Use a framework like React or Angular that allows for dynamic component creation
Create a component factory or use a component resolver to dynamically create and render components
Pass data or props to the dynamic component to customize its behavior
Update the view or component tree to include the dynami...
I applied via Approached by Company and was interviewed before Feb 2023. There was 1 interview round.
Concurrent Utility Classes provide support for concurrent programming in Java.
ConcurrentHashMap: Thread-safe implementation of Map interface.
CopyOnWriteArrayList: Thread-safe implementation of List interface.
CountDownLatch: Synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes.
Semaphore: Controls the number of threads that can access a shared re...
HashMap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
HashMap uses the hashCode() method of ke...
JDK 8 features include lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to write code in a more concise and readable way.
Functional interfaces enable the use of lambda expressions.
Streams provide a way to work with sequences of elements efficiently.
Default methods allow interfaces to have concrete methods.
Date and Time API improvements.
Live coding on my technology
based on 1 interview experience
Engineer
243
salaries
| ₹4.6 L/yr - ₹10.2 L/yr |
Senior Engineer
243
salaries
| ₹12.7 L/yr - ₹21.5 L/yr |
Senior Software Engineer
214
salaries
| ₹11.3 L/yr - ₹20 L/yr |
Technical Lead
172
salaries
| ₹18.6 L/yr - ₹31.9 L/yr |
Software Engineer
122
salaries
| ₹5 L/yr - ₹10 L/yr |
Xoriant
Photon Interactive
CitiusTech
Iris Software