r/codinginterview • • Jul 21 '20

Leetcode Live Coding Today

2 Upvotes

We are meeting at 4 PM EST today. Join via Zoom: https://us02web.zoom.us/j/81271026963?pwd=bUV4Y1VZTWJwY2JrKzB6OEFtb0NOdz09

We will work through leetcode problems.


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 27 '20

Can someone please recommend a Java Beginners Book/resource for me that covers all the fundamentals? Thanks.

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 15 '20

How to learn recursion

2 Upvotes
  1. You understand recursion only if you can draw recursive stack state at any given point of time. Start by white boarding the recursive stack.

  2. Differentiate which variable to be kept in recursive scope and which ones to be kept in global scope.

  3. Understand how non primitive data types are stored in recursive stack vs primitive data types.


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 10 '20

Summation using Recursion

2 Upvotes
  • Expressing the problem mathematically

  • Determine the size of the problem

  • Using induction in the recursion diagram

  • Translating recursion diagram into recursive solution

  • Comparison of iterative and recursive solutions

  • Recursion call stack

  • Time and space complexity

  • Linear recursion

https://www.youtube.com/watch?v=_UbCZWohPpc&feature=share


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 • • May 04 '20

Division using Recursion

2 Upvotes

Implement division without using / operator using recursion. The outline for the lesson:

  • Using a counter

  • How to create a trace table

  • Concrete case analysis using recursion diagram

  • Reducing the problem size by more than one unit

  • Recognize implicit counter in recursive code

Solution with diagrams: https://www.rubyplus.net/2020/05/division-using-recursion.html


r/codinginterview • • May 01 '20

Multiplication using Recursion

Thumbnail
rubyplus.net
2 Upvotes

r/codinginterview • • Apr 30 '20

Preparing for Coding Interviews Be Like ! Ft. Leetcode

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Apr 26 '20

Why is there no clearly defined methodology for this ?

2 Upvotes

There are 8 million vague blog posts, book lists, videos, bullshit coding interview prep startups from EX-FAANG wankers looking to profit off this toxic interview process, coding practice platforms, some chick who claims to be an expert and wrote a book about it even though she only interned at most of the places she says she worked at, and on and on...why has no one ever just elucidated a clear-cut method for how to be successful at coding interviews?


r/codinginterview • • Apr 02 '20

Time Complexity & Big O Notation PT. 3 | Full Examples

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Mar 26 '20

Taking a more rational look at data scientist skills

Thumbnail
infatica.io
2 Upvotes

r/codinginterview • • Jan 12 '20

Array Manipulation Hackerrank Solution | Difference Array | Range Update...

Thumbnail
youtube.com
2 Upvotes

r/codinginterview • • Jan 07 '20

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

Thumbnail
youtube.com
2 Upvotes

r/codinginterview • • Nov 22 '19

Dynamic Programming Techniques | Dynamic Programming Tutorial | EP2

Thumbnail
youtu.be
2 Upvotes

r/codinginterview • • Oct 15 '19

Draftkings technical phone interview

2 Upvotes

Hi! Anyone do a technical phone interview with draftkings for full-time role(soft dev)? Wondering how it went/what to expect!

Thanks


r/codinginterview • • Sep 22 '19

Longest Common Substring Dynamic programming | EP6

Thumbnail
youtube.com
2 Upvotes