Skip to content
Related Articles

Related Articles

Piramal Interview Experience for SDE-1 (1.5 Years Experienced)

View Discussion
Improve Article
Save Article
  • Last Updated : 15 Mar, 2022

Round: 1

1. Given an integer array nums, find a contiguous non-empty subarray within the array that has the largest product and return the product.

It is guaranteed that the answer will fit in a 32-bit integer.

A subarray is a contiguous subsequence of the array.

2. Given a binary tree, a target node in the binary tree, and an integer value k, print all the nodes that are at a distance k from the given target node. No parent pointers are available.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!