Disclosure: This article may contain affiliate links. When you purchase, we may earn a small commission.

Top 20 GraphQL Interview Questions with Answers

Hello guys, if you are preparing for web developer interviews where GraphQL skills are needed and you are looking for frequently asked GraphQL Interview questions then you have come to the right place. Earlier, I have shared both Web development interview questions as well as REST Interview Questions and in this article, I am going to share 20 common GraphQL Questions from Interviews with answers. These questions covers essential GraphQL concepts like difference between REST And GraphQL and pros and cons of using GraphQL to consume APIs. If you have used GraphQL in past then you can easily answer these questions but if you forgot then you can always join of these best GraphQL online courses to learn and revise key GraphQL concepts.

Top 5 Courses to Learn Angular Framework in 2022- Best of Lot

If you are a Web developer or someone who wants to learn Angular for web development and looking for some excellent resources, like books, online courses, and tutorials, then you have come to the right place. In the past, I have shared some of the best Angular tutorials, and best Angular books, and today, In this article, I am going to share some of the best Angular courses to learn modern-day web development. If you don't know what Angular is and how it helps you to develop modern-day web development, let me give you a brief overview. It's a JavaScript front-end framework that allows you to build a modern big e-commerce web application as well as a single-page web application that runs on a browser.

Top 5 Courses to Learn SQL and Database in 2022 - Best of Lot

Hello guys, if you are a computer science graduate or new to the programming world, interested in learning SQL, and looking for some excellent resources, like books, courses, and tutorials to start with, then you have come to the right place. In the past, I have shared some of the best SQL books and tutorials, and today I am going to share some of the best SQL and database courses to learn and master this useful technology. If you don't know what SQL is and why you should learn it, let me give you a brief overview of SQL for everyone's benefit. SQL is a programming language to work with a database. You can use SQL to create database objects, like tables, stored procedures, etc., and also to store and retrieve data from the database.

Top 5 Courses to Crack Frontend Web Developer Interviews [HTML, CSS, and JavaScript] in 2022 - Best of Lot

Hello guys, if you are preparing for a frontend developer interview and looking for the best interview preparation resources like online courses, books, and tutorials then you have come to the right place. Earlier, I have shared the best coding interview preparation courses and books, and in this article, I am going to share the best  Frontend developer interview courses. These courses will prepare you for essential frontend topics like HTML, CSS, JavaScript, as well frontend development frameworks like React.js and Angular. Web development is generally divided into two parts - frontend (client-side) development and backend (server-side) development. A web developer can either be a master in front-end development or backend development. 

Top 10 Online Courses to Crack Coding Interviews in 2022 - Best of Lot

To be honest with you, getting your first job is never easy. It is, in fact, the most laborious task, and you need to put your best effort into finding a role in your dream company. Most of the computer science graduates dream of working for Google, Facebook, Amazon, Microsoft, and Apple, but they are often not able to clear their rigors coding interviews. The single most important reason for failing those coding job interviews is a lack of knowledge and practice; hence, it becomes increasingly important that you prepare hard in advance. Unfortunately, I learned this little too late after spoiling my chances at Microsoft and Amazon, but you can learn from my experience and prepare better for your programming job interviews.

Coursera's Google IT Support Professional Certificate Review! - Is it worth in 2022?

Hello there, if you are looking for a cost-effective and recognized IT training program to start your career in IT support then you have come to the right place. In this article, we'll review Google IT Support Professional Certificate from Coursera which can be used to launch your career in IT support in 2022. This is one of the most popular Coursera certification from Google and also one of the best structured and many beginners have joined this program, close 10 1million (precisely 969,000) which is a testament of the value this certification provides. If you are trying to get involved in the IT industry at an entry-level may be because you need to be a programmer web developer, or even cisco certified so you have to learn the basics of information technology, or maybe just for fun and learn how things work and educate yourself more about this amazing industry.

