Coding Interview Resources
50.6K subscribers
703 photos
7 files
400 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
๐Ÿš€ Front-End Development Interview Topics

HTML & CSS
๐Ÿ”น Semantic HTML
๐Ÿ”น CSS Pre-Processors
๐Ÿ”น CSS Specificity
๐Ÿ”น Resetting & Normalizing CSS
๐Ÿ”น CSS Architecture
๐Ÿ”น SVGs
๐Ÿ”น Media Queries
๐Ÿ”น CSS Display Property
๐Ÿ”น CSS Position Property
๐Ÿ”น CSS Frameworks
๐Ÿ”น Pseudo Classes
๐Ÿ”น Sprites

JavaScript
๐Ÿ”น Event Delegation
๐Ÿ”น Attributes vs Properties
๐Ÿ”น Ternary Operators
๐Ÿ”น Promises vs Callbacks
๐Ÿ”น Single Page Application
๐Ÿ”น Higher-Order Functions
๐Ÿ”น == vs ===
๐Ÿ”น Mutable vs Immutable
๐Ÿ”น 'this'
๐Ÿ”น Prototypal Inheritance
๐Ÿ”น IFE (Immediately Invoked Function Expression)
๐Ÿ”น Closure
๐Ÿ”น Null vs Undefined
๐Ÿ”น OOP vs Map
๐Ÿ”น .call & .apply
๐Ÿ”น Hoisting
๐Ÿ”น Objects
๐Ÿ”น Scope
๐Ÿ”น JS Frameworks

Data Structures and Algorithms
๐Ÿ”น Linked Lists
๐Ÿ”น Hash Tables
๐Ÿ”น Stacks
๐Ÿ”น Queues
๐Ÿ”น Trees
๐Ÿ”น Graphs
๐Ÿ”น Arrays
๐Ÿ”น Bubble Sort
๐Ÿ”น Binary Search
๐Ÿ”น Selection Sort
๐Ÿ”น Quick Sort
๐Ÿ”น Insertion Sort

Front-End Topics
๐Ÿ”น Performance
๐Ÿ”น Unit Testing
๐Ÿ”น End-to-End Testing (E2E)
๐Ÿ”น Web Accessibility
๐Ÿ”น CORS
๐Ÿ”น SEO
๐Ÿ”น REST
๐Ÿ”น APIs
๐Ÿ”น HTTP/HTTPS
๐Ÿ”น GitHub
๐Ÿ”น Task Runners
๐Ÿ”น Browser APIs
โค4
โค5
Skills to master as a web developer
โค7
DATA SCIENCE IN C PROGRAMMING LANGUAGE
โค5
Data Analyst Interview Questions with Answers

Q1: How would you handle real-time data streaming for analyzing user listening patterns?

Ans:  I'd use platforms like Apache Kafka for real-time data ingestion. Using Python, I'd process this stream to identify real-time patterns and store aggregated data for further analysis.

Q2: Describe a situation where you had to use time series analysis to forecast a trend. 

Ans:  I analyzed monthly active users to forecast future growth. Using Python's statsmodels, I applied ARIMA modeling to the time series data and provided a forecast for the next six months.

Q3: How would you segment and analyze user behavior based on their music preferences? 

Ans: I'd cluster users based on their listening history using unsupervised machine learning techniques like K-means clustering. This would help in creating personalized playlists or recommendations.

Q4: How do you handle missing or incomplete data in user listening logs? 


Ans: I'd use imputation methods based on the nature of the missing data. For instance, if a user's listening time is missing, I might impute it based on their average listening time or use collaborative filtering methods to estimate it based on similar users.
โค2
PHP CHEATSHEET
โค4๐Ÿ‘1
30-Day Roadmap to Learn Android App Development up to an Intermediate Level

Week 1: Setting the Foundation
*Day 1-2:*
- Familiarize yourself with the basics of Android development and set up Android Studio.
- Create a simple "Hello, Android!" app and run it on an emulator or a physical device.

*Day 3-4:*
- Understand the Android project structure and layout files (XML).
- Explore activities and their lifecycle in Android.

