Blog: programcreek

203 blogs updated: 62 min. ago
LeetCode – Russian Doll Envelopes (Java)
You have a number of envelopes with widths and heights given as a pair of integers (w, h). One envelope can fit into another if and only if ...
26-08-2016 17:51:28 programcreek Beginners
Maximum Sum of Subarray Close to K
Given an array, find the maximum sum of subarray close to k but not larger than k. Java Solution public int getLargestSumCloseToK(int [] arr...
14-08-2016 18:28:19 programcreek Beginners
Design a Data Structure with Insert & Delete & GetMostFrequent of O(1)
Design a data structure that allows O(1) time complexity to insert, delete and get most frequent element. Analysis At first, a hash map seem...
10-08-2016 00:47:05 programcreek Beginners
LeetCode – Kth Smallest Element in a Sorted Matrix (Java)
Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix. Note tha...
09-08-2016 17:18:47 programcreek Beginners
LeetCode – Shortest Word Distance III (Java)
This is a follow-up problem of Shortest Word Distance. The only difference is now word1 could be the same as word2. Given a list of words an...
01-08-2016 21:26:47 programcreek Beginners
Get Target Using Number List and Arithmetic Operations [Google]
Given a list of numbers and a target number, write a program to decide whether the target number can be reached with the list of other numbe...
15-04-2016 22:40:34 programcreek Beginners
Top 16 Java Utility Classes
In Java, a utility class is a class that defines a set of methods that perform common functions. The following shows the most frequently use...
17-12-2015 21:24:05 programcreek Beginners
Top 10 API Related Questions from Stack Overflow
Stack Overflow is a large repository of valuable programming knowledge. Millions of questions have been answered on Stack Overflow and many ...
13-12-2015 21:17:32 programcreek Beginners
Compile and run Eclipse Java projects from Linux terminal
If you are developing a Java project in Eclipse under a linux system, you may want to remote access the project from another location. You c...
31-08-2015 16:58:16 programcreek Beginners
Most Frequently Used Python Code Fragments For Java Developers
As a Java developer, the syntax of python seems strange at first. Some code fragments are used often, but they are not easy to be remembered...
09-05-2015 15:52:41 programcreek Beginners

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.