Tekion SDE 2 | Offline drive at TEKION office, bangalore.
Summary
Attended an offline drive for SDE 2 position at Tekion in Bangalore. Faced two DSA rounds with coding problems.
Full Experience
Tekion SDE 2
Offline drive at tekion office bangalore
dsa round:
1. Best time to buy and sell the stock
https://leetcode.com/problems/best-time-to-buy-and-sell-stock
2. minimum-size-subarray-sum
https://leetcode.com/problems/minimum-size-subarray-sum
Interview Questions (2)
Best Time to Buy and Sell Stock
Given an array of prices where prices[i] represents the price of a given stock on day i, find the maximum profit you can achieve by buying one day and selling one day after.
Minimum Size Subarray Sum
Given an array of positive integers and a positive integer s, find the minimal length of a contiguous subarray such that the sum of the subarray is greater than or equal to s.