Coding interview preparation
5.82K subscribers
399 photos
70 files
164 links
Download Telegram
How to prepare for coding interview
Interview Preparation Plan for 30 Days: 200+ coding and Behavioural questions

Table of contents

Day 1: Arrays
Day 2: Sorting
Day 3: Searching
Day 3: Matrix
Day 4: Sliding Window Patten
Day 5: Maths
Day 6 & 7: Linked list
Day 8: 2 Pointer
Day 9: Fast & Slow Pointers
Day 10: Stack
Day 11: Queue
Day 12: Hashing
Day 13 & 14: Heap
Day 15: Greedy
Day 16: Recursion
Day 17: Backtracking
Day 18: Divide & Conquer
Day 19: String
Day 20 & 21: Binary Tree
Day 22: Binary Search Tree
Day 23: Mixed Topics
Day 24: Graph
Day 25 & 26: Dynamic Programming
Day 27: Design Patterns
Bits Manipulation (optional)
System Design β€” Key Concepts and Terms (Interview notes)
Day 28 & 29: Theory (OS, CN, DB) (To be added)
Day 30: Behavioural Interview (To be added)
Day 30: Projects (How to discuss projects in interviews)

πŸ”— Link:
https://ganeshpr227.medium.com/30-days-interview-preparation-plan-200-best-coding-questions-and-behavioural-interviews-3f8fc19c2361
❀1
Computer Science 61B, 002 - Spring 2015
Data structures
by UC Berkeley


πŸ‘¨β€πŸ« Teacher: Joshua A. Hug
🎬 37 video lessons
⏰ 35 hours
βœ… Free

πŸ”— Course link

#datastructures #algorithms #cs #dsa
βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
πŸ‘‰Join @bigdataspecialist for moreπŸ‘ˆ
Websites for finding a job

WayUp - is the industry leader for college students and recent grads to get hired

NovoResume - The Idea of Novorésumé began in 2014, Cristian, Andrei, and Stefan started as part of a university project. The idea was to solve the problem of many people who have really good skills and experience but don't know how to showcase it in Resumes, CVs, and Cover Letters.

Glassdoor - This platform, helps you search millions of jobs and companies and get the inside information on companies like employee reviews, salary for different Jobs at that company, and much more.

AngelList - Help you Apply for more than 130,000 jobs in startups with one application.

PayScale - If you want to know your "WORTH" in terms of your skills and experience. If you want to measure your skills and their worth in the market. You can use this platform.

Salary - Helps you measure and understand your worth and also helps planning your next move in your career with easy-to-use features.

LinkedIn - LinkedIn is the world's largest network of professionals. It has nearly 660+ million users. It is present in more than 200 countries and territories worldwide.

HashNode - Hashnode Helps you easily connect with the best developers around the world and help you grow your career!

levels.fyi - It helps to break down the total salary packages at the largest tech companies. for multiple levels of software engineers.

Indeed - Helps you Search for millions of jobs online, find the next move in your career. It has features like job search, resumes, company reviews, salary, etc.



βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
Join @coding_interview_preparation for more.
*This channel belongs to @bigdataspecialist group
πŸ”— Book link


#machinelearning #ml #datascience
βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
Join @coding_interview_preparation for more.
*This channel belongs to @bigdataspecialist group
I accidentally run across this today, thought it might be interesting to share:

Wizardzines questions
Questions is an unusual medium designed by Julia Evans in which the form of the writing is a series of questions.
This site is made to help you identify things you don't know, because the only way to learn new things is to first find out what you don't know

πŸ”— Link:
https://questions.wizardzines.com/

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
Join @coding_interview_preparation for more.
*This channel belongs to @bigdataspecialist group
Retaining Computer Science Knowledge

Back at University, I didn't have problems remembering things, I was preparing one exam at the time and reviewing my knowledge all the time.
But now after 3 years of working as backend developer and data scientist, I really have problem to remember what I learned just few months ago. It feels like it's completely deleted from my brain. I guess main reason for that (except aging πŸ˜›) is not revising what i learned.