How to implement Command Design Pattern in Java with Example

Hello guys, it's been a long since I have shared a Java design pattern tutorial. I did share some courses to learn design patterns but haven't really talked about a particular design pattern in depth. So, today, we'll learn one of the important design pattern, which is often overlooked by Java developers. Yes, I am talking about the Command Pattern which can help you write flexible, loosely coupled code for implementing actions and events in your application. In simple words, the command design pattern is used to separate a request for action from the object which actually performs the action. This decoupling between Invoker and Receiver objects provides a uniform way to perform different types of actions. This decoupling is achieved using a Command object, which is usually an interface with methods like execute()

StringJoiner.join() and String.join() Example in Java 8

Hello guys, joining multiple String literals or objects into one is a common programming requirement and you will often find situations where you need to convert a list of String or a Collection of String into a CSV String for your application. For a long time, JDK API has no way to join multiple String literals or objects together, which forces programmers to write hacks like looping through all String objects and manually joining them using String concatenation to create the final, joined String. Even though this approach worked, it was filled with errors and hacks like you need to be careful not to add delimiter before the first element and after the last element, which often caused issues, particularly in the case of beginners and junior Java developers.

How to sort an Array in Java? Ascending and Descending Order Example

As a Java programmer, quite often you would need to sort array in Java luckily java.util.Arrays class provides several utility methods to sort an array in Java. You can sort different types of array in Java like array of primitive data types, object or int, String, etc. Arrays are in java.util package and exposed all sorting related methods as static utility functions. you can access sort() as Arrays.sort() and just pass your array and it will sort that array object by comparing them in the order implemented in the compareTo() method if the class implements Comparable interface. You can also sort arrays in ascending order, descending order, or any custom order defined by the custom comparator in Java.

How to loop through an Array in Java? Example Tutorial

Hello there, If you want to loop over an array in Java but not sure how to do that then you have come to the right place. Earlier, I have shared many Java array tutorials and the best Java courses for beginners, and today, I am going to teach you how to iterate over an array in Java. There are multiple ways to loop over an array in Java, like you can use a for loop, an enhanced for loop, a while loop, or a do-while loop. Since while and do-while needs a condition to terminate they often depend upon the content of the array like stop when the current element is null or even or odd etc. If you just want to iterate over an array to access each element like loop over an array and print each entry then you should use either for loop or the enhanced for loop.

How to declare and initialize a List with values in Java (ArrayList/LinkedList) - Arrays.asList() Example

Hello guys, today, I am going to share with you a useful tip to initialize a List like ArrayList or LinkedList with values, which will help you a lot while writing unit tests and prototypes. Initializing a list while declaring is very convenient for quick use, but unfortunately, Java doesn't provide any programming constructs like the collection literals of Scala, but there is a trick which you can use to declare and initialize a List at the same time. This trick is also known as initializing a List with values. I have used this trick a lot while declaring list for unit testing and writing demo programs to understand an API etc and today I'll you'll also learn that.

Top 6 Microsoft Excel Online Courses for Beginners in 2022 - Best of Lot

Hello guys, If you are learning Microsoft Excel or want to learn Excel and looking for the best online courses, you have come to the right place. In the past, I have shared some advanced Excel courses to learn things like VBA and Macros, and in this article, I am going to share more comprehensive Excel courses to learn Microsoft Excel in depth. These are the best MS Excel courses from sites like Udemy, Pluralsight, and Coursera, and thousands of programmers, developers, tech, and non-tech people have joined these courses to learn this valuable skill, and you can do the same. Microsoft Excel is one of the most essential tools for IT professionals. It's not only the most common spreadsheet tool but also offers powerful charting and analytical capability.

Educative Review - Is Grokking the Coding Interview Pattern course Worth It?

