r/codinginterview • • Aug 16 '20

Insert Interval

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Aug 06 '20

Insertion Sort - Sorting Algorithms Series (Episode 2)

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Aug 04 '20

Square Sorted Array

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Jul 28 '20

Longest Substring with Same Letters after Replacement

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Jul 08 '20

Tried to explain it thoroughly. Hope you will find it helpful. Feedback and comments are welcomed.

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Jul 03 '20

Merge k Sorted Linked List

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Jul 01 '20

Hey Coach - Tech interview coaching

2 Upvotes

Started this recently. Planning to add new content on a daily basis to help crack tech interviews. Hope you find it useful.

Follow the LinkedIn page for more updates. Hey Coach LinkedIn page

Feedback is welcomed :)


r/codinginterview • • Jun 26 '20

Replace Negative using Recursion

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Jun 11 '20

Count Vowels using Recursion

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Jun 08 '20

Base Conversion - Decimal to Binary using Recursion

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • May 30 '20

Searching in a Binary Search Tree

2 Upvotes
  • Introduction - Covers the basic concepts of a Binary Search Tree

  • Implement search using recursion

  • Size of the problem

  • Base cases

  • Problem decomposition

  • Recursive cases

  • Recursive solution

  • Time complexity

https://youtu.be/Ro85XgWa1GY


r/codinginterview • • May 23 '20

Equal Strings using Recursion

2 Upvotes
  • Interface (input and output)

  • Base case

  • Size of the problem

  • Linear recursive algorithm

  • Recursion diagram

  • Problem decomposition

  • Boolean function

  • Recursive solution

  • Tail recursive algorithm

  • Short circuit evaluation

  • Recursion diagram

  • Comparison of linear and recursive solution

https://youtu.be/jIIghpILhXs


r/codinginterview • • May 22 '20

Contains Digit using Recursion

2 Upvotes
  • Problem Statement

  • Program interface

  • Assumption on input

  • Linear recursive algorithm

  • Recursion diagram

  • Tail recursive algorithm

  • Short circuit evaluation

  • Relationship between base cases and recursive case

  • One base case vs Two base cases

  • Time complexity

  • Similar problem

https://youtu.be/iVPYG5CsCFY


r/codinginterview • • May 21 '20

What is the biggest hurdle in practicing coding problems?

2 Upvotes

If your choice is not listed here, please comment and provide your answer.

24 votes, May 28 '20
9 Unable to come up with optimal solution within the time limit
5 Unable to apply the concepts to solve problems
1 Lack of basic knowledge to solve the problem
3 Stuck during practice with no idea about how to make progress
1 Difficulty in translating the solution to code
5 Lack of problem solving skills to tackle coding problems

r/codinginterview • • May 18 '20

Reverse String using Recursion

2 Upvotes
  • Recursive solution

  • Multiple options in reduction step

  • Combine step requires language builtin function

  • Performance implications of concatenating strings

  • Iteration solution using inplace modification of string

  • Using two pointers

  • Recursive solution with string inplace modification

  • Using a wrapper function

https://youtu.be/zd5-fATSCIE


r/codinginterview • • May 15 '20

DP == Optimization of repeated sub problems.

2 Upvotes

How to identify every DP problem.

  1. Check if greedy (Choosing an optimal decision at every step) works for the problems. If not

  2. Draw the recursive brute force solution of a problem and Identify the repeated sub problem.

  3. Decide whether to use a 1D array or a 2D to memoize the repeated sub problems results.

Every DP problem can be identified using above cardinal rules. DP problems are easiest to decipher.


r/codinginterview • • May 13 '20

Even Number using Recursion

2 Upvotes
  • Implement iteratively without using % operator

  • Time and space complexity

    • Iterative Solution

    • Using multiply and divide

  • Recursion diagram

  • Recursive solution

  • Fixing stack overflow error

  • Reduction step

  • Trivial combine step

  • Tail recursion

  • Two base cases

  • How many base cases are required?

  • Time and space complexity

  • Linear recursion

https://www.youtube.com/watch?v=P-mP_VWKuUI&feature=share


r/codinginterview • • May 12 '20

Remainder using Recursion

2 Upvotes
  • Deriving equation to solve a problem

  • Time complexity for equation based implementation

  • Solving the problem by hand (brute force)

  • Solving the problem by translating manual steps to iterative code

  • Recognizing nothing to be done in combine step using recursion diagram

  • Trivial combine step in recursion leads to tail recursion

  • Comparison of iterative and recursive solution to see how terminating condition maps to base case, result and reduced value are the same in this case

Modulo using Recursion


r/codinginterview • • May 06 '20

Which is the most challenging topic to master for coding interview preparation?

2 Upvotes

If other, please mention the topic in the comments.

38 votes, May 13 '20
28 Recursion and Dynamic Programming
3 Tree and Graph Algorithms
1 Sorting and Searching
3 Runtime Analysis and Performance Optimization
3 Greedy Algorithms
0 Other

r/codinginterview • • Mar 26 '20

Taking a more rational look at data scientist skills

Thumbnail
infatica.io
2 Upvotes

r/codinginterview • • Mar 07 '20

Binary Search Tree #1 | Data Structures in JavaScript

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Feb 25 '20

Choosing Best Algorithm Design Strategy For A Particular Problem

Thumbnail codingskill.net
2 Upvotes

r/codinginterview • • Jan 07 '20

Head Recursion | Tail Recursion | Head VS Tail Recursion | EP4

Thumbnail
youtube.com
2 Upvotes

r/codinginterview • • Dec 21 '19

Google Summer Internship 2020 (one additional phone interview)!!

2 Upvotes

I have completed my 2 Phone interview for Google Summer Internship [North America] on Dec 17, and I did well in both the interviews. I received an mail saying " We would like to conduct one additional phone interview to collect some more data points on your technical background".

What's the level of questions asked in the 3rd interview, any tips or advice?

Should I ask my recruiter for feedback on my first 2 interviews for preparing well!!


r/codinginterview • • Nov 22 '19

Dynamic Programming Techniques | Dynamic Programming Tutorial | EP2

Thumbnail
youtu.be
2 Upvotes