Tech Pathak
Tech Pathak
  • Видео 118
  • Просмотров 261 421
Equal Stacks || HackerRank Stack Solution || Java || Hindi
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode #stack
Equal Stacks Problem Solution in Java
This is a Hackerrank Stack Problem Solving series
HackeRrank Question Link:-
www.hackerrank.com/challenges/equal-stacks/problem?isFullScreen=true
Sari videos dekhne ke liye yaha click karen :-
ruclips.net/p/PLK92vFtWL9O2lE_ZZw9P9hiDKzVuocDcA
In this video, we will solve a problem from HackeRrank in Java
Please subscribe to my channel and hit the bell icon so you will be notified when I will upload more videos on RUclips
Please Like Share and Subscribe.
Thank You...
Просмотров: 366

Видео

Balanced Brackets || HackerRank Stack Solution || Java || Hindi
Просмотров 383Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode #stack Balanced Brackets Problem Solution in Java This is a Hackerrank Stack Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/balanced-brackets/problem?isFullScreen=false Sari videos dekhne ke liye yaha click karen :- ruclips.net/p/PLK92vFtWL9O2lE_ZZw9P9hiDKzVuocDcA In this vi...
Maximum Element || HackerRank Stack Solution || Java || Hindi
Просмотров 623Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode #stack Maximum Element Problem Solution in Java This is a Hackerrank Stack Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/maximum-element/problem?isFullScreen=false Sari videos dekhne ke liye yaha click karen :- ruclips.net/p/PLK92vFtWL9O2lE_ZZw9P9hiDKzVuocDcA In this video,...
28 Find the Index of the First Occurrence || LeetCode Solution || Java || Hindi
Просмотров 548Год назад
#LeetCode #hacker #hackers #hackerstayaway #HackerRank Find the Index of the First Occurrence Problem Solution in Java This is a Random Problem Solving series Question Link :- leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/description/ Video Playlist : ruclips.net/p/PLK92vFtWL9O1BDiZfZVwcRp6w6_w47Meu In this video, we will solve a problem from LeetCode in java Please s...
Reverse a doubly linked list || HackerRank LinkedList Solution || Java || Hindi
Просмотров 506Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Reverse a Doubly Linked List Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/reverse-a-doubly-linked-list/problem?isFullScreen=true Sari videos dekhne ke liye yaha click karen :- ruclips.net/p/PLK92vFtWL9O04KE3Bxx3uG0d9...
Valid Parentheses || LeetCode Solution || Java || Hindi
Просмотров 177Год назад
#LeetCode #hacker #hackers #hackerstayaway #HackerRank LeetCode Valid Parentheses Problem Solution in Java This is a Random Problem Solving series Question Link :- leetcode.com/problems/valid-parentheses/description/ Video Playlist : ruclips.net/p/PLK92vFtWL9O1BDiZfZVwcRp6w6_w47Meu In this video, we will solve a problem from LeetCode in java Please subscribe my channel and hit the bell icon so ...
Inserting a Node Into a Sorted Doubly Linked List || HackerRank LinkedList Solution || Java || Hindi
Просмотров 627Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Inserting a Node Into a Sorted Doubly Linked List Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/insert-a-node-into-a-sorted-doubly-linked-list/problem?isFullScreen=true Sari videos dekhne ke liye yaha click karen :- r...
Find Merge Point of Two Lists || HackerRank LinkedList Solution || Java || Hindi
Просмотров 438Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Find Merge Point of Two Lists linked lists Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/find-the-merge-point-of-two-joined-linked-lists/problem?isFullScreen=true Sari videos dekhne ke liye yaha click karen :- ruclips...
Cycle Detection || HackerRank LinkedList Solution || Java || Hindi
Просмотров 548Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Cycle Detection linked lists Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/detect-whether-a-linked-list-contains-a-cycle/problem?isFullScreen=true Sari videos dekhne ke liye yaha click karen :- ruclips.net/p/PLK92vFtW...
Delete duplicate value nodes from a sorted || HackerRank LinkedList Solution || Java || Hindi
Просмотров 438Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Delete duplicate value nodes from a sorted linked lists Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/delete-duplicate-value-nodes-from-a-sorted-linked-list/problem?isFullScreen=true Sari videos dekhne ke liye yaha cl...
Get Node Value || HackerRank LinkedList Solution || Java || Hindi
Просмотров 427Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Get Node Value linked lists Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/get-the-value-of-the-node-at-a-specific-position-from-the-tail/problem?isFullScreen=true Sari videos dekhne ke liye yaha click karen :- ruclips...
Merge two sorted linked lists || HackerRank LinkedList Solution || Java || Hindi
Просмотров 639Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Merge two sorted linked lists Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/merge-two-sorted-linked-lists/problem?isFullScreen=true Sari videos dekhne ke liye yaha click karen :- ruclips.net/p/PLK92vFtWL9O04KE3Bxx3uG0...
Compare two linked lists || HackerRank LinkedList Solution || Java || Hindi
Просмотров 674Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Compare two linked lists Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/compare-two-linked-lists/problem?isFullScreen=true Sari videos dekhne ke liye yaha click karen :- ruclips.net/p/PLK92vFtWL9O04KE3Bxx3uG0d9UtxFd3ph...
Reverse a linked list || HackerRank LinkedList Solution || Java || Hindi
Просмотров 625Год назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Reverse a linked list Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/reverse-a-linked-list/problem?isFullScreen=true Sari videos dekhne ke liye yaha click karen :- ruclips.net/p/PLK92vFtWL9O04KE3Bxx3uG0d9UtxFd3ph In th...
Print in Reverse Of a Linked List || HackerRank LinkedList Solution || Java || Hindi
Просмотров 6362 года назад
#Hackerrank #hacker #hackers #hackerstayaway #programming #programmer #program #leetcode Print in Reverse of a Linked List Problem Solution in Java This is a HackerRank LinkedList Problem Solving series HackeRrank Question Link:- www.hackerrank.com/challenges/print-the-elements-of-a-linked-list-in-reverse/problem?isFullScreen=true Sari videos dekhne ke liye yaha click karen :- ruclips.net/p/PLK...
Delete a Node From a Linked List || HackerRank LinkedList Solution || Java || Hindi
Просмотров 6772 года назад
Delete a Node From a Linked List || HackerRank LinkedList Solution || Java || Hindi
Insert a node at a specific position in a linked list || HackerRank LinkedList Solution||Java||Hindi
Просмотров 1,2 тыс.2 года назад
Insert a node at a specific position in a linked list || HackerRank LinkedList Solution||Java||Hindi
Insert a node at the head of a linked list || HackerRank LinkedList Solution || Java || Hindi
Просмотров 5602 года назад
Insert a node at the head of a linked list || HackerRank LinkedList Solution || Java || Hindi
Insert a Node at the Tail of a Linked List || HackerRank LinkedList Solution || Java || Hindi
Просмотров 8362 года назад
Insert a Node at the Tail of a Linked List || HackerRank LinkedList Solution || Java || Hindi
Print the Elements of a Linked List || HackerRank LinkedList Solution || Java || Hindi
Просмотров 1,4 тыс.2 года назад
Print the Elements of a Linked List || HackerRank LinkedList Solution || Java || Hindi
Cut the sticks || Hackerrank Solution || Java || Hindi
Просмотров 1,9 тыс.2 года назад
Cut the sticks || Hackerrank Solution || Java || Hindi
Library Fine || Hackerrank Solution || Java || Hindi
Просмотров 7052 года назад
Library Fine || Hackerrank Solution || Java || Hindi
Rotate Array || LeetCode Solution || Java || Hindi
Просмотров 4272 года назад
Rotate Array || LeetCode Solution || Java || Hindi
Number of Steps to Reduce a Number to Zero || LeetCode Solution || Java || Hindi
Просмотров 2942 года назад
Number of Steps to Reduce a Number to Zero || LeetCode Solution || Java || Hindi
The Power Sum || HackerRank Solution || Java || Hindi
Просмотров 1,8 тыс.2 года назад
The Power Sum || HackerRank Solution || Java || Hindi
Binary Search || LeetCode Solution || Java || Hindi
Просмотров 912 года назад
Binary Search || LeetCode Solution || Java || Hindi
Reverse String || LeetCode Solution || Java || Hindi
Просмотров 2682 года назад
Reverse String || LeetCode Solution || Java || Hindi
Sherlock and Squares || Hackerrank Solution || Java || Hindi
Просмотров 1,2 тыс.3 года назад
Sherlock and Squares || Hackerrank Solution || Java || Hindi
Append and Delete || Hackerrank Solution || Java || Hindi
Просмотров 2,8 тыс.3 года назад
Append and Delete || Hackerrank Solution || Java || Hindi
New Laptop || Unboxing and Review MacBook M1 Air || 8gb and 256gb
Просмотров 1403 года назад
New Laptop || Unboxing and Review MacBook M1 Air || 8gb and 256gb

