Orphan vs Zombie vs Daemon processes | gmarik.info http://ift.tt/1rsf3SA...

Please Visit: http://ift.tt/1ajReyV



Orphan vs Zombie vs Daemon processes | gmarik.info

http://ift.tt/1oWJwBW



Orphan vs Zombie vs Daemon processes | gmarik.info







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1rsf5Kd

via LifeLong Community

What are the Zombie and the Orphan Processes and how to kill them? | LinuxG.net http://linuxg.net/what...

Please Visit: http://ift.tt/1ajReyV



What are the Zombie and the Orphan Processes and how to kill them? | LinuxG.net

http://ift.tt/1oWJwlq



What are the Zombie and the Orphan Processes and how to kill them? | LinuxG.net







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1rsf5tR

via LifeLong Community

Orphan Process | Geek Ride http://ift.tt/1rsf5dd

Please Visit: http://ift.tt/1ajReyV



Orphan Process | Geek Ride

http://ift.tt/1rsf5dd



Orphan Process | Geek Ride







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oWJudt

via LifeLong Community

Algorithms and Me: Binary Search Tree: Prune nodes http://ift.tt/1oWJv18...

Please Visit: http://ift.tt/1ajReyV



Algorithms and Me: Binary Search Tree: Prune nodes

http://ift.tt/1rseZ5v



Algorithms and Me: Binary Search Tree: Prune nodes







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oWJvho

via LifeLong Community

Algorithms and Me: Paths in a Binary Search Tree Traverse all paths of a given binary search tree. http...

Please Visit: http://ift.tt/1ajReyV



Algorithms and Me: Paths in a Binary Search Tree

Traverse all paths of a given binary search tree.

http://ift.tt/1rsf0q1

http://ift.tt/1oWJrON



Algorithms and Me: Paths in a Binary Search Tree







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1rsf0q3

via LifeLong Community

Algorithms and Me: Tries : Find words in maze http://ift.tt/1jLtVJg...

Please Visit: http://ift.tt/1ajReyV



Algorithms and Me: Tries : Find words in maze

http://ift.tt/1nJB345



Algorithms and Me: Tries : Find words in maze







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jLtTBe

via LifeLong Community

Why Can't Programmers.. Program? http://ift.tt/1pMovxm

Please Visit: http://ift.tt/1ajReyV



Why Can't Programmers.. Program?

http://ift.tt/1pMovxm



Why Can't Programmers.. Program?







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1nJB1sV

via LifeLong Community

The best job interview questions from Microsoft, Google… and IKEA http://ift.tt/1nJB2x5...

Please Visit: http://ift.tt/1ajReyV



The best job interview questions from Microsoft, Google… and IKEA

http://ift.tt/1jLtSNJ



The best job interview questions from Microsoft, Google… and IKEA







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1nJB2Nl

via LifeLong Community

Algorithms and Me: Curious case of Missing and Repeating elements http://ift.tt/1jLtSwW...

Please Visit: http://ift.tt/1ajReyV



Algorithms and Me: Curious case of Missing and Repeating elements

http://ift.tt/1nJB2wP



Algorithms and Me: Curious case of Missing and Repeating elements







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jLtSwY

via LifeLong Community

Algorithms and Me: Binary Search Tree: Trick questions Print last K elements of Binary Search Tree. ...

Please Visit: http://ift.tt/1ajReyV



Algorithms and Me: Binary Search Tree: Trick questions

Print last K elements of Binary Search Tree.

Replace a node with sum of nodes which are greater than the node.

Replace node with sum of its children.

http://ift.tt/1nJB2gr

http://ift.tt/1jLtUF6



Algorithms and Me: Binary Search Tree: Trick questions







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1nJB2gt

via LifeLong Community

Algorithms and Me: Prune nodes of binary search tree Given a binary search tree and two integers min...

Please Visit: http://ift.tt/1ajReyV



Algorithms and Me: Prune nodes of binary search tree

Given a binary search tree and two integers min and max, prune all nodes of binary search tree which are not in range min and max.

http://ift.tt/1nJAZkJ

http://ift.tt/1jLtQW1



Algorithms and Me: Prune nodes of binary search tree







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1nJAZkL

via LifeLong Community

Find subarray with given sum | GeeksforGeeks Given an unsorted array of nonnegative integers, find a...

Please Visit: http://ift.tt/1ajReyV



Find subarray with given sum | GeeksforGeeks

Given an unsorted array of nonnegative integers, find a continous subarray which adds to a given number.

http://ift.tt/1pp4cUP

http://ift.tt/1pp4cUT



Find subarray with given sum | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1k316IP

via LifeLong Community

c++ - How to add two numbers without using ++ or + or another arithmetic operator - Stack Overflow http...

Please Visit: http://ift.tt/1ajReyV



c++ - How to add two numbers without using ++ or + or another arithmetic operator - Stack Overflow

http://ift.tt/1nodCmo



c++ - How to add two numbers without using ++ or + or another arithmetic operator - Stack Overflow







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1nodCmq

via LifeLong Community

Add two numbers without using arithmetic operators | GeeksforGeeks Write a function Add() that returns...

Please Visit: http://ift.tt/1ajReyV



Add two numbers without using arithmetic operators | GeeksforGeeks

Write a function Add() that returns sum of two integers. The function should not use any of the arithmetic operators (+, ++, –, -, .. etc).

http://ift.tt/1kGbeSg

http://ift.tt/1u2HCYH



Add two numbers without using arithmetic operators | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1kGbeSi

via LifeLong Community

Find the first non-repeating character from a stream of characters | GeeksforGeeks Given a stream of...

Please Visit: http://ift.tt/1ajReyV



Find the first non-repeating character from a stream of characters | GeeksforGeeks

Given a stream of characters, find the first non-repeating character from stream. You need to tell the first non-repeating character in O(1) time at any moment.

http://ift.tt/1wGVW5n

http://ift.tt/1k039x4



Find the first non-repeating character from a stream of characters | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1wGVXWO

via LifeLong Community

Given a positive integer n, find the count of each digit appearing in the integers from 1 to n | CODING...

Please Visit: http://ift.tt/1ajReyV



