Tip 1 : practice regularly in kickstart rounds
Tip 2 : solve previous year problems
Tip 3 : coding ninjas also has google asked problems
Tip 1 : Keep it short and attractive.
Tip 2 : Be confident about everything you write in your resume.
Two questions were asked .

You are given, ‘arr’ = [1, 2, 1, 1, 1, 1] and ‘favArr’ = [1, 1, 2], then all the subarrays which contains the same elements as in the ‘favArr’ are [1, 2, 1] , [1, 2, 1, 1], [1, 2, 1, 1, 1], [1, 2, 1, 1, 1, 1], [2, 1, 1], [2, 1, 1, 1], [2, 1, 1, 1, 1]. There are total of 7 sub arrays. Hence the answer is 7.



Each product can cross the integer limits, so we should take modulo of the operation.
Take MOD = 10^9 + 7 to always stay in the limits.
Can you try solving the problem in O(1) space?
using Bitwise XOR



For given N = 4, M = 4,

The connection between system node 0 and 1 is a critical connection.
Different types of keys, normalization, some queries.
One question was asked which was implementation based



1. get(key) - Return the value of the key if the key exists in the cache, otherwise return -1.
2. put(key, value), Insert the value in the cache if the key is not already present or update the value of the given key if the key is already present. When the cache reaches its capacity, it should invalidate the least recently used item before inserting the new item.
Type 0: for get(key) operation.
Type 1: for put(key, value) operation.
1. The cache is initialized with a capacity (the maximum number of unique keys it can hold at a time).
2. Access to an item or key is defined as a get or a put operation on the key. The least recently used key is the one with the oldest access time.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?