*Day 5-7:*
- Dive into user interface components like buttons, text views, and layouts.
- Build a basic interactive app with user input.

Week 2: Functionality and Navigation
*Day 8-9:*
- Study how to handle button clicks and user interactions.
- Learn about intents and navigation between activities.

*Day 10-12:*
- Explore fragments for modular UI components.
- Understand how to pass data between activities and fragments.

*Day 13-14:*
- Practice creating and using custom views.
- Build a small project involving multiple activities and fragments.

Week 3: Data Management
*Day 15-17:*
- Learn about data storage options: SharedPreferences and internal storage.
- Understand how to work with SQLite databases in Android.

*Day 18-19:*
- Study content providers and how to share data between apps.
- Practice implementing data persistence in a project.

*Day 20-21:*
- Explore background processing and AsyncTask for handling long-running tasks.
- Understand the basics of threading and handling concurrency.

Week 4: Advanced Topics
*Day 22-23:*
- Dive into handling permissions in Android apps.
- Work on projects involving file operations and reading/writing to external storage.

*Day 24-26:*
- Learn about services and background processing.
- Explore broadcast receivers and how to respond to system-wide events.

*Day 27-28:*
- Study advanced UI components like RecyclerView for efficient list displays.
- Explore Android's networking capabilities and make API requests.

*Day 29-30:*
- Delve into more advanced topics like dependency injection (e.g., Dagger).
- Explore additional libraries and frameworks relevant to your interests (e.g., Retrofit for networking, Room for database management).
- Work on a complex project that combines your knowledge from the past weeks.

Throughout the 30 days, practice coding daily, consult Android documentation, and leverage online resources for additional guidance. Adapt the roadmap based on your progress and interests. Good luck with your Android app development journey!
โค4
When youโ€™re in an interview, itโ€™s super important to know how to talk about your projects in a way that impresses the interviewer. Here are some key points to help you do just that:

โžค ๐—ฃ๐—ฟ๐—ผ๐—ท๐—ฒ๐—ฐ๐˜ ๐—ข๐˜ƒ๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„:
- Start with a quick summary of the project you worked on. What was it all about? What were the main goals? Keep it short and sweet something you can explain in about 30 seconds.

โžค ๐—ฃ๐—ฟ๐—ผ๐—ฏ๐—น๐—ฒ๐—บ ๐—ฆ๐˜๐—ฎ๐˜๐—ฒ๐—บ๐—ฒ๐—ป๐˜:
- What problem were you trying to solve with this project? Explain why this problem was important and needed addressing.

โžค ๐—ฃ๐—ฟ๐—ผ๐—ฝ๐—ผ๐˜€๐—ฒ๐—ฑ ๐—ฆ๐—ผ๐—น๐˜‚๐˜๐—ถ๐—ผ๐—ป:
- Describe the solution you came up with. How does it work, and why is it a good fix for the problem?

โžค ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐—ฅ๐—ผ๐—น๐—ฒ:
- Talk about what you specifically did. What were your main tasks? Did you face any challenges, and how did you overcome them? Make sure itโ€™s clear whether you were leading the project, a key player, or supporting the team.

โžค ๐—ง๐—ฒ๐—ฐ๐—ต๐—ป๐—ผ๐—น๐—ผ๐—ด๐—ถ๐—ฒ๐˜€ ๐—ฎ๐—ป๐—ฑ ๐—ง๐—ผ๐—ผ๐—น๐˜€:
- Mention the tech and tools you used. This shows your technical know-how and your ability to choose the right tools for the job.

โžค ๐—œ๐—บ๐—ฝ๐—ฎ๐—ฐ๐˜ ๐—ฎ๐—ป๐—ฑ ๐—”๐—ฐ๐—ต๐—ถ๐—ฒ๐˜ƒ๐—ฒ๐—บ๐—ฒ๐—ป๐˜๐˜€:
- Share the results of your project. Did it make things better? How? Mention any improvements, efficiencies, or positive feedback you got.

โžค ๐—ง๐—ฒ๐—ฎ๐—บ ๐—–๐—ผ๐—น๐—น๐—ฎ๐—ฏ๐—ผ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป:
- Talk about how you collaborated. What was your role in the team? How did you communicate and contribute to the teamโ€™s success?

โžค ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐—ฎ๐—ป๐—ฑ ๐——๐—ฒ๐˜ƒ๐—ฒ๐—น๐—ผ๐—ฝ๐—บ๐—ฒ๐—ป๐˜:
- Reflect on what you learned from the project. What new skills did you gain, and what would you do differently next time?

โžค ๐—ง๐—ถ๐—ฝ๐˜€ ๐—ณ๐—ผ๐—ฟ ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐—ฃ๐—ฟ๐—ฒ๐—ฝ๐—ฎ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป:
- Be ready with a 30 second elevator pitch about your projects, and also have a five-minute detailed overview ready.
- If thereโ€™s a pause after you describe the project, donโ€™t hesitate to ask if theyโ€™d like more details or if thereโ€™s a specific part theyโ€™re interested in.

By preparing your project details thoroughly and understanding what the interviewer is looking for, you can talk about your experience in a way that really showcases your skills and increases your chances of getting the job.

Coding Projects: https://whatsapp.com/channel/0029VazkxJ62UPB7OQhBE502
โค1
๐Ÿ Master Python for Data Analytics!

Python is a powerful tool for data analysis, automation, and visualization. Hereโ€™s the ultimate roadmap:

๐Ÿ”น Basic Concepts:
โžก๏ธ Syntax, variables, and data types (integers, floats, strings, booleans)
โžก๏ธ Control structures (if-else, for and while loops)
โžก๏ธ Basic data structures (lists, dictionaries, sets, tuples)
โžก๏ธ Functions, lambda functions, and error handling (try-except)
โžก๏ธ Working with modules and packages

๐Ÿ”น Pandas & NumPy:
โžก๏ธ Creating and manipulating DataFrames and arrays
โžก๏ธ Data filtering, aggregation, and reshaping
โžก๏ธ Handling missing values
โžก๏ธ Efficient data operations with NumPy

๐Ÿ”น Data Visualization:
โžก๏ธ Creating visualizations using Matplotlib and Seaborn
โžก๏ธ Plotting line, bar, scatter, and heatmaps

๐Ÿ’ก Python is your key to unlocking data-driven decision-making. Start learning today!

#PythonForData
โค2
10 Simple Habits to Improve Your Coding Skills ๐Ÿง ๐Ÿ’ป

๐Ÿ”ฅ Practice regularly, not just when you're stuck
๐Ÿ”ฅ Build small projects to apply what you learn
๐Ÿ”ฅ Review and refactor your old code
๐Ÿ”ฅ Join coding communities or forums
๐Ÿ”ฅ Follow coding channels and blogs
๐Ÿ”ฅ Take part in coding challenges (e.g., LeetCode, HackerRank)
๐Ÿ”ฅ Keep a code journal or notes
๐Ÿ”ฅ Learn version control (Git is your friend!)
๐Ÿ”ฅ Teach someone else โ€” it deepens your understanding
๐Ÿ”ฅ Stay curious & never stop learning

๐Ÿ’ฌ React "โค๏ธ" for more!
โค9
Step-by-Step Approach to Learn Python
โžŠ Learn the Basics โ†’ Syntax, Variables, Data Types (int, float, string, boolean)
โ†“
โž‹ Control Flow โ†’ If-Else, Loops (For, While), List Comprehensions
โ†“
โžŒ Data Structures โ†’ Lists, Tuples, Sets, Dictionaries
โ†“
โž Functions & Modules โ†’ Defining Functions, Lambda Functions, Importing Modules
โ†“
โžŽ File Handling โ†’ Reading/Writing Files, CSV, JSON
โ†“
โž Object-Oriented Programming (OOP) โ†’ Classes, Objects, Inheritance, Polymorphism
โ†“
โž Error Handling & Debugging โ†’ Try-Except, Logging, Debugging Techniques
โ†“
โž‘ Advanced Topics โ†’ Regular Expressions, Multi-threading, Decorators, Generators