Given a positive integer n, find the count of each digit appearing in the integers from 1 to n | CODING INTERVIEW ARCHIVES

The problem is to find the count of each digit (0 to 9), which occur in integers starting from 1, upto a given integer n.

http://ift.tt/1wGVXpU

http://ift.tt/1k036BC



Given a positive integer n, find the count of each digit appearing in the integers from 1 to n | CODING INTERVIEW ARCHIVES







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1wGVXpW

via LifeLong Community

Coding Interview Questions: No. 08 - Calculate 1+2+…+n http://ift.tt/WjCKzn...

Please Visit: http://ift.tt/1ajReyV



Coding Interview Questions: No. 08 - Calculate 1+2+…+n

http://ift.tt/1p3c284



Coding Interview Questions: No. 08 - Calculate 1+2+…+n







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1p3c4g8

via LifeLong Community

Coding Interview Questions: No. 01 - Binary Search Tree and Double-linked List Question: Convert a binary...

Please Visit: http://ift.tt/1ajReyV



Coding Interview Questions: No. 01 - Binary Search Tree and Double-linked List

Question: Convert a binary search tree to a sorted double-linked list. We can only change the target of pointers, but cannot create any new nodes.

http://ift.tt/Ugqjmr

http://ift.tt/WjCJLY



Coding Interview Questions: No. 01 - Binary Search Tree and Double-linked List







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1p3c27V

via LifeLong Community

Coding Interview Questions: No. 06 - Post-order Traversal Sequences of Binary Search Trees Problem: ...

Please Visit: http://ift.tt/1ajReyV



Coding Interview Questions: No. 06 - Post-order Traversal Sequences of Binary Search Trees

Problem: Determine whether an input array is a post-order traversal sequence of a binary tree or not. If it is, return true; otherwise return false. Assume all numbers in an input array are unique.

http://ift.tt/WjCJvn

http://ift.tt/1p3c1Rz



Coding Interview Questions: No. 06 - Post-order Traversal Sequences of Binary Search Trees







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/WjCJvr

via LifeLong Community

Given an array of integers, s... | CareerCup http://ift.tt/1yE1qRh

Please Visit: http://ift.tt/1ajReyV



Given an array of integers, s... | CareerCup

http://ift.tt/1yE1qRh



Given an array of integers, s... | CareerCup







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1yE1r7v

via LifeLong Community

Regular Expression Matching | LeetCode Implement regular expression matching with support for ‘.’ and...

Please Visit: http://ift.tt/1ajReyV



Regular Expression Matching | LeetCode

Implement regular expression matching with support for ‘.’ and ‘*’.

http://ift.tt/1qiw6Hk

http://ift.tt/1mlie6L



Regular Expression Matching | LeetCode







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1qiw9CN

via LifeLong Community

Yu's Coding Garden : leetCode Question: Word Ladder II Given two words (start and end), and a dictionary...

Please Visit: http://ift.tt/1ajReyV



Yu's Coding Garden : leetCode Question: Word Ladder II

Given two words (start and end), and a dictionary, find all shortest transformation sequence(s) from start to end, such that:

Only one letter can be changed at a time

Each intermediate word must exist in the dictionary

http://ift.tt/1oKIdGd

http://ift.tt/1mWzR1g



Yu's Coding Garden : leetCode Question: Word Ladder II







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oKIg4W

via LifeLong Community

LeetCode - Word Ladder | Darren's Blog Given two words (start and end), and a dictionary, find the ...

Please Visit: http://ift.tt/1ajReyV



LeetCode - Word Ladder | Darren's Blog



Given two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such that:

Only one letter can be changed at a time

Each intermediate word must exist in the dictionary

http://ift.tt/1oKIdpG

http://ift.tt/1mWzR1c



LeetCode - Word Ladder | Darren's Blog







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oKIdpI

via LifeLong Community

Top 10 Google Interview Questions Answers for Software Engineer - Books, Resources http://javarevisi...

Please Visit: http://ift.tt/1ajReyV



Top 10 Google Interview Questions Answers for Software Engineer - Books, Resources

http://ift.tt/1fxdGuk



Top 10 Google Interview Questions Answers for Software Engineer - Books, Resources







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oKIfOn

via LifeLong Community

Greedy Algorithms | Set 5 (Prim’s Minimum Spanning Tree (MST)) | GeeksforGeeks http://ift.tt/12zZ8j4...

Please Visit: http://ift.tt/1ajReyV



Greedy Algorithms | Set 5 (Prim’s Minimum Spanning Tree (MST)) | GeeksforGeeks

http://ift.tt/1stB4l5



Greedy Algorithms | Set 5 (Prim’s Minimum Spanning Tree (MST)) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/Ubhbzl

via LifeLong Community

Coding Recipies: Max Spacing for K-order Cluster Find maximum spacing of a K-clustering of the given...

Please Visit: http://ift.tt/1ajReyV



Coding Recipies: Max Spacing for K-order Cluster

Find maximum spacing of a K-clustering of the given Graph (in the given below eg. K=4)

http://ift.tt/UbhbiZ

http://ift.tt/WiLXIy



Coding Recipies: Max Spacing for K-order Cluster







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/Ubhev7

via LifeLong Community

Greedy Algorithms | Set 2 (Kruskal’s Minimum Spanning Tree Algorithm) | GeeksforGeeks 1. Sort all the...

Please Visit: http://ift.tt/1ajReyV



Greedy Algorithms | Set 2 (Kruskal’s Minimum Spanning Tree Algorithm) | GeeksforGeeks



1. Sort all the edges in non-decreasing order of their weight.

2. Pick the smallest edge. Check if it forms a cycle with the spanning tree

formed so far. If cycle is not formed, include this edge. Else, discard it.

3. Repeat step#2 until there are (V-1) edges in the spanning tree.

The step#2 uses Union-Find algorithm (Link->http://ift.tt/UbhbiO) to detect cycle.

http://ift.tt/UkFhsm

http://ift.tt/Ubhev1



Greedy Algorithms | Set 2 (Kruskal’s Minimum Spanning Tree Algorithm) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/WiM0nG

via LifeLong Community