This article is talking about how to retain your computer science knowledge:

https://startupnextdoor.com/retaining-computer-science-knowledge/

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
Join @coding_interview_preparation for more.
*This channel belongs to @bigdataspecialist group
LeetCode Solutions Videos

Good explanations of solution and the code
Playlist contains 189 videos 🎬

https://www.youtube.com/playlist?list=PLU_sdQYzUj2keVENTP0a5rdykRSgg9Wp-

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
Join @coding_interview_preparation for more.
*This channel belongs to @bigdataspecialist group
What are the most common programming interview questions?

Companies keep refreshing and updating questions. BUT, regardless of that, there are certain algorithms that show up frequently.

Here are 5 very common ones. If you don’t know these then you’re probably not ready.

Graph Search - Depth-first and Breadth-first search
Binary Search
Backtracking using Recursion and Memoization
Searching a Binary Search Tree
Recursion over a Binary Tree

Of course, there are many others too.

Another thing to keep in mind - you won’t be asked these directly. It will be disguised as a unique situation.

Source: Harsh Goel

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
Join @coding_interview_preparation for more.
*This channel belongs to @bigdataspecialist group
Here are some good questions to ask at the end of the interview, extracted from various sources. The ones in bold are the ones that tend to make the interviewer go "That's a good question" and pause and think for a bit.


πŸ”ΉGeneral

What are you most proud about in your career so far?
What is the most important/valuable thing you have learned from working here?
How do your clients and customers define success?
What would you change around here if you could?
What are some weaknesses of the organization?
What does a typical day look like for you?
What do you think the company can improve at?
How would you see yourself growing at this company in the next few years?
Was there a time where you messed up and how was it handled?
Why did you choose to come to this company?
When you were last interviewing, what were some of your other options, and what made you choose this company?
What was something you wish someone would have told you before you joined?
What was your best moment so far at the company?

πŸ”ΉCulture

What is the most frustrating part about working here?
What is unique about working at this company that you have not experienced elsewhere?
What is something you wish were different about your job?
How will the work I will be doing contribute to the organization's mission?
What do you like about working here?
What is your policy on working from home/remotely?
(If the company is a startup) When was the last time you interacted with a founder? What was it regarding? Generally how involved are the founders in the day-to-day?
Does the company culture encourage entrepreneurship? Could you give me any specific examples?

πŸ”ΉTechnical

These questions are suitable for any technical role.

What are the engineering challenges that the company/team is facing?
What has been the worst technical blunder that has happened in the recent past? How did you guys deal with it? What changes were implemented afterwards to make sure it didn't happen again?
What is the most costly technical decision made early on that the company is living with now?
What is the most fulfilling/exciting/technically complex project that you've worked on here so far?
I do / don't have experience in domain X. How important is this for me to be able to succeed?
How do you evaluate new technologies? Who makes the final decisions?
How do you know what to work on each day?
How would you describe your engineering culture?
How has your role changed since joining the company?
What is your stack? What is the rationale for/story behind this specific stack?
Do you tend to roll your own solutions more often or rely on third party tools? What's the rationale in a specific case?
How does the engineering team balance resources between feature requests and engineering maintenance?
What do you measure? What are your most important product metrics?
What does the company do to nurture and train its employees?
How often have you moved teams? What made you join the team you're on right now? If you wanted to move teams, what would need to happen?
What resources does the company have for new hires to study its product and processes? Are there specifications, requirements, documentation?
There's "C++" (or Python, Swift or any other tech) in the job description. How will you estimate my proficiency in this tech in 3 months?
How do you think my expertise would be relevant to this team? What unique value can I add?
πŸ”ΉProduct

Tell me about the main products of your company.
What is the current version of product? (If it is v1.0 or similar - there could be a lot of chaos to work with)
What products are your main competitors?
What makes your product competitive?
When are you planning to provide the next release? (If in several months, it would mean a lot of requirements specified in job description are not needed right now)
Is the team growing, and what sort of opportunities will there be in the next year/3 years?
What are your highest priorities right now? For example, new features, new products, solidifying existing code, reducing operations overhead?

