Add office photos
Employer?
Claim Account for FREE

Buyhatke

3.8
based on 12 Reviews
Filter interviews by

123Movies TADKA Interview Questions and Answers

Updated 17 Nov 2024

Q1. Shortest Route Problem Statement

You want to visit your friend’s house located at some position in an infinite grid starting from origin (0, 0). You can move in four directions: East (E), West (W), North (N), a...read more

Add your answer

Q2. 0/1 Knapsack Problem Statement

A thief is planning to rob a store and can carry a maximum weight of 'W' in his knapsack. The store contains 'N' items where the ith item has a weight of 'wi' and a value of 'vi'....read more

Add your answer

Q3. Time to Burn Tree Problem

You are given a binary tree consisting of 'N' unique nodes and a start node where the burning will commence. The task is to calculate the time in minutes required to completely burn th...read more

Add your answer

Q4. Find LCA of a binary tree, standard dsa medium problem

Ans.

LCA of a binary tree is the lowest common ancestor of two nodes in the tree.

  • Traverse the tree from the root node to find the paths from root to the two given nodes.

  • Compare the paths to find the last common node, which is the LCA.

  • Use recursion to solve the problem efficiently.

  • Handle edge cases like if one of the nodes is the ancestor of the other.

Add your answer
Discover 123Movies TADKA interview dos and don'ts from real experiences

Q5. Why did you use Swift over React Native?

Ans.

Swift was chosen for its performance, native iOS support, and better integration with Apple's ecosystem.

  • Swift offers better performance compared to React Native due to its native code execution.

  • Swift provides seamless integration with Apple's ecosystem, allowing for better utilization of iOS features.

  • Swift is the preferred choice for developing iOS apps as it is the native language for iOS development.

  • React Native may have limitations in accessing certain iOS features or APIs...read more

Add your answer

Q6. What is Observable in Swift?

Ans.

Observable in Swift is a property wrapper that allows for automatic notifications when the value changes.

  • Observable is a property wrapper introduced in Swift 5.1.

  • It can be used with any property that needs to be observed for changes.

  • When the value of the property changes, any views using that property will be automatically updated.

  • Example: @Published var score: Int = 0

Add your answer

Q7. implement depth first search in tree

Ans.

Depth first search in tree is implemented using recursion to explore each branch fully before moving to the next.

  • Start at the root node and recursively visit each child node before moving to the next sibling node.

  • Use a stack to keep track of nodes to visit, pushing children onto the stack before siblings.

  • Base case is when the current node is null or a leaf node, then backtrack to the parent node.

Add your answer

Q8. what are foreign keys

Ans.

Foreign keys are columns in a database table that reference the primary key of another table, establishing a relationship between the two tables.

  • Foreign keys ensure referential integrity in a database by enforcing relationships between tables.

  • They help maintain data consistency by preventing actions that would violate the relationships between tables.

  • For example, in a database with tables for 'orders' and 'customers', the 'customer_id' column in the 'orders' table would be a ...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at 123Movies TADKA

based on 8 interviews
Interview experience
3.4
Average
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 471 Interview Questions
4.2
 • 361 Interview Questions
3.9
 • 200 Interview Questions
4.0
 • 197 Interview Questions
3.9
 • 196 Interview Questions
3.6
 • 192 Interview Questions
View all
Top Buyhatke Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter