Coding Interview Resources
50.5K subscribers
694 photos
7 files
399 links
This channel contains the free resources and solution of coding problems which are usually asked in the interviews.

Managed by: @love_data
Download Telegram
SQL Interview Questions with Answers

Like for more ❀️
❀1
Most Asked SQL Interview Questions at MAANG CompaniesπŸ”₯πŸ”₯

Preparing for an SQL Interview at MAANG Companies? Here are some crucial SQL Questions you should be ready to tackle:

1. How do you retrieve all columns from a table?

SELECT * FROM table_name;

2. What SQL statement is used to filter records?

SELECT * FROM table_name
WHERE condition;

The WHERE clause is used to filter records based on a specified condition.

3. How can you join multiple tables? Describe different types of JOINs.

SELECT columns
FROM table1
JOIN table2 ON table1.column = table2.column
JOIN table3 ON table2.column = table3.column;

Types of JOINs:

1. INNER JOIN: Returns records with matching values in both tables

SELECT * FROM table1
INNER JOIN table2 ON table1.column = table2.column;

2. LEFT JOIN: Returns all records from the left table & matched records from the right table. Unmatched records will have NULL values.

SELECT * FROM table1
LEFT JOIN table2 ON table1.column = table2.column;

3. RIGHT JOIN: Returns all records from the right table & matched records from the left table. Unmatched records will have NULL values.

SELECT * FROM table1
RIGHT JOIN table2 ON table1.column = table2.column;

4. FULL JOIN: Returns records when there is a match in either left or right table. Unmatched records will have NULL values.

SELECT * FROM table1
FULL JOIN table2 ON table1.column = table2.column;

4. What is the difference between WHERE & HAVING clauses?

WHERE: Filters records before any groupings are made.

SELECT * FROM table_name
WHERE condition;

HAVING: Filters records after groupings are made.

SELECT column, COUNT(*)
FROM table_name
GROUP BY column
HAVING COUNT(*) > value;

5. How do you calculate average, sum, minimum & maximum values in a column?

Average: SELECT AVG(column_name) FROM table_name;

Sum: SELECT SUM(column_name) FROM table_name;

Minimum: SELECT MIN(column_name) FROM table_name;

Maximum: SELECT MAX(column_name) FROM table_name;

Here you can find essential SQL Interview ResourcesπŸ‘‡
https://t.iss.one/mysqldata

Like this post if you need more πŸ‘β€οΈ

Hope it helps :)
❀4
Guys, Big Announcement!

We’ve officially hit 2.5 Million followers β€” and it’s time to level up together! ❀️

I’m launching a Python Projects Series β€” designed for beginners to those preparing for technical interviews or building real-world projects.

This will be a step-by-step, hands-on journey β€” where you’ll build useful Python projects with clear code, explanations, and mini-quizzes!

Here’s what we’ll cover:

πŸ”Ή Week 1: Python Mini Projects (Daily Practice)
⦁ Calculator
⦁ To-Do List (CLI)
⦁ Number Guessing Game
⦁ Unit Converter
⦁ Digital Clock

πŸ”Ή Week 2: Data Handling & APIs
⦁ Read/Write CSV & Excel files
⦁ JSON parsing
⦁ API Calls using Requests
⦁ Weather App using OpenWeather API
⦁ Currency Converter using Real-time API

πŸ”Ή Week 3: Automation with Python
⦁ File Organizer Script
⦁ Email Sender
⦁ WhatsApp Automation
⦁ PDF Merger
⦁ Excel Report Generator

πŸ”Ή Week 4: Data Analysis with Pandas & Matplotlib
⦁ Load & Clean CSV
⦁ Data Aggregation
⦁ Data Visualization
⦁ Trend Analysis
⦁ Dashboard Basics

πŸ”Ή Week 5: AI & ML Projects (Beginner Friendly)
⦁ Predict House Prices
⦁ Email Spam Classifier
⦁ Sentiment Analysis
⦁ Image Classification (Intro)
⦁ Basic Chatbot

πŸ“Œ Each project includes: 
βœ… Problem Statement 
βœ… Code with explanation 
βœ… Sample input/output 
βœ… Learning outcome 
βœ… Mini quiz

πŸ’¬ React ❀️ if you're ready to build some projects together!

You can access it for free here
πŸ‘‡πŸ‘‡
https://whatsapp.com/channel/0029VaiM08SDuMRaGKd9Wv0L

Let’s Build. Let’s Grow. πŸ’»πŸ™Œ
❀5
Questions & Answers for Data Analyst Interview

Question 1: Describe a time when you used data analysis to solve a business problem.
Ideal answer: This is your opportunity to showcase your data analysis skills in a real-world context. Be specific and provide examples of your work. For example, you could talk about a time when you used data analysis to identify customer churn, improve marketing campaigns, or optimize product development.

