Skip to content

TipsyPixie/go-daily-coding-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Daily Coding Problem

Action Status Go Report Card License: MIT

Solutions for Daily Coding Problem, written in Go

Requirements

  • Go >= 1.17

Getting Started

Run make test to test the solutions.

make test # test all

Problems

Number Difficulty Asked By Title
#1 EASY Google Finding 2 numbers that adds up to k
#2 HARD Uber Array multiplication
#3 MEDIUM Google Tree serialization
#4 HARD Stripe Finding lowest positive number
#5 MEDIUM Jane Street Lisp pair operations
#6 HARD Google XOR linked list
#7 MEDIUM Facebook Message encoding
#8 EASY Google Counting unival tree
#9 HARD Airbnb Finding the largest sum of non-adjacent numbers
#10 MEDIUM Apple Job scheduler
#11 MEDIUM Twitter Text autocompletion
#12 HARD Amazon Climbing stairs
#13 HARD Amazon
#14 MEDIUM Google
#15 MEDIUM Facebook
#16 EASY Twitter
#17 HARD Google
#18 HARD Google
#19 MEDIUM Facebook
#20 EASY Google
#21 EASY Snapchat
#22 MEDIUM Microsoft
#23 EASY Google
#24 MEDIUM Google
#25 HARD Facebook
#26 MEDIUM Google
#27 EASY Facebook
#28 MEDIUM Palantir
#29 EASY Amazon
#30 MEDIUM Facebook
#31 EASY Google
#32 HARD Jane Street
#33 EASY Microsoft
#34 MEDIUM Quora
#35 HARD Google Segregating R, G, and Bs in linear time
#36 MEDIUM Dropbox Finding the second largest node in BST
#37 EASY Google Generating the power set of a set
#38 HARD Microsoft Arranging N queens without threatening one another
#39 MEDIUM Dropbox Conway's Game of Life
#40 HARD Google Finding the non-duplicated number
#41 MEDIUM Facebook Finding full itinerary from a list of flights
#42 HARD Google Finding a subset of S that adds up to k
#43 EASY Amazon Implementing Stack
#44 MEDIUM Google Counting inversions in a list of numbers
#45 EASY Two Sigma Writing rand function
#46 HARD Amazon Finding the longest palindromic substring
#47 EASY Facebook Calculating maximum profit with chronological stock prices
#48 MEDIUM Google Building a tree with given pre-order and in-order traversals
#49 MEDIUM Amazon Finding the maximum sum of contiguous subarray
#50 EASY Microsoft Arithmetic binary tree
#51 MEDIUM Facebook Card shuffle
#52 HARD Google LRU cache
#53 MEDIUM Apple Implementing a queue with 2 stacks
#54 HARD Dropbox Implementing a Sudoku solver
#55 EASY Microsoft URL shortener
#56 MEDIUM Google Map coloring
#57 MEDIUM Amazon Splitting string into lines of limited length
#58 MEDIUM Amazon Search in rotated sorted array
#59 HARD Google Low bandwidth file synchronization
#60 MEDIUM Facebook Partitioning set by subtotals
#61 MEDIUM Google Faster pow operation
#62 MEDIUM Facebook Couting methods to move down
#63 EASY Microsoft Finding word left-to-right or up-to-down
#64 HARD Google Knight's tour on Chessboard
#65 EASY Amazon Clockwise matrix traverse
#66 MEDIUM Square Fair coin toss with a biased coin
#67 HARD Google LFU cache