coding challenge
Longest Contiguous Sequence of URLs in Browsing Histories | Indeed Interview
Problem Statement: We have some clickstream data that we gathered on our client's website. Using cookies, we collected snippets of users' anonymized URL histories while they...
Find the First Unique Element in a Stream of Characters at any Given Point
Problem Statement: Find the first unique element in a stream of characters at any given point. Input: a b c d a b c Output: a a a a b c d This competitive coding challenge...
Flip Equivalent Binary Trees | Coding Challenge
This is one of the popular coding challenges on the binary tree. Let's understand the flip operation first. For a binary tree, we can define a flip operation as...
[Solved] Maximum Profit by Buying and Selling Stocks Shares
Coding challenge: You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in...
Ordering Task/Packages from Given Dependencies | Python Coding Challenge
A project is currently having issues with some of their libraries where packages are not being built in the correct order. You have been tasked to build a program that will...
Count Snow Units Captured between the Hills asked in GS [Coding Challenge]
Note: This coding challenge was asked in Goldman Sach coding round and in many other technical job interviews. Given an array of non-negative integers representing the...
35+ Competitive Coding Questions with Solutions | asked in Interviews 2023
Here is the list of competitive coding questions answers. These latest coding challenges are asked in the product-based companies in recent times (2021-2022). Almost all the...
Minimum Cost to Paint all Houses with No Adjacent Houses have Same Color
Problem statement: There are N houses. The amount to color each house with Red, Green, Blue colors is given. Write a program to find the minimum amount to paint all houses such...
Maximum Average Sum of Two Subsequences of Array
Problem statement: Write a program to find the maximum sum of the average of two subsequences of the array of integer types. Example: Let's take an example. Given array:...