Union-Find Algorithm | Set 1 (Detect Cycle in a an Undirected Graph) | GeeksforGeeks http://www.geek...

Please Visit: http://ift.tt/1ajReyV



Union-Find Algorithm | Set 1 (Detect Cycle in a an Undirected Graph) | GeeksforGeeks

http://ift.tt/1lOrEHl



Union-Find Algorithm | Set 1 (Detect Cycle in a an Undirected Graph) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/WiLXs8

via LifeLong Community

Disjoint-set data structure | MathBlog http://ift.tt/WiM07a

Please Visit: http://ift.tt/1ajReyV



Disjoint-set data structure | MathBlog

http://ift.tt/WiM07a



Disjoint-set data structure | MathBlog







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/Ubhb2q

via LifeLong Community

Coding Recipies: Rotated Strings Check if the given strings are rotated form of each other. http://c...

Please Visit: http://ift.tt/1ajReyV



Coding Recipies: Rotated Strings

Check if the given strings are rotated form of each other.

http://ift.tt/1nL9FY8

http://ift.tt/1oJXVS1



Coding Recipies: Rotated Strings







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1nL9H2e

via LifeLong Community

SPOJ; The Next Palindrome | Bytehood http://ift.tt/1oJzS5z

Please Visit: http://ift.tt/1ajReyV



SPOJ; The Next Palindrome | Bytehood

http://ift.tt/1oJzS5z



SPOJ; The Next Palindrome | Bytehood







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mVIlFC

via LifeLong Community

fahd.blog: Retrying Operations using Spring's RetryTemplate final RetryTemplate template = new RetryTemplate...

Please Visit: http://ift.tt/1ajReyV



fahd.blog: Retrying Operations using Spring's RetryTemplate

final RetryTemplate template = new RetryTemplate();template.setRetryPolicy(new SimpleRetryPolicy(5));final ExponentialBackOffPolicy backOffPolicy = new ExponentialBackOffPolicy();backOffPolicy.setInitialInterval(1000L);template.setBackOffPolicy(backOffPolicy); // execute the operation using the retry templatetemplate.execute(new RetryCallback<Remote>() { @Override public Remote doWithRetry(final RetryContext context) throws Exception { return (Remote) Naming.lookup(" rmi://somehost:2106/MyApp (Link->http://ift.tt/1mVIkBM) "); }});

http://ift.tt/1mVIj0J

http://ift.tt/1oJzT9P



fahd.blog: Retrying Operations using Spring's RetryTemplate







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mVIj0L

via LifeLong Community

fahd.blog: Retrying Operations in Java http://ift.tt/1mVIiKf...

Please Visit: http://ift.tt/1ajReyV



fahd.blog: Retrying Operations in Java

http://ift.tt/1eBDkzz



fahd.blog: Retrying Operations in Java







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mVIj0t

via LifeLong Community

With My Eyes: 25 Horses, 5 lanes, no clock, top 5 (not 3) The idea is that you have 25 horses, a 5 lane...

Please Visit: http://ift.tt/1ajReyV



With My Eyes: 25 Horses, 5 lanes, no clock, top 5 (not 3)

The idea is that you have 25 horses, a 5 lane track, no timer, and want to find the fastest 5 horses. How many races can you do it in?

http://ift.tt/1oJzMLt

http://ift.tt/1mVIh8Z



With My Eyes: 25 Horses, 5 lanes, no clock, top 5 (not 3)







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oJzSm4

via LifeLong Community

25 horses 5 tracks 3 fastest puzzle Let’s say that you have 25 horses, and you want to pick the fastest...

Please Visit: http://ift.tt/1ajReyV



25 horses 5 tracks 3 fastest puzzle

Let’s say that you have 25 horses, and you want to pick the fastest 3 horses out of those 25. In each race, only 5 horses can run at the same time because there are only 5 tracks. What is the minimum number of races required to find the 3 fastest horses without using a stopwatch?

http://ift.tt/1mVIby7

http://ift.tt/1oJzHqU



25 horses 5 tracks 3 fastest puzzle







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mVIby9

via LifeLong Community

LeetCode - Binary Tree Postorder Traversal | Darren's Blog Given a binary tree, return the postorder...

Please Visit: http://ift.tt/1ajReyV



LeetCode - Binary Tree Postorder Traversal | Darren's Blog

Given a binary tree, return the postorder traversal of its nodes' values.

http://ift.tt/1mhMwY5

http://ift.tt/1mVI3Pe



LeetCode - Binary Tree Postorder Traversal | Darren's Blog







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oJzC6E

via LifeLong Community

Morris traversal for Preorder | GeeksforGeeks 1...If left child is null, print the current node data...

Please Visit: http://ift.tt/1ajReyV



Morris traversal for Preorder | GeeksforGeeks

1...If left child is null, print the current node data. Move to right child.

….Else, Make the right child of the inorder predecessor point to the current node. Two cases arise:

………a) The right child of the inorder predecessor already points to the current node. Set right child to NULL. Move to right child of current node.

………b) The right child is NULL. Set it to current node. Print current node’s data and move to left child of current node.

2...Iterate until current node is not NULL.

http://ift.tt/1oJzynn

http://ift.tt/1mVI05X



Morris traversal for Preorder | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oJzwfv

via LifeLong Community

Coding Recipies: Morris Inorder-Traversal http://ift.tt/1oJzrs3...

Please Visit: http://ift.tt/1ajReyV



Coding Recipies: Morris Inorder-Traversal

http://ift.tt/1mVHUv8



Coding Recipies: Morris Inorder-Traversal







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mVHUvc

via LifeLong Community

Threaded binary tree - Wikipedia, the free encyclopedia A binary tree is threaded by making all right...

Please Visit: http://ift.tt/1ajReyV



Threaded binary tree - Wikipedia, the free encyclopedia

A binary tree is threaded by making all right child pointers that would normally be null point to the inorder successor of the node (if it exists) , and all left child pointers that would normally be null point to the inorder predecessor of the node."

http://ift.tt/1mVmkqu

http://ift.tt/1t4Lrby



Threaded binary tree - Wikipedia, the free encyclopedia







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mVmkqv

via LifeLong Community