Free Python Resources: https://whatsapp.com/channel/0029VaiM08SDuMRaGKd9Wv0L

ENJOY LEARNING ๐Ÿ‘๐Ÿ‘
โค2
There's no grading system in interview, Interviewers judges you relative to other candidates on that same question by the same interviewer.
It's a relative comparison.
Interviewing soon? Avoid these common mistakes! Nail That Offer!

In interviews, several behaviours can undermine your professionalism and candidacy.

๐Ÿ“ Lack of preparation: Failing to research the company, job role, and industry reflects a lack of interest and commitment.

๐Ÿ“ Arriving late or unprepared: Punctuality and readiness are key indicators of reliability and professionalism.

๐Ÿ“ Poor body language: Avoiding eye contact, slouching, or move restlessly can convey disinterest or nervousness.

๐Ÿ“ Overconfidence or arrogance: While confidence is valued, arrogance can be off-putting to employers.

๐Ÿ“ Speaking negatively about past employers or experiences: This reflects poorly on your attitude and professionalism.

๐Ÿ“ Lack of enthusiasm or passion: Demonstrating genuine interest in the role and company is essential for making a positive impression.

By direct clear of these behaviours, you can present yourself as a polished and deserving candidate, increasing your chances of success in the interview process.
โค7
Data Analyst Interview Questions ๐Ÿ‘‡

1.How to create filters in Power BI?

Filters are an integral part of Power BI reports. They are used to slice and dice the data as per the dimensions we want. Filters are created in a couple of ways.

Using Slicers: A slicer is a visual under Visualization Pane. This can be added to the design view to filter our reports. When a slicer is added to the design view, it requires a field to be added to it. For example- Slicer can be added for Country fields. Then the data can be filtered based on countries.
Using Filter Pane: The Power BI team has added a filter pane to the reports, which is a single space where we can add different fields as filters. And these fields can be added depending on whether you want to filter only one visual(Visual level filter), or all the visuals in the report page(Page level filters), or applicable to all the pages of the report(report level filters)


2.How to sort data in Power BI?

Sorting is available in multiple formats. In the data view, a common sorting option of alphabetical order is there. Apart from that, we have the option of Sort by column, where one can sort a column based on another column. The sorting option is available in visuals as well. Sort by ascending and descending option by the fields and measure present in the visual is also available.


3.How to convert pdf to excel?

Open the PDF document you want to convert in XLSX format in Acrobat DC.
Go to the right pane and click on the โ€œExport PDFโ€ option.
Choose spreadsheet as the Export format.
Select โ€œMicrosoft Excel Workbook.โ€
Now click โ€œExport.โ€
Download the converted file or share it.


4. How to enable macros in excel?

Click the file tab and then click โ€œOptions.โ€
A dialog box will appear. In the โ€œExcel Optionsโ€ dialog box, click on the โ€œTrust Centerโ€ and then โ€œTrust Center Settings.โ€
Go to the โ€œMacro Settingsโ€ and select โ€œenable all macros.โ€
Click OK to apply the macro settings.
โค2
How Coders Can Surviveโ€”and Thriveโ€”in a ChatGPT World

Artificial intelligence, particularly generative AI powered by large language models (LLMs), could upend many codersโ€™ livelihoods. But some experts argue that AI wonโ€™t replace human programmersโ€”not immediately, at least.

โ€œYou will have to worry about people who are using AI replacing you,โ€ says Tanishq Mathew Abraham, a recent Ph.D. in biomedical engineering at the University of California, Davis and the CEO of medical AI research center MedARC.

Here are some tips and techniques for coders to survive and thrive in a generative AI world.

Stick to Basics and Best Practices
While the myriad AI-based coding assistants could help with code completion and code generation, the fundamentals of programming remain: the ability to read and reason about your own and othersโ€™ code, and understanding how the code you write fits into a larger system.

Find the Tool That Fits Your Needs
Finding the right AI-based tool is essential. Each tool has its own ways to interact with it, and there are different ways to incorporate each tool into your development workflowโ€”whether thatโ€™s automating the creation of unit tests, generating test data, or writing documentation.