Hello guys, if you are looking for a great course to start your coding interview preparation or you have heard about Educative's popular Grokking the Coding Interview Pattern course but not sure whether its worth it or not then you have come to the right place. Earlier, I have shared best Coding Interview courses, books, websites, and Coding interview questions and in this article, I am going to review one of favorite Educative course, Grokking the Coding Interview: Patterns for Coding Questions. Before finding this course, I have attended many course on coding interviews on Udemy, Pluralsight, and YouTube, most of the courses will teach you how to solve common coding problems like finding duplicates in array, reversing the linked list, and many Leetcode style problems but this course is different. 

How to find Middle Element of Linked List in Java in Single Pass

ow do you find the middle element of LinkedList in one pass is a programming question often asked Java and non-Java programmers in telephonic Interview. This question is similar to checking palindrome or calculating the factorial, where the Interviewer sometimes also asks to write code. In order to answer this question candidate must be familiar with the LinkedList data structure i.e. In the case of the singly LinkedList, each node of Linked List contains data and pointer, which is the address of the next Linked List and the last element of Singly Linked List points towards the null. Since in order to find the middle element of the Linked List you need to find the length of the linked list, which is counting elements till the end i.e. until you find the last element of the Linked List.

How to implement Skip List in Java? Example Tutorial

Hello friends, we meet again today. hope you all are excited and ready for today's journey. Today, we are gonna learn something that is not very common. It is used not very common, but, if used, it is a great strength to our time complexity reduction. So, what's the wait? Let's start! So, suppose we have a linked list with us which has 10 million records. Now, for searching a particular node, the time taken would be O(N). Where N is the size of the list. Similarly, the time taken for deletion of a Node, Insertion at a particular Node will also take O(N) time. Can we reduce it?

[Solved] How to find the 3rd (kth) Node from end or tail in linked list in Java? Fast and Slow Pointer Example

Hello guys, the problem to find the 3rd element from the end in a singly linked list or Kth node from the tail is one of the tricky but frequently asked linked list problems in Programming job interviews. I know you can easily solve this problem by moving from tail to head or in the reverse direction but the main challenge here is to solve the problem in just one pass. That means, you can not traverse the linked list again and you cannot traverse backward because it's a singly linked list. So what do you think? Isn't this problem challenging? Well, I did struggle when I saw this problem very first time but once you understand the logic and some tricks to solve a linked list based problem like Recursion then it would be easy for you, and that's what you will learn in this article.

10 Reasons to Learn Java Programming Language in 2022 and Why Java is Best

Java is one of the best programming languages created ever, and I am not saying this because I am a passionate Java developer, but Java has proved it in the last 20 years. Two decades is a big time for any Programming language, and Java has gained strength every passing day. Though there are times when Java development slows down, Java has responded well. Earlier with groundbreaking changes in the form of Enum, Generics, and Autoboxing in Java 5, performance improvement with Java 6, functional programming using the lambda expressions in Java 8, and Google's choice of language for Android apps development keeps Java as a front-line programming language.

Top 5 Websites to Learn Java Coding for FREE - Best of lot

Hello guys, if you want to learn Java Programming and looking for the best websites to learn Java coding for free then you have come to the right place. In the past, I have shared the best Java courses and books, today, I am going to share free websites to learn Java Programming for free. being the author of a Java blog and programmer I often receive questions like how to improve my coding skills?,  or how do I learn to code in Java?, or I am having difficulty solving programming problems, please help, etc. This is mostly from programmers who have just started programming or computer science graduates with a programming degree or even some programmers with a year or two in Job.

Can a Non Static Method Access a Static Variable/Method in Java?

"Can a non-static method access a static variable or call a static method" is one of the frequently asked questions on the static modifier in Java, the answer is, Yes, a non-static method can access a static variable or call a static method in Java. There is no problem with that because of static members i.e. both static variable and static methods belong to a class and can be called from anywhere, depending upon their access modifier. For example, if a static variable is private then it can only be accessed from the class itself, but you can access a public static variable from anywhere.