LeetCode - Binary Tree Postorder Traversal | Darren's Blog Given a binary tree, return the postorder...

Please Visit: http://ift.tt/1ajReyV



LeetCode - Binary Tree Postorder Traversal | Darren's Blog

Given a binary tree, return the postorder traversal of its nodes' values.

http://ift.tt/1mhMwY5

http://ift.tt/WhRaQS



LeetCode - Binary Tree Postorder Traversal | Darren's Blog







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/WhRcZa

via LifeLong Community

Maximum Height (Depth) of a Binary Tree | LeetCode Given a binary tree, find its maximum height. http...

Please Visit: http://ift.tt/1ajReyV



Maximum Height (Depth) of a Binary Tree | LeetCode

Given a binary tree, find its maximum height.

http://ift.tt/1mhMyiA

http://ift.tt/WhRaAt



Maximum Height (Depth) of a Binary Tree | LeetCode







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mhMwHI

via LifeLong Community

Print Edge Nodes (Boundary) of a Binary Tree | LeetCode Print all edge nodes of a complete binary tree...

Please Visit: http://ift.tt/1ajReyV



Print Edge Nodes (Boundary) of a Binary Tree | LeetCode



Print all edge nodes of a complete binary tree anti-clockwise.

That is all the left most nodes starting at root, then the leaves left to right and finally all the rightmost nodes.

In other words, print the boundary of the tree.

Variant: Print the same for a tree that is not complete.

http://ift.tt/WhR8Zo

http://ift.tt/1t1QdXk



Print Edge Nodes (Boundary) of a Binary Tree | LeetCode







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mhMtvl

via LifeLong Community

Algorithm of the Week: Topological Sort of a Graph | Architects Zone 1. Make an empty list L and an ...

Please Visit: http://ift.tt/1ajReyV



Algorithm of the Week: Topological Sort of a Graph | Architects Zone

1. Make an empty list L and an empty list S;

2. Put all the vertices with no predecessors in L;

3. While L has items in it;

3.1. Pop an item from L – n, and push it to S;

3.2. For each vertex m adjacent to n;

3.2.1. Remove (n, m);

3.2.2. If m has no predecessors – push it to L;

http://ift.tt/1mTrHGX

http://ift.tt/1t1QdXk



Algorithm of the Week: Topological Sort of a Graph | Architects Zone







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mTrHXa

via LifeLong Community

Tree Traversals | GeeksforGeeks http://ift.tt/MUe4ZJ

Please Visit: http://ift.tt/1ajReyV



Tree Traversals | GeeksforGeeks

http://ift.tt/MUe4ZJ



Tree Traversals | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1t1QdH1

via LifeLong Community

Breadth First Search – BFS | mymagnadata - enqueue the start node to a Queue - make the start node as...

Please Visit: http://ift.tt/1ajReyV



Breadth First Search – BFS | mymagnadata

- enqueue the start node to a Queue

- make the start node as visited

- while queue is not empty

- dequeue the node lets say u

- print or whatever you want to

- for every adjacent node v of u

- if v is not already visited

- mark v as visited

- enqueue v to the Queue

http://ift.tt/1t1QdGV

http://ift.tt/1mTrFie



Breadth First Search – BFS | mymagnadata







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1t1Qc5O

via LifeLong Community

Depth First Traversal for a Graph | GeeksforGeeks http://ift.tt/1mTrEL1...

Please Visit: http://ift.tt/1ajReyV



Depth First Traversal for a Graph | GeeksforGeeks

http://ift.tt/1t1Qc5G



Depth First Traversal for a Graph | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mTrEL5

via LifeLong Community

Back to Basics - Generic Data Structures and Algorithms In .NET 2.0 - CodeProject http://ift.tt/ugMGUG...

Please Visit: http://ift.tt/1ajReyV



Back to Basics - Generic Data Structures and Algorithms In .NET 2.0 - CodeProject

http://ift.tt/1t1Qdqs



Back to Basics - Generic Data Structures and Algorithms In .NET 2.0 - CodeProject







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mTrEuB

via LifeLong Community

Diameter of a Binary Tree | GeeksforGeeks The diameter of a tree (sometimes called the width) is the...

Please Visit: http://ift.tt/1ajReyV



Diameter of a Binary Tree | GeeksforGeeks

The diameter of a tree (sometimes called the width) is the number of nodes on the longest path between two leaves in the tree

http://ift.tt/1t1QbyX

http://ift.tt/1mTrEea



Diameter of a Binary Tree | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1t1QbPb

via LifeLong Community

Why does Outlook map Ctrl+F to Forward instead of Find, like all right-thinking programs? - The Old ...

Please Visit: http://ift.tt/1ajReyV



Why does Outlook map Ctrl+F to Forward instead of Find, like all right-thinking programs? - The Old New Thing - Site Home - MSDN Blogs

http://ift.tt/W6ZFhp



Why does Outlook map Ctrl+F to Forward instead of Find, like all right-thinking programs? - The Old New Thing - Site Home - MSDN Blogs







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jNsqKZ

via LifeLong Community

Lexicographically Minimal String Rotation | Algorithms Notes Given a string S with length n, design...

Please Visit: http://ift.tt/1ajReyV



Lexicographically Minimal String Rotation | Algorithms Notes



Given a string S with length n, design a linear time algorithm to find the lexicographically minimal string among all rotation of S.

Solution:

The idea is to find the minimal string rotation in S[1..j] in increasing order of j. Let k be the starting position of the minimal string rotation in S[1..j]. Let i be the length of the longest suffix of S[1..j] satisfies S[k..k+i-1] = S[j-i+1..j]. If S[j+1] < S[k+i], then it means S[j-i+1..j+1] is smaller than S[k..k+i] and hence j-i+1 is the starting position of the minimal string rotation in S[1..j+1]. Since the length of the longest suffix equals the prefix of S[k..k+n] can be computed in a way similar KMP in linear time, the total complexity is linear.

This problem can be solved in linear time with O(1) space

http://ift.tt/1jNsieq

http://ift.tt/1yo5K6N



Lexicographically Minimal String Rotation | Algorithms Notes







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jNskmA

via LifeLong Community

