Tags » BF's

Sundown - Chapter 2 (Part 2)

Setting back into Mark’s Restaurant brought back memories for Law. It was when he and Mina had their first “date,” which was also the day that he had met Ayanna as well. 1,630 more words

Writing

Sundown - Chapter 2 (Part 1)

Law Power sat at the card table as the other man arrived and took a seat. He was a much older man than Law and wore a brown, heavy coat. 2,089 more words

Writing

Letter Combinations

Given a cell phone key pad where each number is associated with a list of letters. For the given number string, find all letter combinations of that number string. 248 more words

Problems

Bowling For Soup to Film Live DVD on Get Happy Tour

Bowling For Soup are heading out on their biggest ever UK headline tour and, to mark the occasion, the band have announced that they will be filming the London tour date for a new live DVD. 94 more words

News

Bowling For Soup Release New Music Video for 'Catalyst'

Bowling For Soup have released their first brand new music video in several years, in support of latest single ‘Catalyst‘.

The video release comes just ahead of the band’s upcoming UK tour, celebrating a massive 25 years of Bowling For Soup. 88 more words

News

513. Find Bottom Left Tree Value

recursive dfs

class Solution {
    int res = 0, maxl = 0;
    public int findBottomLeftValue(TreeNode root) {
        dfs(root, 1);
        return res;
    }
    
    private void dfs(TreeNode root, int level) {
        if (root == null) return;
        dfs(root.left, level+1);
        if (level > maxl) {
            res = root.val;
            maxl = level;
        }
        dfs(root.right, level+1);
    }
}
… 132 more words

Basics of Graph data structures

  • Graph consist of vertices and edges.
  • They are used to model many real-world examples ( likes cities, network…)

Implementing a graph with 4 vertices (A,B,C,D) and 4 edges. 116 more words