r/codinginterview • u/bparanj • Aug 16 '20
r/codinginterview • u/jesuismike • Aug 06 '20
Insertion Sort - Sorting Algorithms Series (Episode 2)
r/codinginterview • u/bparanj • Jul 28 '20
Longest Substring with Same Letters after Replacement
r/codinginterview • u/oobhai • Jul 08 '20
Tried to explain it thoroughly. Hope you will find it helpful. Feedback and comments are welcomed.
r/codinginterview • u/cryptexify • Jul 01 '20
Hey Coach - Tech interview coaching
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 • u/bparanj • Jun 08 '20
Base Conversion - Decimal to Binary using Recursion
r/codinginterview • u/bparanj • May 30 '20
Searching in a Binary Search Tree
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
r/codinginterview • u/bparanj • May 23 '20
Equal Strings using Recursion
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
r/codinginterview • u/bparanj • May 22 '20
Contains Digit using Recursion
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
r/codinginterview • u/bparanj • May 21 '20
What is the biggest hurdle in practicing coding problems?
If your choice is not listed here, please comment and provide your answer.
r/codinginterview • u/bparanj • May 18 '20
Reverse String using Recursion
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
r/codinginterview • u/jaspindersingh83 • May 15 '20
DP == Optimization of repeated sub problems.
How to identify every DP problem.
Check if greedy (Choosing an optimal decision at every step) works for the problems. If not
Draw the recursive brute force solution of a problem and Identify the repeated sub problem.
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 • u/bparanj • May 13 '20
Even Number using Recursion
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
r/codinginterview • u/bparanj • May 12 '20
Remainder using Recursion
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
r/codinginterview • u/bparanj • May 06 '20
Which is the most challenging topic to master for coding interview preparation?
If other, please mention the topic in the comments.
r/codinginterview • u/[deleted] • Mar 26 '20
Taking a more rational look at data scientist skills
r/codinginterview • u/SynthesizeMeSun • Mar 07 '20
Binary Search Tree #1 | Data Structures in JavaScript
r/codinginterview • u/bparanj • Feb 25 '20
Choosing Best Algorithm Design Strategy For A Particular Problem
codingskill.netr/codinginterview • u/HelpingHand007 • Jan 07 '20
Head Recursion | Tail Recursion | Head VS Tail Recursion | EP4
r/codinginterview • u/mohit_agr • Dec 21 '19
Google Summer Internship 2020 (one additional phone interview)!!
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 • u/HelpingHand007 • Nov 22 '19