How to Learn Java Online? 3 Best ways to become a Java Developer in 2022

Hello guys, if you want to learn Java and wondering what is the best way to learn Java in 2022 then you have come to the right place. In the past, I have shared many useful resources to learn Java programming and development like the 2022 Java Developer RoadMapbest Java courses, best Java books, and this list of best websites to learn Java for FREE, and in this article, I will tell you the best way to learn Java in 2022. Even if you don’t have any experience in programming, you might have heard the term “Java”. Java is one of the most common and popular terms in the programming world. It is because Java is one of the most popular programming languages in the world and it is existing since the mid-90s. Not only does Java exist even today, but it has also managed to occupy the top positions in all those years.

10 Examples of Git commands for Java Programmers

Hello guys, if you are a Programmer you probably have heard about Git, well most of you might have already been veteran into Git and don't need any more articles and tutorials, but if you are a beginner then Git is one of the most important skill to learn. If you are a Computer Science graduate, a Software Engineer, or even a Student trying to learn Programming on your own, Git is a must-know skill for you. If you already know the importance of Git and looking for best resources to learn Git then you have come to the right place. Earlier, I have shared best free Git courses and best places to learn Git and in this article, I am going to share examples of essential git commands which every programmer should know.

Top 10 Coursera Certifications for Data Science, Data Analysis, and Data Visualization in 2022 - Best of Lot

Hello guys, If you are keen to start your career in Data Science, Data Analysis, and Data Visualization field and looking for the best Coursera certifications, courses, specializations, and projects, then you have come to the right place. In the past, I have shared the best Coursera courses and certifications to learn Artificial IntelligencePythonSoftware Development, Cloud Computing, and Web Development, and, in this article, I am going to share the best Coursera courses, projects, certifications, and specializations for Data Science, Data Visualization and Data Analysis from reputed universities like Johns Hopkins and industry leaders and tech companies like IBM and Google

How to find If Linked List Contains Loop or Cycle in Java? Example Solution

Write a Java program to check if a linked list is circular or cyclic,  and how do you find if a linked list contains loop or cycles in Java are some common linked list related data structure interview questions asked in various Java Interviews. This is sometimes asked as a follow-up question of basic linked list questions like inserting an element at the beginning, middle and end of a linked list or finding the length of linked list. In order to solve linked list related algorithmic questions in Java, you need to be familiar with the concept of singly linked list, doubly linked list, and circular linked list. Until stated specifically, most questions are based on a singly linked list. For those who are not familiar with the linked list data structure, its a collection of nodes.

How to enclose a list of values into single quotes for SQL query? Microsoft Excel Example

Many times you get a list of values that you want to check in the database to confirm if they exist in your tables or to get more information bout them. For example, you got a list of 100 stocks and you want to check their last day closing prices in the database. The problem arises when values to be searched are Strings like VARCHAR or CHAR because VARCHAR values need to be enclosed in the single quotes in most of the database like SQL Server, Oracle, or MySQL. If a number of values are less than 5 then it makes sense to add single quotes around them and separate them by comma manually so that you can use them on IN clause of your SQL query, but if it's more than 5 like 50 or 100 then manually enclosing them into single quotes will take a lot of time and most importantly programmers are not supposed to do such silly stuff manually.

How to create Tabs UI using HTML, CSS, jQuery, JSP and JavaScript? Example

JSP is still a popular technology for developing view part of Struts and Spring-based Java applications, but unfortunately, it doesn't have rich UI support available in GWT, or any other library. On another day, we had a requirement to display HTML tables inside tabs, basically, we had two tables of different data set and we need to display them in their own tabs. Users can navigate from one tab to another, and CSS should take care of which tab is currently selected, by highlighting the active tab. Like many Java developers, our hands-on HTML, CSS, and JavaScript are a little bit tight than a web guy, and since our application is not using any UI framework, we had to rely on JSP to do this job.