πŸ”ΉManagement

These questions are suitable for asking Engineering Managers, especially useful for the Team Matching phase of Google interviews or post-offer calls that your recruiters set up with the various team managers.

How do you train/ramp up engineers who are new to the team?
What does success look like for your team/project?
What qualities do you look out for when hiring for this role?
What are the strengths and weaknesses of the current team? What is being done to improve upon the weaknesses?
Can you tell me about a time you resolved an interpersonal conflict?
How did you become a manager?
How do your engineers know what to work on each day?
What is your team's biggest challenge right now?
How do you measure individual performance?
How often are 1:1s conducted?
What is the current team composition like?
What opportunities are available to switch roles? How does this work?
Two senior team members disagree over a technical issue. How do you handle it?
Have you managed a poor performer at some point in your career before? What did you do and how did it work?
Where do you spend more of your time, high performers or low performers?
Sometimes there's a trade-off between what's best for one of your team members and what's best for the team. Give an example of how you handled this and why.
Give an example of a time you faced a difficult mentoring/coaching challenge. What did you do and why?
What is your management philosophy?
What is the role of data and metrics in managing a team like ours?
What role does the manager play in making technical decisions?
What is an example of a change you have made in the team that improved the team?
What would be the most important problem you would want me to solve if I joined your team?
What opportunities for growth will your team provide?
What would I work on if I joined this team and who would I work most closely with?

πŸ”ΉLeadership

These questions are intended for senior level management, such as CEO, CTO, VPs. Candidates who interview with startups usually get to speak with senior level management.

How are you funded?
Are you profitable? If no, what's your plan for becoming profitable?
What assurance do you have that this company will be successful?
Tell me about your reporting structure.
How does the company decide on what to work on next?

πŸ”ΉHR

How do you see this position evolving in the next three years?
Who is your ideal candidate and how can I make myself more like them?
What concerns/reservations do you have about me for this position?
What can I help to clarify that would make hiring me an easy decision?
How does the management team deal with mistakes?
If you could hire anyone to join your team, who would that be and why?
How long does the average engineer stay at the company?
Why have the last few people left?
Have you ever thought about leaving? If you were to leave, where would you go?
What programming language is fastest among offered ones
Anonymous Quiz
13%
JavaScript
2%
PHP
30%
C
37%
Python
3%
Ruby
1%
Perl
13%
Java
Coding interview preparation
What programming language is fastest among offered ones
Out of 154 answers only 29% answered correctly. I guess we should start some training in this channel, from basic level :D

Most of you answered Python, yes it's easy to write code in Python, easier than in other programming languages, but the fact that it's to easy makes it really slow when it comes to computation.

In Python you don't have to write types of variables, but since you don't write it, it means computer needs to figure out type instead of you in runtime, which makes him slow.

Also Python is interpreted language, which means it Interpreter need to read and execute code in runtime. On the other hand, Java or C are compiled programming languages which means that your computer directly translates the program to machine code which could be understood by computer. This is done before you run your code, so no time is lost for conversion in runtime.

Btw if you didn't now, Python is created using C language, so when you run Python there are some C commands running underneath πŸ˜‰
Hey guys,
I have created basic programming quiz. Quiz has 8 questions with multiple answers. When you finish it, you will get your position on the leaderboard.

This is first test quiz, if you like it we will create more and maybe even give some prizes to best ones on leaderboards. Your answers will remain anonymous.

You can take the quiz here:
http://t.me/QuizBot?start=Qf9xzJIx
Should we share quiz results publicly?
Anonymous Poll
11%
No
9%
Only top 3
10%
Only top 10
13%
Only top 20
56%
Share all
πŸ† Top results in the quiz 'Programming basics'

πŸ–Š 8 questions
⏱ 15 seconds per question
πŸ€“ 56 people took the quiz

