Thursday, July 23, 2020

5 Websites to Learn JavaScript Online for FREE

1) is an initiative of Code School. It's a free resource where you can learn JavaScript online. Try JavaScipr is a short interactive tutorial to get you typing your first JavaScript code. Learning JavaScript is easier than you might think. You will also find news and updates about the latest JavaScript framework and library on this website.

2) Code School's JavaScript Road Trip
A learn-by-doing introduction to the basics of the JavaScript language with high-quality videos and interactive challenges. Build a foundation of JavaScript syntax and learn how to use values, variables, and files

3) Pluralsight's Quick Start To JavaScript
A screencast that takes you from learning the basics to creating your own zombie text adventure game.

4) MDN JavaScript Guide
A large series of written guides curated by Mozilla and the community. From loops to text formatting, and even metaprogramming, this is the de facto guide.

5) Codecademy JavaScript Track
A written, interactive in-browser course on the fundamentals of JavaScript. It includes a couple projects where you use JavaScript to build a contact list, address book, and cash register

6) Try jQuery
If you’re primarily interested in JavaScript to make interactive web pages, you might want to jump straight into jQuery, the most popular JavaScript library on the Internet

7) Learn Street

8) Code Combat

9) Code Avengers

10) is a community-driven, open-source educational software that teaches various web development skills in an interactive, self-guided format. I helped make NodeSchool! Sadly it features fewer cats than this page.

Thursday, July 16, 2020

How to Sort an HashMap by values in Java 8 - Example Tutorial

In the last article, I have shown you how to sort a Map in Java 8 by keys, and today, I'll teach you how to sort a Map by values using Java 8 features e.g. lambda expression, method reference, streams, and new methods added into the java.util.Comparator and Map.Entry classes. In order to sort any Map, like HashMap, Hashtable, LinkedHashMap, TreemMap, or even ConcurrentHashMap, you can first get a set of entries by using the entrySet() method and then you can get the stream by calling the stream() method. The entrySet()  method returns a Set which inherit the stream() method from the java.util.Collection class. Once you got the stream, you can just call the sorted() method which can sort all Map.Entry objects available in Stream using a Comparator.

Monday, July 13, 2020

Grokking Algorithms Review - Best Book to learn Data Structure and Algorithms in Python

Hello guys, I have read many books on data structures and algorithms like Introduction to Algorithms by Thomas H. Corman and Algorithm design manual by Steve S. Skiena, so when I come to know about this book, I thought, just another book on algorithms, but I was wrong. This is not just another book on algorithms but one of the most interesting books you will ever read on Algorithms and Data structure. It doesn't cover all the data structure and algorithms you see in Computer Science but whatever it covers, it does really well and that's what matters most for beginner programmer or Computer Science students.