Question 2: What are some of the challenges you have faced in previous data analysis projects, and how did you overcome them?
Ideal answer: This question is designed to assess your problem-solving skills and your ability to learn from your experiences. Be honest and upfront about the challenges you have faced, but also focus on how you overcame them. For example, you could talk about a time when you had to deal with a large and messy dataset, or a time when you had to work with a tight deadline.

Question 3: How do you handle missing values in a dataset?
Ideal answer: Missing values are a common problem in data analysis, so it is important to know how to handle them properly. There are a variety of different methods that you can use, depending on the specific situation. For example, you could delete the rows with missing values, impute the missing values using a statistical method, or assign a default value to the missing values.

Question 4: How do you identify and remove outliers?
Ideal answer: Outliers are data points that are significantly different from the rest of the data. They can be caused by data errors or by natural variation in the data. It is important to identify and remove outliers before performing data analysis, as they can skew the results. There are a variety of different methods that you can use to identify outliers, such as the interquartile range (IQR) method or the standard deviation method.

Question 5: How do you interpret and communicate the results of your data analysis to non-technical audiences?
Ideal answer: It is important to be able to communicate your data analysis findings to both technical and non-technical audiences. When communicating to non-technical audiences, it is important to avoid using jargon and to focus on the key takeaways from your analysis. You can use data visualization tools to help you communicate your findings in a clear and concise way.
In addition to providing specific examples and answers to the questions, it is also important to be enthusiastic and demonstrate your passion for data analysis. Show the interviewer that you are excited about the opportunity to use your skills to solve real-world problems.
❀1
πŸ’‘ Must Have Tools for Programmers
❀3
Array Sorting Algorithms
❀2
Different Types of Data Structures Explained shortly
❀2
Top Libraries & Frameworks by Language πŸ“šπŸ’»

❯ Python
 ‒ Pandas ➟ Data Analysis
 ‒ NumPy ➟ Math & Arrays
 ‒ Scikit-learn ➟ Machine Learning
 ‒ TensorFlow / PyTorch ➟ Deep Learning
 ‒ Flask / Django ➟ Web Development
 ‒ OpenCV ➟ Image Processing

❯ JavaScript / TypeScript
 ‒ React ➟ UI Development
 ‒ Vue ➟ Lightweight SPAs
 ‒ Angular ➟ Enterprise Apps
 ‒ Next.js ➟ Full-Stack Web
 ‒ Express ➟ Backend APIs
 ‒ Three.js ➟ 3D Web Graphics

❯ Java
 ‒ Spring Boot ➟ Microservices
 ‒ Hibernate ➟ ORM
 ‒ Apache Maven ➟ Build Automation
 ‒ Apache Kafka ➟ Real-Time Data

❯ C++
 ‒ Boost ➟ Utility Libraries
 ‒ Qt ➟ GUI Applications
 ‒ Unreal Engine ➟ Game Development

❯ C#
 ‒ .NET / ASP.NET ➟ Web Apps
 ‒ Unity ➟ Game Development
 ‒ Entity Framework ➟ ORM

❯ R
 ‒ ggplot2 ➟ Data Visualization
 ‒ dplyr ➟ Data Manipulation
 ‒ caret ➟ Machine Learning
 ‒ Shiny ➟ Interactive Dashboards

❯ PHP
 ‒ Laravel ➟ Full-Stack Web
 ‒ Symfony ➟ Web Framework
 ‒ PHPUnit ➟ Testing

❯ Go (Golang)
 ‒ Gin ➟ Web Framework
 ‒ Gorilla ➟ Web Toolkit
 ‒ GORM ➟ ORM for Go

❯ Rust
 ‒ Actix ➟ Web Framework
 ‒ Rocket ➟ Web Development
 ‒ Tokio ➟ Async Runtime

Coding Resources: https://whatsapp.com/channel/0029VahiFZQ4o7qN54LTzB17

React with ❀️ for more useful content
❀5
Goldman Sachs senior data analyst interview asked questions

SQL

1 find avg of salaries department wise from table
2 Write a SQL query to see employee name and manager name using a self-join on 'employees' table with columns 'emp_id', 'name', and 'manager_id'.
3 newest joinee for every department (solved using lead lag)

POWER BI

1. What does Filter context in DAX mean?
2. Explain how to implement Row-Level Security (RLS) in Power BI.
3. Describe different types of filters in Power BI.
4. Explain the difference between 'ALL' and 'ALLSELECTED' in DAX.
5. How do you calculate the total sales for a specific product using DAX?

PYTHON

1. Create a dictionary, add elements to it, modify an element, and then print the dictionary in alphabetical order of keys.
2. Find unique values in a list of assorted numbers and print the count of how many times each value is repeated.
3. Find and print duplicate values in a list of assorted numbers, along with the number of times each value is repeated.

I have curated best 80+ top-notch Data Analytics Resources πŸ‘‡πŸ‘‡
https://t.iss.one/DataSimplifier

Hope this helps you 😊
❀5