pre req for next problem we are solving
#Dutch#national#flag#sorting problem
For this problem, your goal is to sort an array of 0, 1 and 2's but you must do this in place, in linear time and without any extra space https://t.co/IC5zgXACjy
#100DaysOfCode#Coding#interview
#100DaysOfCode#coding#interview
$AMZN #interview#question
Given an array of numbers, find the maximum sum of any contiguous subarray of the array.
given the array [34, -50, 42, 14, -5, 86], the maximum sum would be 137
https://t.co/xPQVJAwC3m
single numbers now solving $GOOGL question
Given an array of integers where every integer occurs three times except for one integer, which only occurs once, find and return the non-duplicated integer. #100daysofcodechallenge#coding#interviews#video
https://t.co/QT5Dbi7WLV
137. Single Number II
Given a non-empty array of integers, every element appears three times except for one, which appears exactly once. Find that single one.
Runtime: 44 ms, faster than 83.62% of #Python online submissions for Single Number II. $GOOGL
#100DaysOfCode#coding
after #warmup with single numbers now solving real $GOOGL question
Given an array of integers where every integer occurs three times except for one integer, which only occurs once, find and return the non-duplicated integer. #100daysofcodechallenge#coding#interviews
260. Single Number 3
Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once.
#video#100DaysOfCode#coding#interview
https://t.co/Wlibc8PKVM
260. Single Number 3
Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once.
Example:
Input: [1,2,1,3,2,5]
Output: [3,5]
#100DaysOfCode#coding#interview
136. Single Number @leetcode#100DaysOfCode#coding#interview
Given a non-empty array of integers, every element appears twice except for one. Find that single one.
asked by $GOOGL $UBER $FB $AMZN