algorithm - Minimum Lexicographic Rotation Using Suffix Array - Stack Overflow It seems that you should...

Please Visit: http://ift.tt/1ajReyV



algorithm - Minimum Lexicographic Rotation Using Suffix Array - Stack Overflow



It seems that you should take first suffix in SA, which index is between 0 and length(S) - 1.

Some explanation: all rotations of S are in the beginning of S' suffixes from positions between 0 and length(S) - 1. Suffix array keeps suffixes in lexicographical order, so you just need to pick the first one which begins from rotation of S.

http://ift.tt/1jNscmV

http://ift.tt/1yo5Efw



algorithm - Minimum Lexicographic Rotation Using Suffix Array - Stack Overflow







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1yo5Efy

via LifeLong Community

Suffix Array Part 3 — Longest Common Substring (LCS) | roman10 http://ift.tt/1l0B83c...

Please Visit: http://ift.tt/1ajReyV



Suffix Array Part 3 — Longest Common Substring (LCS) | roman10

http://ift.tt/W7T3iR



Suffix Array Part 3 — Longest Common Substring (LCS) | roman10







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1l0B6Iu

via LifeLong Community

North Rivers: Longest Repeated Substring You are to find the longest repeated substring in a given text...

Please Visit: http://ift.tt/1ajReyV



North Rivers: Longest Repeated Substring

You are to find the longest repeated substring in a given text. Repeated substrings may not overlap. If more than one substring is repeated with the same length, print the first one you find.(starting from the beginning of the text). NOTE: The substrings can't be all spaces.

http://ift.tt/1l0B82Z

http://ift.tt/W7T5qS



North Rivers: Longest Repeated Substring







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1l0B6s9

via LifeLong Community

Suffix Array | Set 1 (Introduction) | GeeksforGeeks http://ift.tt/W7T5al...

Please Visit: http://ift.tt/1ajReyV



Suffix Array | Set 1 (Introduction) | GeeksforGeeks

http://ift.tt/MaW5xr



Suffix Array | Set 1 (Introduction) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1l0B7Ms

via LifeLong Community

Tic-tac-toe AI - Java Game Programming Case Study http://ift.tt/WefAuM...

Please Visit: http://ift.tt/1ajReyV



Tic-tac-toe AI - Java Game Programming Case Study

http://ift.tt/1kLgIQj



Tic-tac-toe AI - Java Game Programming Case Study







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/WefAuO

via LifeLong Community

Tic Tac Toe: Understanding the Minimax Algorithm - Never Stop Building http://ift.tt/U6gtDy...

Please Visit: http://ift.tt/1ajReyV



Tic Tac Toe: Understanding the Minimax Algorithm - Never Stop Building

http://ift.tt/1mP16f5



Tic Tac Toe: Understanding the Minimax Algorithm - Never Stop Building







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/U6gszy

via LifeLong Community

Hamed's Introduction to Game Algorithms http://ift.tt/WefxPt

Please Visit: http://ift.tt/1ajReyV



Hamed's Introduction to Game Algorithms

http://ift.tt/WefxPt



Hamed's Introduction to Game Algorithms







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/U6gqI2

via LifeLong Community

Negamax - Wikipedia, the free encyclopedia http://ift.tt/YmLqzI

Please Visit: http://ift.tt/1ajReyV



Negamax - Wikipedia, the free encyclopedia

http://ift.tt/YmLqzI



Negamax - Wikipedia, the free encyclopedia







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/U6gsiZ

via LifeLong Community

My Experience: Impartial games problems http://ift.tt/WefAed...

Please Visit: http://ift.tt/1ajReyV



My Experience: Impartial games problems

http://ift.tt/WefAed



My Experience: Impartial games problems







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/U6gs2z

via LifeLong Community

Just Programming...: Interviewstreet Fibonacci Factor - Amazon India Coding Challenge : Solution C++...

Please Visit: http://ift.tt/1ajReyV



Just Programming...: Interviewstreet Fibonacci Factor - Amazon India Coding Challenge : Solution C++

Given a number k, find the smallest Fibonacci number f that shares a

common factor d( other than 1 ) with it.

http://ift.tt/1nBcF9h

http://ift.tt/1oCkM1Q



Just Programming...: Interviewstreet Fibonacci Factor - Amazon India Coding Challenge : Solution C++







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1nBcD1e

via LifeLong Community

Just Programming...: Interviewstreet Meeting Schedules - Amazon India Coding Challenge : Solution C+...

Please Visit: http://ift.tt/1ajReyV



Just Programming...: Interviewstreet Meeting Schedules - Amazon India Coding Challenge : Solution C++

Given M busy-time slots of N people, You need to print all the

available time slots when all the N people can schedule a meeting for a

duration of K minutes.

http://ift.tt/1oCkJTO

http://ift.tt/1nBcESR



Just Programming...: Interviewstreet Meeting Schedules - Amazon India Coding Challenge : Solution C++







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oCkM1G

via LifeLong Community

Finding prime numbers | LeetCode Output all prime numbers up to a specified integer n. http://leetcode.com...

Please Visit: http://ift.tt/1ajReyV



Finding prime numbers | LeetCode

Output all prime numbers up to a specified integer n.

http://ift.tt/1oCkJD4

http://ift.tt/1nBcBqd



Finding prime numbers | LeetCode







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oCkJD6

via LifeLong Community

Efficient program to print all prime factors of a given number Given a number n, write an efficient ...

Please Visit: http://ift.tt/1ajReyV



Efficient program to print all prime factors of a given number