Clear and Precise Conversations Are Crucial
When using AI coding assistants, be detailed about what you need and view it as an iterative process. Abraham proposes writing a comment that explains the code you want so the assistant can generate relevant suggestions that meet your requirements.

Be Critical and Understand the Risks
Software engineers should be critical of the outputs of large language models, as they tend to hallucinate and produce inaccurate or incorrect code. โ€œItโ€™s easy to get stuck in a debugging rabbit hole when blindly using AI-generated code, and subtle bugs can be difficult to spot,โ€ Vaithilingam says.
โค5
Essential Topics to Master Data Analytics Interviews: ๐Ÿš€

SQL:
1. Foundations
- SELECT statements with WHERE, ORDER BY, GROUP BY, HAVING
- Basic JOINS (INNER, LEFT, RIGHT, FULL)
- Navigate through simple databases and tables

2. Intermediate SQL
- Utilize Aggregate functions (COUNT, SUM, AVG, MAX, MIN)
- Embrace Subqueries and nested queries
- Master Common Table Expressions (WITH clause)
- Implement CASE statements for logical queries

3. Advanced SQL
- Explore Advanced JOIN techniques (self-join, non-equi join)
- Dive into Window functions (OVER, PARTITION BY, ROW_NUMBER, RANK, DENSE_RANK, lead, lag)
- Optimize queries with indexing
- Execute Data manipulation (INSERT, UPDATE, DELETE)

Python:
1. Python Basics
- Grasp Syntax, variables, and data types
- Command Control structures (if-else, for and while loops)
- Understand Basic data structures (lists, dictionaries, sets, tuples)
- Master Functions, lambda functions, and error handling (try-except)
- Explore Modules and packages

2. Pandas & Numpy
- Create and manipulate DataFrames and Series
- Perfect Indexing, selecting, and filtering data
- Handle missing data (fillna, dropna)
- Aggregate data with groupby, summarizing data
- Merge, join, and concatenate datasets

3. Data Visualization with Python
- Plot with Matplotlib (line plots, bar plots, histograms)
- Visualize with Seaborn (scatter plots, box plots, pair plots)
- Customize plots (sizes, labels, legends, color palettes)
- Introduction to interactive visualizations (e.g., Plotly)

Excel:
1. Excel Essentials
- Conduct Cell operations, basic formulas (SUMIFS, COUNTIFS, AVERAGEIFS, IF, AND, OR, NOT & Nested Functions etc.)
- Dive into charts and basic data visualization
- Sort and filter data, use Conditional formatting

2. Intermediate Excel
- Master Advanced formulas (V/XLOOKUP, INDEX-MATCH, nested IF)
- Leverage PivotTables and PivotCharts for summarizing data
- Utilize data validation tools
- Employ What-if analysis tools (Data Tables, Goal Seek)

3. Advanced Excel
- Harness Array formulas and advanced functions
- Dive into Data Model & Power Pivot
- Explore Advanced Filter, Slicers, and Timelines in Pivot Tables
- Create dynamic charts and interactive dashboards

Power BI:
1. Data Modeling in Power BI
- Import data from various sources
- Establish and manage relationships between datasets
- Grasp Data modeling basics (star schema, snowflake schema)

2. Data Transformation in Power BI
- Use Power Query for data cleaning and transformation
- Apply advanced data shaping techniques
- Create Calculated columns and measures using DAX

3. Data Visualization and Reporting in Power BI
- Craft interactive reports and dashboards
- Utilize Visualizations (bar, line, pie charts, maps)
- Publish and share reports, schedule data refreshes

Statistics Fundamentals:
- Mean, Median, Mode
- Standard Deviation, Variance
- Probability Distributions, Hypothesis Testing
- P-values, Confidence Intervals
- Correlation, Simple Linear Regression
- Normal Distribution, Binomial Distribution, Poisson Distribution.

Show some โค๏ธ if you're ready to elevate your data analytics journey! ๐Ÿ“Š

ENJOY LEARNING ๐Ÿ‘๐Ÿ‘
โค1