Blog: programcreek

207 blogs updated: 35 min. ago
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
Print an Array in Java
This is one of the most frequently asked questions for Java programmers. The following shows 5 difference ways of printing an array in Java....
21-03-2015 20:04:05 programcreek Beginners
System.arraycopy() vs. Arrays.copyOf() in Java
If we want to copy an array, we can use either System.arraycopy() or Arrays.copyOf(). In this post, I use a simple example to demonstrate th...
21-03-2015 19:48:06 programcreek Beginners

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení

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