Комментарии

  • @KomalVerma-oo5nx
    @KomalVerma-oo5nx 4 месяца назад

    worst explanation

  • @DeepaliKiranastore
    @DeepaliKiranastore 4 месяца назад

    [a-zA-z]+ ye wala part smjh me nhi aaya kya aap smjha skte hain please

  • @shwetasrivastava7565
    @shwetasrivastava7565 4 месяца назад

    Thnkuhh so much

  • @saif-hb2kr
    @saif-hb2kr 4 месяца назад

    helpful

  • @prushottamkumar2252
    @prushottamkumar2252 4 месяца назад

    sir sol. k piche ka idea n logic bhi bataya kijiye dry run to khudh se bhi kr sakte hain

  • @soumadeepdas7610
    @soumadeepdas7610 4 месяца назад

    import java.util.*; import java.io.*; class Solution{ public static void main(String []argh){ Scanner in = new Scanner(System.in); int t=in.nextInt(); for(int i=0;i<t;i++){ int a = in.nextInt(); int b = in.nextInt(); int n = in.nextInt(); int sum = a + (int)Math.pow(2,0) * b; System.out.print(sum+" "); for(int j=1;j<n;j++){ sum += Math.pow(2,j) * b; System.out.print(sum +" "); } System.out.println(); } in.close(); } }

  • @anujpratap4743
    @anujpratap4743 5 месяцев назад

    a kyu add kyu?

  • @jeeveshkumar5030
    @jeeveshkumar5030 5 месяцев назад

    thanx for making this video. understood it

  • @prachithakur7061
    @prachithakur7061 5 месяцев назад

    you should explain with dry run it was easy question but here is a lot of beginner who should know from beginning. so you should explain with dry run/code

    • @techpathak3617
      @techpathak3617 5 месяцев назад

      Thanks for the suggestion next time will try do dry run

  • @vaishnavighaitidak6907
    @vaishnavighaitidak6907 5 месяцев назад

    HEY PLEASE POST MORE HARD AND MEDIUM LEVEL PROBLEMS FOR STACK HACKERRANK

  • @shibungshughosh573
    @shibungshughosh573 7 месяцев назад

    4 test case nehi mile

  • @tejaltatiwar4682
    @tejaltatiwar4682 7 месяцев назад

    code is tough

  • @factsandfunbygaurav
    @factsandfunbygaurav 7 месяцев назад

    Thank youu soo much 🎉Perfect information

  • @sanju0550
    @sanju0550 8 месяцев назад

    I want solution of python - 3.

  • @ranvirsinghrathor6230
    @ranvirsinghrathor6230 9 месяцев назад

    Ye code time consuming he , Mera code read kro ye single for loop me solution de rha he, List<int> max = new List<int>(); Array.Sort(arr); int init = arr[0]; int count = 0; for(int i=0;i<arr.Length;i++) { int diff = Math.Abs(init - arr[i]); if(diff > 1) { max.Add(count); init = arr[i]; count = 0; i--; } else { count++; } } max.Add(count);

    • @taiyabakhan4923
      @taiyabakhan4923 4 месяца назад

      nhi chla tumhara code bhaiya ji...........

  • @thatsfact1785
    @thatsfact1785 9 месяцев назад

    hlo sir meri hr ek sem me back aa ja rhi hai shi exam ke baad bhi , kya ye effect krega placement me?

    • @techpathak3617
      @techpathak3617 9 месяцев назад

      Last semester tak sare clear kar koi kuch effect nahi padega But make sure placement time tak sare clear kar lena

  • @samvedgupta882
    @samvedgupta882 10 месяцев назад

    Nicely Explained

  • @bhagyashreetadwale949
    @bhagyashreetadwale949 10 месяцев назад

    y 26.09 in the program means y 26 only

  • @rrr9848
    @rrr9848 11 месяцев назад

    Thank you sir..

  • @MuneebKhan
    @MuneebKhan 11 месяцев назад

    Thanks for explaining the problem, But your sol isn't how it should be

  • @LegendaryGamerYT-pz1my
    @LegendaryGamerYT-pz1my Год назад

    bhag sala dry run kerke samjhana chahiye tha na

  • @arwin470
    @arwin470 Год назад

    Nice explanation Sir Really helpful

  • @ashokkumar-hk8xp
    @ashokkumar-hk8xp Год назад

    I have cleared the doubt

  • @purandartiwari5671
    @purandartiwari5671 Год назад

    Mic kon sa hai bhai

  • @sachinpandey909
    @sachinpandey909 Год назад

    👍🏻

  • @अमनसिंह-द5ष

    Good

  • @abhishekvarshney7937
    @abhishekvarshney7937 Год назад

    Good sir ji

  • @PratyushMajumdar
    @PratyushMajumdar Год назад

    Thanks... the ArrayList method was easy understand!!

  • @RajSingh-gz6mr
    @RajSingh-gz6mr Год назад

    It helped!

  • @kaleemashraf2325
    @kaleemashraf2325 Год назад

    Music htao bhai voice clear nhi hai

  • @divyanshgour3784
    @divyanshgour3784 Год назад

    happy rank me se' a' bhi to common he usko consider kyu nhi kiya.

  • @giridharchenna8488
    @giridharchenna8488 Год назад

    Hence we are using this two loops that runs till size of n the time complexity of this algo will be O(n) a fine solution but not a optimize solution. peace

  • @sasmitadas405
    @sasmitadas405 Год назад

    we dont have to write code for sorting?

  • @RahulGupta-bn4rj
    @RahulGupta-bn4rj Год назад

    thanks for the solution , could you please recommend any video to traverse 3d array in javascript.

  • @curious_abhi_24
    @curious_abhi_24 Год назад

    Hey man, great video and explanation. Thanks for helping many budding programmers trying to achieve their dreams. Here is a better solution using HashMap because what he has done in this video is basically taken the concept of HashMap (Key:Value pair) and implemented using another array. class Result { /* * Complete the 'pickingNumbers' function below. * * The function is expected to return an INTEGER. * The function accepts INTEGER_ARRAY a as parameter. */ public static int pickingNumbers(List<Integer> a) { // Write your code here // Create a frequency map of array elements Map<Integer, Integer> frequencyMap = new HashMap<>(); for (int num : a) { frequencyMap.put(num, frequencyMap.getOrDefault(num, 0) + 1); } int maxSubarrayLength = 0; // Iterate through each unique number in the array for (int num : frequencyMap.keySet()) { // Count the length of the subarray containing current num and num + 1 int currentLength = frequencyMap.get(num) + frequencyMap.getOrDefault(num + 1, 0); maxSubarrayLength = Math.max(maxSubarrayLength, currentLength); } return maxSubarrayLength; } }

  • @ayushgupta3358
    @ayushgupta3358 Год назад

    sir ye code java 15 me kyu nhi chal raha

  • @saptarshidey2288
    @saptarshidey2288 Год назад

    int c= arr.size()-1; int left = 0; int right =0; for(int i=0;i<arr.size();i++){ left +=arr.get(i).get(i); right+=arr.get(i).get(c); c--; } return left>right?(left-right):(right-left); this works fine :)

  • @gurkeeratsinghvines6988
    @gurkeeratsinghvines6988 Год назад

    atlast found a good video on this

  • @prachikurhade16
    @prachikurhade16 Год назад

    What does + means

  • @komalbharti7869
    @komalbharti7869 Год назад

    sbse bkvas explanation

  • @riddhikpankhania325
    @riddhikpankhania325 Год назад

    kuch nai smja..sorry

  • @khushiagarwal6601
    @khushiagarwal6601 Год назад

    Excellent explanation!

  • @devansh_4u
    @devansh_4u Год назад

    pehle khud samajhle bhai, kitna confuse hai tu, aaram se video bnaa baad me

  • @RajMandal-io3sw
    @RajMandal-io3sw Год назад

    nice explanation!!

  • @bjjh8471
    @bjjh8471 Год назад

    Mujhse apse contact krna h .....can you share any I'd like Instagram, Facebook, what's number

  • @bjjh8471
    @bjjh8471 Год назад

    Ap kahi job krte ho?

  • @bjjh8471
    @bjjh8471 Год назад

    Apko placement ho gayi h

  • @bjjh8471
    @bjjh8471 Год назад

    Keep doing

  • @pinakeshchatterjee
    @pinakeshchatterjee Год назад

    Keep going! 🔥

  • @kirtisahu5167
    @kirtisahu5167 Год назад

    hello sir , mein c # mein code krti hu logic to build kr leti hu pr mujhe implementation kerne mein issue aata hain isiliye mein consistent nhi rah pati hu

    • @techpathak3617
      @techpathak3617 Год назад

      Bas consistency maintain rakho dhire dhire khud realize krogi ki ab implement bhi kar pa rahi ho