Given a number n, write an efficient function to print all prime factors (Link->http://ift.tt/1pBY2TB) of n. For example, if the input number is 12, then output should be “2 2 3″. And if the input number is 315, then output should be “3 3 5 7″.

http://ift.tt/1pBY4eg

http://ift.tt/1nBcBpY



Efficient program to print all prime factors of a given number







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oCkLuK

via LifeLong Community

Break the CODE!!!: Interviewstreet Challenge: Even Tree You are given a tree (a simple connected graph...

Please Visit: http://ift.tt/1ajReyV



Break the CODE!!!: Interviewstreet Challenge: Even Tree

You are given a tree (a simple connected graph with no cycles).You have to remove as many edges from the tree as possible to obtain a forest (Link->http://ift.tt/1oCkJ6c) with the condition that : Each connected component of the forest contains even number of vertices

Your task is to calculate the number of removed edges in such a forest.

http://ift.tt/1oCkLec

http://ift.tt/1nBcASW



Break the CODE!!!: Interviewstreet Challenge: Even Tree







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oCkLee

via LifeLong Community

Break the CODE!!!: Interviewstreet Challenge: Flowers You and your K-1 friends want to buy N flowers...

Please Visit: http://ift.tt/1ajReyV



Break the CODE!!!: Interviewstreet Challenge: Flowers

You and your K-1 friends want to buy N flowers. Flower number i has host ci. Unfortunately the seller does not like a customer to buy a lot of flowers, so he tries to change the price of flowers for customer who had bought flowers before. More precisely if a customer has already bought x flowers, he should pay (x+1)*ci dollars to buy flower number i.

You and your K-1 firends want to buy all N flowers in such a way that you spend the as few money as possible.

http://ift.tt/1oBZd1h

http://ift.tt/1nAMxeS



Break the CODE!!!: Interviewstreet Challenge: Flowers







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oBZd1j

via LifeLong Community

Just Programming...: Interviewstreet Median Challenge Part 2 Solution C++ The median of M numbers is...

Please Visit: http://ift.tt/1ajReyV



Just Programming...: Interviewstreet Median Challenge Part 2 Solution C++

The median of M numbers is defined as the middle number after sorting them in order, if M is odd or the average number of the middle 2 numbers (again after sorting) if M

is even. Given an empty number list at first. Then you can add or

remove some number from the list. For each add or remove operation,

output the median of numbers in the list.

http://ift.tt/1oBZa5H

http://ift.tt/1nAMv6t



Just Programming...: Interviewstreet Median Challenge Part 2 Solution C++







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oBZcKM

via LifeLong Community

Just Programming...: Interviewstreet String Reduction Solution C++ You are given a string consisting...

Please Visit: http://ift.tt/1ajReyV



Just Programming...: Interviewstreet String Reduction Solution C++

You are given a string consisting of a, b, and c's and following operation is allowed: Take any two adjacent character and they can be replaced with third character. For ex: a and b with c, b and c with a. Find length of smallest string, the operation can be applied repeatedly.

http://ift.tt/1sgFsmA

http://ift.tt/1npVJ0G



Just Programming...: Interviewstreet String Reduction Solution C++







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1npVJ0I

via LifeLong Community

Function to check if a singly linked list is palindrome | GeeksforGeeks Given a singly linked list of...

Please Visit: http://ift.tt/1ajReyV



Function to check if a singly linked list is palindrome | GeeksforGeeks

Given a singly linked list of characters, write a function that returns true if the given list is palindrome, else false.

http://ift.tt/1ld29AZ

http://ift.tt/1sgFs68



Function to check if a singly linked list is palindrome | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1npVGly

via LifeLong Community

Just Programming...: find all anagrams of a word in a file, Java Code : Amazon Interview Find all anagrams...

Please Visit: http://ift.tt/1ajReyV



Just Programming...: find all anagrams of a word in a file, Java Code : Amazon Interview

Find all anagrams of a word in a file. Input - only file name and word. Output - all set of word in file that are anagrams of word. Write production quality code.

http://ift.tt/1npVFOw

http://ift.tt/1sgFryU



Just Programming...: find all anagrams of a word in a file, Java Code : Amazon Interview







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1npVFOy

via LifeLong Community

Find duplicates in O(n) time and O(1) extra space | GeeksforGeeks Given an array of n elements which...

Please Visit: http://ift.tt/1ajReyV



Find duplicates in O(n) time and O(1) extra space | GeeksforGeeks

Given an array of n elements which contains elements from 0 to n-1, with any of these numbers appearing any number of times. Find these repeating numbers in O(n) and using only constant memory space.

http://ift.tt/WdrK6Z

http://ift.tt/1mbFu74



Find duplicates in O(n) time and O(1) extra space | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/WdrK70

via LifeLong Community

Finding the Minimum Window in S which Contains All Elements from T | LeetCode Given a set T of characters...

Please Visit: http://ift.tt/1ajReyV



Finding the Minimum Window in S which Contains All Elements from T | LeetCode

Given a set T of characters and a string S, find the minimum window in S which will contain all the characters in T in complexity O(n).

http://ift.tt/1lXrB1P

http://ift.tt/WdrMfd



Finding the Minimum Window in S which Contains All Elements from T | LeetCode







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mbFtQx

via LifeLong Community

Maximum Rectangle | N00tc0d3r Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle...

Please Visit: http://ift.tt/1ajReyV



Maximum Rectangle | N00tc0d3r

Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.

http://ift.tt/1jrIgdI

http://ift.tt/1yhGBuA



Maximum Rectangle | N00tc0d3r







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jrIgdK

via LifeLong Community

Dynamic Programming | Set 27 (Maximum sum rectangle in a 2D matrix) | GeeksforGeeks http://www.geeks...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 27 (Maximum sum rectangle in a 2D matrix) | GeeksforGeeks

http://ift.tt/1yhGAqH



Dynamic Programming | Set 27 (Maximum sum rectangle in a 2D matrix) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jrIguc

via LifeLong Community

Removing Blank Lines in Eclipse | MCU on Eclipse http://ift.tt/1jrIf9G...

Please Visit: http://ift.tt/1ajReyV



Removing Blank Lines in Eclipse | MCU on Eclipse

http://ift.tt/1yhGy1P



Removing Blank Lines in Eclipse | MCU on Eclipse







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1yhGy1R

via LifeLong Community

Avid TV watcher | PROGRAMMING INTERVIEWS There is a TV avid person, who wants to spend his maximum time...

Please Visit: http://ift.tt/1ajReyV



Avid TV watcher | PROGRAMMING INTERVIEWS

There is a TV avid person, who wants to spend his maximum time on TV. There are N channels that telecast programs of different length at different timings. WAP to find the program and channel number so that the person can spend his max time on TV.

http://ift.tt/W2sewy

http://ift.tt/1sS1EAO



Avid TV watcher | PROGRAMMING INTERVIEWS







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/W2sewz

via LifeLong Community

Unique Paths in 2D grid | PROGRAMMING INTERVIEWS There is an m x n grid. One can only move either down...

Please Visit: http://ift.tt/1ajReyV



Unique Paths in 2D grid | PROGRAMMING INTERVIEWS

There is an m x n grid. One can only move either down or right at any point in time. One is trying to reach the bottom-right corner of the grid.

How many possible unique paths are there?

http://ift.tt/1sS1Ekm

http://ift.tt/W2sgUW



Unique Paths in 2D grid | PROGRAMMING INTERVIEWS







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1sS1DwM

via LifeLong Community

Max possible sum of non-consecutive elements | PROGRAMMING INTERVIEWS There is an integer array consisting...

Please Visit: http://ift.tt/1ajReyV



Max possible sum of non-consecutive elements | PROGRAMMING INTERVIEWS

There is an integer array consisting positive numbers only. Find maximum possible sum of elements such that there are no 2 consecutive elements present in the sum.

http://ift.tt/W2seg3

http://ift.tt/1sS1E42



Max possible sum of non-consecutive elements | PROGRAMMING INTERVIEWS







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/W2sewj

via LifeLong Community

Get maximum sum from coins in a line | PROGRAMMING INTERVIEWS There are n coins in a line. Two players...

Please Visit: http://ift.tt/1ajReyV



Get maximum sum from coins in a line | PROGRAMMING INTERVIEWS

There are n coins in a line. Two players take turns to take a coin from one of the ends of the line until there are no more coins left. The player with the larger amount of money wins. Assume that you go first, describe an algorithm to compute the maximum amount of money you can win.

http://ift.tt/1img0Zm

http://ift.tt/W2sdsv



Get maximum sum from coins in a line | PROGRAMMING INTERVIEWS







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1sS1ARQ

via LifeLong Community

Integer Knapsack Problem( Duplicate items permitted) | HackerEarth Academy You have n types of items...

Please Visit: http://ift.tt/1ajReyV



Integer Knapsack Problem( Duplicate items permitted) | HackerEarth Academy

You have n types of items, where the ith item type has an integer size si and a real value vi. You need to fill a knapsack of total capacity C with a selection of items of maximum value. You can add multiple items of the same type to the knapsack.

http://ift.tt/W2sawP

http://ift.tt/1sS1Ccb



Integer Knapsack Problem( Duplicate items permitted) | HackerEarth Academy







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/W2scVs

via LifeLong Community

2 Egg Puzzle | PROGRAMMING INTERVIEWS You are given 2 identical eggs such that eggs always break if ...

Please Visit: http://ift.tt/1ajReyV



2 Egg Puzzle | PROGRAMMING INTERVIEWS

You are given 2 identical eggs such that eggs always break if dropped from floors above a particular floor of a 100-storey building. You need to find that particular floor in minimum number of egg droppings.

http://ift.tt/1scP9lO

http://ift.tt/1kn5z3B



2 Egg Puzzle | PROGRAMMING INTERVIEWS







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1kn5z3F

via LifeLong Community

Dynamic Programming | Set 24 (Optimal Binary Search Tree) | GeeksforGeeks Given a sorted array keys[...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 24 (Optimal Binary Search Tree) | GeeksforGeeks

Given a sorted array keys[0.. n-1] of search keys and an array freq[0.. n-1] of frequency counts, where freq[i] is the number of searches to keys[i]. Construct a binary search tree of all keys such that the total cost of all the searches is as small as possible.

http://ift.tt/1kn5Ao2

http://ift.tt/1kn5Ao4



Dynamic Programming | Set 24 (Optimal Binary Search Tree) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1scPc18

via LifeLong Community

Dynamic Programming - Subset Sum Problem Given a set of non-negative integers, and a value sum, determine...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming - Subset Sum Problem

Given a set of non-negative integers, and a value sum, determine if there is a subset of the given set with sum equal to given sum.

http://ift.tt/1scPbKw

http://ift.tt/1kn5A7B



Dynamic Programming - Subset Sum Problem







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1scPbKz

via LifeLong Community

Machine Learning, etc: Linear Programming for Maximum Independent Set http://ift.tt/1dQt69u...

Please Visit: http://ift.tt/1ajReyV



Machine Learning, etc: Linear Programming for Maximum Independent Set

http://ift.tt/1scP8OW



Machine Learning, etc: Linear Programming for Maximum Independent Set







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1kn5yMR

via LifeLong Community

Dynamic Programming | Set 26 (Largest Independent Set Problem) | GeeksforGeeks Given a Binary Tree, ...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 26 (Largest Independent Set Problem) | GeeksforGeeks

Given a Binary Tree, find size of the Largest Independent Set(LIS) in it. A subset of all tree nodes is an independent set if there is no edge between any two nodes of the subset.

http://ift.tt/1scP8OM

http://ift.tt/1kn5zRd



Dynamic Programming | Set 26 (Largest Independent Set Problem) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1scP8ON

via LifeLong Community

Maximum size square sub-matrix with all 1s | PROGRAMMING INTERVIEWS Given a matrix consisting only 0s...

Please Visit: http://ift.tt/1ajReyV



Maximum size square sub-matrix with all 1s | PROGRAMMING INTERVIEWS

Given a matrix consisting only 0s and 1s, find the maximum size square sub-matrix with all 1s.

http://ift.tt/1kn5zQV

http://ift.tt/1scP8yy



Maximum size square sub-matrix with all 1s | PROGRAMMING INTERVIEWS







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1kn5zQZ

via LifeLong Community

Dynamic Programming | Set 17 (Palindrome Partitioning) | GeeksforGeeks Given a string, a partitioning...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 17 (Palindrome Partitioning) | GeeksforGeeks

Given a string, a partitioning of the string is a palindrome partitioning if every substring of the partition is a palindrome. For example, “aba|b|bbabb|a|b|aba” is a palindrome partitioning of “ababbbabbababa”. Determine the fewest cuts needed for palindrome partitioning of a given string.

http://ift.tt/1yekW6t

http://ift.tt/1jG651O



Dynamic Programming | Set 17 (Palindrome Partitioning) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1yekW6v

via LifeLong Community

Dynamic Programming | Set 19 (Word Wrap Problem) | GeeksforGeeks Given a sequence of words, and a limit...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 19 (Word Wrap Problem) | GeeksforGeeks

Given a sequence of words, and a limit on the number of characters that can be put in one line (line width). Put line breaks in the given sequence such that the lines are printed neatly. Assume that the length of each word is smaller than the line width.

http://ift.tt/1mN8ipZ

http://ift.tt/1jG64Lj



Dynamic Programming | Set 19 (Word Wrap Problem) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1yekVQ9

via LifeLong Community

Dynamic Programming | Set 20 (Maximum Length Chain of Pairs) | GeeksforGeeks You are given n pairs of...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 20 (Maximum Length Chain of Pairs) | GeeksforGeeks

You are given n pairs of numbers. In every pair, the first number is always smaller than the second number. A pair (c, d) can follow another pair (a, b) if b < c. Chain of pairs can be formed in this fashion. Find the longest chain which can be formed from a given set of pairs.

http://ift.tt/1yekVPV

http://ift.tt/1yekYv3



Dynamic Programming | Set 20 (Maximum Length Chain of Pairs) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1yekYv5

via LifeLong Community

Dynamic Programming | Set 21 (Variations of LIS) | GeeksforGeeks http://ift.tt/1yekVzB...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 21 (Variations of LIS) | GeeksforGeeks

http://ift.tt/1jG62mM



Dynamic Programming | Set 21 (Variations of LIS) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jG64uO

via LifeLong Community

Dynamic Programming | Set 22 (Box Stacking Problem) | GeeksforGeeks You are given a set of n types of...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 22 (Box Stacking Problem) | GeeksforGeeks

You are given a set of n types of rectangular 3-D boxes, where the i^th box has height h(i), width w(i) and depth d(i) (all real numbers). You want to create a stack of boxes which is as tall as possible, but you can only stack a box on top of another box if the dimensions of the 2-D base of the lower box are each strictly larger than those of the 2-D base of the higher box. Of course, you can rotate a box so that any side functions as its base. It is also allowable to use multiple instances of the same type of box.

http://ift.tt/1jG64eq

http://ift.tt/1yekVj5



Dynamic Programming | Set 22 (Box Stacking Problem) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jG62mD

via LifeLong Community

Minimum number of jumps to reach end | GeeksforGeeks Given an array of integers where each element represents...

Please Visit: http://ift.tt/1ajReyV



Minimum number of jumps to reach end | GeeksforGeeks

Given an array of integers where each element represents the max number of steps that can be made forward from that element. Write a function to return the minimum number of jumps to reach the end of the array (starting from the first element). If an element is 0, then cannot move through that element.

http://ift.tt/1nlkyLa

http://ift.tt/1nlkwTD



Minimum number of jumps to reach end | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mMvvcL

via LifeLong Community

Maximum Length Bitonic Subarray | GeeksforGeeks Given an array A[0 ... n-1] containing n positive integers...

Please Visit: http://ift.tt/1ajReyV



Maximum Length Bitonic Subarray | GeeksforGeeks

Given an array A[0 ... n-1] containing n positive integers, a subarray A[i ... j] is bitonic if there is a k with i <= k <= j such that A[i] <= A[i + 1] ... <= A[k] >= A[k + 1] >= .. A[j - 1] > = A[j]. Write a function that takes an array as argument and returns the length of the maximum length bitonic subarray.

http://ift.tt/1jFuPY2

http://ift.tt/1oTzvGW



Maximum Length Bitonic Subarray | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jFuOn0

via LifeLong Community

Dynamic Programming | Set 15 (Longest Bitonic Subsequence) | GeeksforGeeks Given an array arr[0 ... ...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 15 (Longest Bitonic Subsequence) | GeeksforGeeks

Given an array arr[0 ... n-1] containing n positive integers, a subsequence (Link->http://ift.tt/1jFuPXV) of arr[] is called Bitonic if it is first increasing, then decreasing. Write a function that takes an array as argument and returns the length of the longest bitonic subsequence.

http://ift.tt/1oTzumy

http://ift.tt/1jFuOmS



Dynamic Programming | Set 15 (Longest Bitonic Subsequence) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oTzumB

via LifeLong Community

Stoimen's Web Log http://ift.tt/1mdxqb6

Please Visit: http://ift.tt/1ajReyV



Stoimen's Web Log

http://ift.tt/1mdxqb6



Stoimen's Web Log







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1oTzuTx

via LifeLong Community

Dynamic Programming | Set 14 (Maximum Sum Increasing Subsequence) | GeeksforGeeks Given an array of ...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 14 (Maximum Sum Increasing Subsequence) | GeeksforGeeks

Given an array of n positive integers. Write a program to find the sum of maximum sum subsequence of the given array such that the intgers in the subsequence are sorted in increasing order.

http://ift.tt/1jFuLYq

http://ift.tt/1oTztPn



Dynamic Programming | Set 14 (Maximum Sum Increasing Subsequence) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jFuNiM

via LifeLong Community

Dynamic Programming | Set 13 (Cutting a Rod) | GeeksforGeeks Given a rod of length n inches and an array...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 13 (Cutting a Rod) | GeeksforGeeks

Given a rod of length n inches and an array of prices that contains prices of all pieces of size smaller than n. Determine the maximum value obtainable by cutting up the rod and selling the pieces.

http://ift.tt/1zz91lv

http://ift.tt/1sPVXUd



Dynamic Programming | Set 13 (Cutting a Rod) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1zz940D

via LifeLong Community

Dynamic Programming | Set 10 ( 0-1 Knapsack Problem) | GeeksforGeeks Given weights and values of n items...

Please Visit: http://ift.tt/1ajReyV



Dynamic Programming | Set 10 ( 0-1 Knapsack Problem) | GeeksforGeeks

Given weights and values of n items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack.

http://ift.tt/1chw7T5

http://ift.tt/1sPVYHH



Dynamic Programming | Set 10 ( 0-1 Knapsack Problem) | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1zz914P

via LifeLong Community