πŸ₯‡ Alpha1Beta2Tgeta3 – 8 (29.6 sec)
πŸ₯ˆ @Hmmm00 – 8 (33.2 sec)
πŸ₯‰ @Subhanshu20135 – 8 (39 sec)
4. @Gfwfg – 8 (43.3 sec)
5. Sticker – 8 (49.6 sec)
6. @drago32123 – 8 (52.4 sec)
7. @sawyer_09 – 8 (55.1 sec)
8. PEE NA – 8 (1 min 16 sec)
9. Peter Ragnick – 7 (30.4 sec)
10. @Eraqus1 – 7 (36.6 sec)
11. @engineer951999 – 7 (45.1 sec)
12. @robleisrajkumar – 7 (47 sec)
13. @DeadSk0ll – 7 (51.6 sec)
14. Anonymous – 7 (57.9 sec)
15. Malik Hr – 7 (1 min 2 sec)
16. RAMYA NALLIBOINA – 7 (54.3 sec)
17. Mowli Dharan – 7 (1 min 3 sec)
18. @WiesmanY – 7 (59.1 sec)
19. @puni27 – 7 (1 min 3 sec)
20. Vaibhav Joshi – 6 (39.8 sec)
We shared only top 20 so those who didn't do so great don't feel bad about their name positioning too low. Do you want to start a league? Every day or every few days we would have new quizzes where you can get points for final rankings!
Anonymous Poll
90%
Yes
10%
No
Data Structures series

Linked List

πŸ”Ή A Linked List is a linear collection of data elements, called nodes, each pointing to the next node by means of a pointer. It is a data structure consisting of a group of nodes which together represent a sequence.
πŸ”Ή Singly-linked list: linked list in which each node points to the next node and the last node points to null
Doubly-linked list: linked list in which each node has two pointers, p and n, such that p points to the previous node and n points to the next node; the last node's n pointer points to null
πŸ”Ή Circular-linked list: linked list in which each node points to the next node and the last node points back to the first node
πŸ”Ή Time Complexity:
Access: O(n)
Search: O(n)
Insert: O(1)
Remove: O(1)
πŸ‘1
What not to do during an interview

Don’t suck at something you say you’re an expert at
Seriously, how often do I talk to Java experts who don’t know how to use the most basic java.util classes? Or bash experts who don’t know how to grep? Or 3D math experts who don’t know anything about the dot and cross products? If you tell an interviewer you’re great at something she knows even a little bit about, she’s absolutely within her rights to test you on it. If you have no idea what she’s talking about, she’s going to start doubting everything on your resume. Don’t exaggerate your expertise.

Don’t make excuses for why you failed
Sometimes you get caught flat-footed, or your brain seizes up, or you have a bad day, or you go down the wrong path and get stuck. It happens, and a good interviewer gets that.

Don’t be arrogant, don’t act superior
Should be a no-brainer, right? And yet…

Don’t badmouth an old employer
Even if you worked for Satan in the helpdesk department of the third circle of hell, it’s unprofessional to trashtalk an old employer. Repeat after me: you had a great time and learned a lot, but it was time to move on.

Don’t swear

Don’t chatter on and on
You don’t want to be labelled a β€œtalker”.

Don’t waste the interviewer’s (and your own) time
Don’t ask questions you can look up trivially. Don’t focus on irrelevant aspects of the job (gee, I hear you have catered lunches!).

Don’t get caught by an exploding offer
No company is going to give you an open-ended offer, valid until the end of time – but assuming your timetable is reasonable, most will be willing to hold on to an offer until you’re ready to make a decision (i.e., after you’ve finished your interviews).

Don’t get discouraged
The interview process is, to some degree, a stochastic process that can have little or no relationship to your actual abilities. Some interviewers and companies are better at it than others, but there isn’t a good way to know this ahead of time, and there isn’t much you could do about it, even if you did.

If you completely screw up with one interviewer, put it behind you and focus on acing the next. If you don’t get an offer, don’t take it as a statement on your personal worth. Take what you can from the experience, prepare the hell out of your next interview, and move on.