Blog Archives
1 … 12 13 14 15 16 17 18 19 20 … 23

19: 50+ SQL scenarios based interview Q&As on effective_date

Here is another SQL scenario based interview question to determine a candidate’s ability to translate a business requirement into an SQL query. These are scenarios where you want to find a value at a certain point in time. Lean more about SCD Type 2 at 13 Data Warehouse interview Q&As...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


19: PySpark on handling duplicates Interview Q&As with tutorials

Given the below data, where the record with the emp_name “Elliot” is repeated.

distinct(..) Q: How will you eliminate duplicate rows? A: Use the distinct(..) function. problem.py:

Run as:

Outputs:

dropDuplicates(..) Q: What if you want to remove records based on duplicate values in selected columns?...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


19: Python operator overloading tutorial

Q. What do you understand by Python being a dynamically, and strongly typed language? A. In the example below, it is important to understand that the type is not changing. Two objects are created – an int object first, and then a str object. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


19: Q109 – Q113 Scala ADT (Algebraic Data Types) Interview Q&As

Q109 How do you model data in functional programming (i.e. FP)? A109 Using ADT (i.e. Algebraic Data Types), you can model data with logical ORs and logical ANDs. “OR” is also known as the “Sum” … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


19: Q125 – Q130 Apache Zookeeper interview Q&As

Q125. What is Apache Zookeeper & where can you use it? A125. Distributed applications like HBase, Solr, Kafka, etc run services on multiple nodes (i.e. computers) for scalability (i.e more nodes can be added) & redundancy (i.e. several nodes provide the same service & if one node is down another...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


20: 50+ SQL scenarios based interview Q&As on first visit vs repeated visits

Let’s look at a very common problem statement of finding out the repeat customers, repeat visits, etc. The key to this problem is first determining the first visit or first purchase and then comparing it with the remaining records. Problem Statement 1 Given the below table, how will you determine...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


20: PySpark Dataframe Vs Pandas Dataframe Interview Q&As with tutorials

This extends NumPy Vs Pandas interview questions & answers – part 1 Q: What is the difference between PySpark Dataframe & a Pandas Dataframe? A: PySpark is a library where the operations are quicker than Pandas Dataframe library because of its parallel execution over multiple CPU cores & … Read...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


20: Python function overloading tutorial

Overloading in the context of programming, refers to the ability of a function or an operator to behave in different ways depending on the parameters that are passed to the function, or the operands that the operator acts on. Overloading a method is great for reusability because instead of writing...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


20: Q114 – Q120 Scala fold vs reduce Q&As

fold, map, and flatMap are key functional programming functions. These functions are used in three contexts: collections (E.g. List, Sequence, Array, Map, etc), Options, and Futures. Let’s look at the function “fold” here. Q114 What does fold & … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


20: Q131 – Q137 FAQ Apache Solr with HDFS interview questions & answers

Covers Solr interview Q&As in general, and how Solr can be used with Big Data in HDFS to index & query the data. You can get sub-seconds query performance when query the data on HDFS that are indexed using Solr. Q131. How does Solr accomplish fast search performance? … Read...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


21: 50+ SQL scenarios based interview Q&As on distinct count of all columns

We all know how to get a distinct count of a column. It can be done with COUNT(DISTINCT column_name). For example:

Outputs:

In this post let’s look at various approaches to count unique values. Using DISTINCT, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


21: PySpark map vs flatMap Interview Q&As with tutorials

Q01. What is the difference between map and flatMap operations in Spark?
A01. The map and flatMap are transformation operations in Spark.

map transformation is applied to each element of RDD or a DataFrame and it returns the result as a new RDD or a DataFrame.

…

Read more ›



21: Python function overriding tutorial

Q. What is method overriding? A. Overriding is the ability of a class to change the implementation of a method provided by one of its ancestors (i.e. parent). Overriding is one of OOP concepts, which makes inheritance exploit its power. Through method overriding a class may leverage its parent class’s...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


1 … 12 13 14 15 16 17 18 19 20 … 23

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data