weighted graph
weighted graph

Find a path between two nodes in a graph such that the sum of the weights of its constituent edges is minimized.

GitHub repo with completed solution code


Image for post
Image for post

Find a path between two nodes in a tree using Breadth First Search

GitHub repo with completed solution code

CW: there will be images / gifs of slime molds in this post.


an antique board game box labeled “de-luxe anagrams”. the box is open showing scrabble-like tiles inside.
an antique board game box labeled “de-luxe anagrams”. the box is open showing scrabble-like tiles inside.

Githup repo with completed solution code

Given an array of strings, return a new array containing all the strings with any anagrams collected together.


Open book with an engraving of Euclid on the flyleaf and a title page reading “The Elements of Euclid”
Open book with an engraving of Euclid on the flyleaf and a title page reading “The Elements of Euclid”

Github repo with completed solution code & test suite

Given two integers which are not both zero, find the largest positive integer that divides into evenly into each of the integers.


row of boxes containing numbers with the contiguous boxes containing the numbers that add up to the greatest sum highlighted
row of boxes containing numbers with the contiguous boxes containing the numbers that add up to the greatest sum highlighted

GitHub Repo with completed solution code and test suite

Given an array of numbers, find the contiguous subarray within it which adds up to the largest sum.


stacked rocks and driftwood on the beach
stacked rocks and driftwood on the beach

GitHub Repo with completed solution code and test suite

“Given a string containing brackets, determine if all brackets have a matching counterpart. If all brackets in the string form balanced pairs, return true. If not, return false”


Torn paper letters on lined paper spelling out “ransom note!”
Torn paper letters on lined paper spelling out “ransom note!”

GitHub repo with completed solution code and test suite

‘Given two strings:

1. A source string, i.e. the “page”

2. A desired string, i.e. the “note”

determine if the desired “note” string can be created using only the letters found in the source “page”.’


kitten with a ball of yellow yarn
kitten with a ball of yellow yarn

GitHub repo with completed solution code and test suite.

Given a string, return all permutations of the string.


Two Sum Problem [2, 4, 7, 8, 9] 11
Two Sum Problem [2, 4, 7, 8, 9] 11

This Github repo contains my completed code for all three solution models.

“Given an array of integers and a target number, return the two integers that add up to the target number”

About

noam sauer-utley

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store