SWE Prep
Subscribe
Sign in
Home
Archive
About
Latest
Top
Word Break
Question: Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary…
Jan 27, 2021
•
Sameer Khoja
Share this post
SWE Prep
Word Break
Copy link
Facebook
Email
Notes
More
How to Break Into Software Engineering
Throughout my four years learning and experiencing Computer Science, I learned a lot of lessons along the way.
Aug 5, 2020
•
Sameer Khoja
2
Share this post
SWE Prep
How to Break Into Software Engineering
Copy link
Facebook
Email
Notes
More
Median of Two Sorted Arrays
Lessons Learned: Array parsing
Feb 21, 2021
•
Sameer Khoja
Share this post
SWE Prep
Median of Two Sorted Arrays
Copy link
Facebook
Email
Notes
More
Find the Distance Value Between Two Arrays
Lessons Learned: TreeSet, Array Manipulation
Mar 7, 2021
•
Sameer Khoja
Share this post
SWE Prep
Find the Distance Value Between Two Arrays
Copy link
Facebook
Email
Notes
More
Valid Parentheses II
Question: Implement an algorithm to print all valid (properly opened and closed) combinations of n pairs of parentheses.
Feb 28, 2021
•
Sameer Khoja
Share this post
SWE Prep
Valid Parentheses II
Copy link
Facebook
Email
Notes
More
Rotate Array
Lesson: Array Manipulation
Jan 14, 2021
•
Sameer Khoja
Share this post
SWE Prep
Rotate Array
Copy link
Facebook
Email
Notes
More
Single Number
Question: Given a non-empty array of integers nums, every element appears twice except for one.
Mar 31, 2021
•
Sameer Khoja
Share this post
SWE Prep
Single Number
Copy link
Facebook
Email
Notes
More
Smallest Range
Given an array A of integers, for each integer A[i] we may choose any x with -K <= x <= K, and add x to A[i].
Mar 24, 2021
•
Sameer Khoja
Share this post
SWE Prep
Smallest Range
Copy link
Facebook
Email
Notes
More
Word Ladder
The problem: Given two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end.
Feb 14, 2021
•
Sameer Khoja
Share this post
SWE Prep
Word Ladder
Copy link
Facebook
Email
Notes
More
Divisor Game
Alice and Bob take turns playing a game, with Alice starting first.
Apr 7, 2021
•
Sameer Khoja
Share this post
SWE Prep
Divisor Game
Copy link
Facebook
Email
Notes
More
Word Break II
Lessons learned: DFS
Feb 4, 2021
•
Sameer Khoja
Share this post
SWE Prep
Word Break II
Copy link
Facebook
Email
Notes
More
Count Largest Group
Lessons Learned: HashMaps
Apr 23, 2021
•
Sameer Khoja
Share this post
SWE Prep
Count Largest Group
Copy link
Facebook
Email
Notes
More
Share
Copy link
Facebook
Email
Notes
More
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts