Add office photos
Engaged Employer

Gameskraft

3.8
based on 113 Reviews
Filter interviews by

10+ Cinépolis Interview Questions and Answers

Updated 19 Sep 2024

Q1. Unique paths from top left of a binary tree to bottom right.

Ans.

Count the number of unique paths from top left to bottom right in a binary tree.

  • Use dynamic programming to keep track of the number of paths at each node.

  • At each node, the number of paths is the sum of the number of paths from the node to the right and the node below.

  • Example: For a 2x2 binary tree, there are 2 unique paths.

Add your answer

Q2. Maximum triplet sum such that i

Ans.

Find the maximum triplet sum satisfying given conditions

  • Sort the array in ascending order

  • Iterate through the array and keep track of the maximum triplet sum meeting the conditions

  • Return the maximum triplet sum found

Add your answer

Q3. Coin change Problem of finding number of ways to achieve K value

Ans.

The coin change problem involves finding the number of ways to make a certain value using a given set of coins.

  • Use dynamic programming to solve the coin change problem efficiently.

  • Create a 1D array to store the number of ways to make each value from 0 to the target value.

  • Iterate through the coins and update the array based on the current coin's value.

  • The final answer will be stored in the last element of the array.

  • Example: For target value 5 and coins [1, 2, 5], there are 4 w...read more

Add your answer

Q4. K rotation of a an array

Ans.

Rotate an array by K positions to the right

  • Create a new array and copy elements from original array starting from index (n-k) to n-1, then copy elements from index 0 to (n-k-1)

  • Alternatively, reverse the entire array, then reverse the first k elements and the remaining n-k elements separately

  • Handle cases where k is greater than array length by taking modulo of k with array length

Add your answer
Discover Cinépolis interview dos and don'ts from real experiences

Q5. Implementation of LFU Cache

Ans.

LFU (Least Frequently Used) cache is a data structure that removes the least frequently used items when the cache is full.

  • LFU cache stores key-value pairs with a frequency count to track usage.

  • When a new item is added, its frequency count is set to 1.

  • When an existing item is accessed, its frequency count is incremented.

  • When the cache is full, the item with the lowest frequency count is removed.

  • Example: If cache size is 3 and items are accessed in the order A, B, A, C, A, B, t...read more

Add your answer

Q6. To print all permutation of a string

Ans.

Use recursion to generate all possible permutations of a given string.

  • Use recursion to swap characters in the string to generate permutations

  • Keep track of visited characters to avoid duplicates

  • Base case: when the length of the string is 1, add it to the result array

Add your answer

Q7. K DISTANCE NODES FROM CURRENT NODE

Ans.

Finding nodes at a distance of K from the current node in a tree/graph.

  • Use BFS/DFS to traverse the tree/graph.

  • Maintain a visited set to avoid revisiting nodes.

  • Keep track of the distance of each node from the current node.

  • Return all nodes at a distance of K from the current node.

Add your answer

Q8. Write SQL query

Ans.

SQL query to retrieve total sales amount by product category

  • Use GROUP BY clause to group the results by product category

  • Use SUM() function to calculate the total sales amount

  • Join the tables if necessary to get the required data

Add your answer

Q9. 1. Design a yin yang using css

Ans.

Design a yin yang using css

  • Create a circle using border-radius property

  • Use background-color to fill the circle with black and white

  • Create two smaller circles inside the main circle using absolute positioning

  • Use transform property to rotate the smaller circles

  • Add box-shadow to create the 3D effect

Add your answer

Q10. LCA OF THE BINARY TREE

Ans.

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

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

  • Compare the paths to find the last common node.

  • If one of the nodes is the ancestor of the other, return the ancestor node.

  • If either of the nodes is not present in the tree, return null.

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

Interview Process at Cinépolis

based on 7 interviews in the last 1 year
Interview experience
3.3
Average
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.1
 • 247 Interview Questions
3.5
 • 160 Interview Questions
3.2
 • 160 Interview Questions
4.1
 • 140 Interview Questions
View all
Top Gameskraft 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
Get AmbitionBox app

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