- 478
- 215 162
Java Coding Insight Interview Preparation
United States
เข้าร่วมเมื่อ 21 ก.ค. 2007
Master Java Interview Skills & Coding Skills With Examples! Goal of this channel is to help others in their quest of job search, by sharing problem solving techniques as well as Java, J2EE related videos.
Explained varieties of coding interview questions asked in big tech. companies such as Facebook, Apple, Amazon, Netflix , Google (or FAANG). Java solutions are explained in details along with examples.
For personal consultation or queries, email me at makarandrane4@gmail.com (Write "Java Coding Insight Interview Preparation" in subject).
Java Interview Preparation / Coding Questions and Answers / Interview Questions
#coding #softwareengineer #Leetcode #Algorithm #DataStructure #Java #programmer #tech #software #codinglife #Preparation #interview #programminglife #programmingisfun #bst #binarysearchtree #Java Coding Insight Interview Preparation #JavaCodingInsightInterviewPreparation #JavaCoding #JavaCodingInsight #codeforces #codechef #atcoder
Explained varieties of coding interview questions asked in big tech. companies such as Facebook, Apple, Amazon, Netflix , Google (or FAANG). Java solutions are explained in details along with examples.
For personal consultation or queries, email me at makarandrane4@gmail.com (Write "Java Coding Insight Interview Preparation" in subject).
Java Interview Preparation / Coding Questions and Answers / Interview Questions
#coding #softwareengineer #Leetcode #Algorithm #DataStructure #Java #programmer #tech #software #codinglife #Preparation #interview #programminglife #programmingisfun #bst #binarysearchtree #Java Coding Insight Interview Preparation #JavaCodingInsightInterviewPreparation #JavaCoding #JavaCodingInsight #codeforces #codechef #atcoder
Leetcode 2325 Decode the Message - 92% Faster On Performance Solution Explained
Leetcode 2325 Decode the Message - 92% Faster On Performance Solution Explained
มุมมอง: 53
วีดีโอ
Leetcode 267 Palindrome Permutation II
มุมมอง 1055 หลายเดือนก่อน
Leetcode 267 Palindrome Permutation II
Leetcode 2542 Maximum Subsequence Score
มุมมอง 1345 หลายเดือนก่อน
Leetcode 2542 Maximum Subsequence Score
Leetcode 2182 Construct String With Repeat Limit - Interesting String Question Explained
มุมมอง 955 หลายเดือนก่อน
Leetcode 2182 Construct String With Repeat Limit - Interesting String Question Explained
Leetcode 2309 Greatest English Letter in Upper and Lower Case
มุมมอง 555 หลายเดือนก่อน
If you find this video helpful, please 'Like' or 'Subscribe'. This is really helpful for the channel and also motivates me to do more of such good videos. Leetcode 2309 Greatest English Letter in Upper and Lower Case - Popular Coding Question Link To The Problem: leetcode.com/problems/greatest-english-letter-in-upper-and-lower-case/description/ Problem Description: Given a string of English let...
Leetcode 2641 Cousins in Binary Tree II
มุมมอง 2306 หลายเดือนก่อน
If you find this video helpful, please 'Like' or 'Subscribe'. This is really helpful for the channel and also motivates me to do more of such good videos. Leetcode 2641 Cousins in Binary Tree II - Popular Binary Tree Coding Question Link To The Problem: leetcode.com/problems/cousins-in-binary-tree-ii/ Problem Description: Given the root of a binary tree, replace the value of each node in the tr...
Leetcode 1789 Primary Department for Each Employee Oracle SQL Query Solution
มุมมอง 1147 หลายเดือนก่อน
If you find this video helpful, please 'Like' or 'Subscribe'. This is really helpful for the channel and also motivates me to do more of such good videos. Leetcode 1789 Primary Department for Each Employee Oracle SQL Query Solution Link To The Problem: leetcode.com/problems/primary-department-for-each-employee/description/ Problem Description: Table: Employee | Column Name | Type | | employee_i...
K'th Connections - Graph Coding Question Explained With Examples
มุมมอง 537 หลายเดือนก่อน
If you find this video helpful, please 'Like' or 'Subscribe'. This is really helpful for the channel and also motivates me to do more of such good videos. K'th Connections - Graph Coding Question Explained With Examples
Leetcode 1112 Highest Grade For Each Student
มุมมอง 697 หลายเดือนก่อน
If you find this video helpful, please 'Like' or 'Subscribe'. This is really helpful for the channel and also motivates me to do more of such good videos. Leetcode 1112 Highest Grade For Each Student - SQL Query Solution Link To The Problem: leetcode.com/problems/highest-grade-for-each-student/ TH-cam channel: th-cam.com/channels/rvpRH4lSRjp2T6btl0lf4w.html github.com/maksrane100/leetcode_solut...
Leetcode 13 Roman to Integer Popular Google Coding Interview Question
มุมมอง 2007 หลายเดือนก่อน
Leetcode 13 Roman to Integer - Popular Google Coding Interview Question
2 Interesting SQL Questions Solved SQL Query Explained
มุมมอง 347 หลายเดือนก่อน
2 Interesting SQL Questions Solved SQL Query Explained
2 SQL Questions Solved - SQL Queries Explained
มุมมอง 227 หลายเดือนก่อน
2 SQL Questions Solved - SQL Queries Explained
Leetcode 1403 Minimum Subsequence in Non Increasing Order
มุมมอง 1077 หลายเดือนก่อน
If you find this video helpful, please 'Like' or 'Subscribe'. This is really helpful for the channel and also motivates me to do more of such good videos. Leetcode 1403 Minimum Subsequence in Non Increasing Order - Very Popular Microsoft Coding Interview Question Link To The Problem: leetcode.com/problems/minimum-subsequence-in-non-increasing-order/description/ Problem Description: You are give...
Leetcode 57 Insert Interval - Very Popular Microsoft Coding Interview Question
มุมมอง 328 หลายเดือนก่อน
Leetcode 57 Insert Interval - Very Popular Microsoft Coding Interview Question
Leetcode 877 Stone Game Popular Google Coding Interview Question
มุมมอง 60410 หลายเดือนก่อน
Leetcode 877 Stone Game Popular Google Coding Interview Question
Leetcode 301 Remove Invalid Parentheses - Popular Facebook Coding Question - Hard Question
มุมมอง 27010 หลายเดือนก่อน
Leetcode 301 Remove Invalid Parentheses - Popular Facebook Coding Question - Hard Question
Important Unix Commands Practical Examples Part 1
มุมมอง 46ปีที่แล้ว
Important Unix Commands Practical Examples Part 1
Leetcode 2662 Minimum Cost of a Path With Special Roads BFS Approach Explained
มุมมอง 322ปีที่แล้ว
Leetcode 2662 Minimum Cost of a Path With Special Roads BFS Approach Explained
Leetcode 22 Generate Parentheses Very Popular Facebook, Google, Amazon, Microsoft Coding Question
มุมมอง 381ปีที่แล้ว
Leetcode 22 Generate Parentheses Very Popular Facebook, Google, Amazon, Microsoft Coding Question
Leetcode 2661 First Completely Painted Row or Column
มุมมอง 172ปีที่แล้ว
Leetcode 2661 First Completely Painted Row or Column
LeetCode 2394 Employees With Deductions AMAZON Question
มุมมอง 99ปีที่แล้ว
LeetCode 2394 Employees With Deductions AMAZON Question
Leetcode 2656 Maximum Sum With Exactly K Elements
มุมมอง 635ปีที่แล้ว
Leetcode 2656 Maximum Sum With Exactly K Elements
Leetcode 773 Sliding Puzzle - Hard Coding Interview Question - Solved And Explained Step By Step
มุมมอง 1.3Kปีที่แล้ว
Leetcode 773 Sliding Puzzle - Hard Coding Interview Question - Solved And Explained Step By Step
Leetcode 2657 Find the Prefix Common Array of Two Arrays - Java Solution
มุมมอง 548ปีที่แล้ว
Leetcode 2657 Find the Prefix Common Array of Two Arrays - Java Solution
Leetcode 586 Customer Placing the Largest Number of Orders Oracle Query Explained
มุมมอง 115ปีที่แล้ว
Leetcode 586 Customer Placing the Largest Number of Orders Oracle Query Explained
Leetcode 2645 Minimum Additions to Make Valid String
มุมมอง 609ปีที่แล้ว
Leetcode 2645 Minimum Additions to Make Valid String
why don't you use binarySearch for left side
class Solution { public String removeOccurrences(String s, String part) { StringBuilder str=new StringBuilder(); for(int i=0;i<s.length();i++){ str.append(s.charAt(i)); int j=str.length()-part.length(); if(j>=0&&str.substring(j).equals(part)){ str.setLength(j); } } return str.toString(); } } runs in 5 ms time done by myself had a great boost in confidence ..code is small but it took me 6 hours to come up to this solution
Easy to understand. Thanks man .
Glad it helped
Hey, This is the best explanation for this question. That DP table made all of my doubts cleared.
Glad it helped....
Eclipse debug window is not showing in video
Excellent explanation!!!!
Glad it was helpful!
very good explained😊
Thanks for liking
Nice Solution and code.
Glad you like it
code- public static boolean iscycle(boolean[] visited,Map<Integer,Boolean> map,int graph[][],int curr ){ if(map.containsKey(curr)) return map.get(curr); if(visited[curr]){ return false; } visited[curr]=true; for(int i: graph[curr]){ if(iscycle(visited, map, graph, i)) map.put(i, true); else return false; } visited[curr]=false; return true; } public static List<Integer> eventualSafeNodes(int[][] graph) { int size=graph.length; boolean visited[] =new boolean[size]; @SuppressWarnings("rawtypes") Map<Integer,Boolean> map=new HashMap(); List<Integer> L=new ArrayList<>(); for(int i=0;i<size;i++){ if(graph[i].length==0) map.put(i, true); } for(int i=0;i<size;i++){ boolean result=iscycle(visited, map, graph, i); map.put(i, result); } for(int i=0;i<size;i++){ if (map.get(i)) L.add(i); } return L; }
That many DFS method, definitely give wrong impression to interviewer
Oh, so just reverse dfs, makes sense! Sadly would not scale really well on higher sized puzzles I think you need 20 TB of memory to make it work at classical 4x4
excellent
Thanks!
nice solution thanks
Happy to help
Thanks i was bit conf
the code doesnot pass all the test cases!!
what will happen if a B is surrounded by G in all four sides?
Doesn't is consider that plus have only one good cells?
Thank you sir crystal clear explanation
You are welcome
Nice solution
You are welcome
This is such a clean and understandable code, thanks
i still didnt understand why we decremented b count
Thank you
You are welcome
worst video, presenter is very confused about what he is presenting .
if(left[1] >= root.val || right[0] <= root.val){ return new int[]{Integer.MIN_VALUE, Integer.MAX_VALUE, 0}; // return new int[]{0, 0, 0}; } i not undersatnd, if minimum is set to Integer,Min AND MAXIMUM IS SET tO iN.MAX , THAN how it is working , for max and maxsum ??
Rani
I bet Takahashi's teeth won't be happy with all these candies..
Time Complexity?
very bad explanation ,nhi samjha kuch
Tu rehne de bhai😅
Very easy to understand. Thank you😊
You are welcome
Thank you
You're welcome
Amazing explanation
Glad it was helpful!
Great explanation brother than you
You are welcome
excellent explanation!
Glad it was helpful!
i like it your chanal, i want to solve all question of DSA. that's why i'll show your all video. nice work. thak for videos.
Glad it helped..
Very clear explanation ! Great
Glad it was helpful!
Thanks man !
Happy to help
Invisible video detected!)😂
Good explanation
Thanks for liking
Thank you good work
Always welcome
nice explanation sir, keep posting content like this
Thank you, I will