The Coding Mentor
The Coding Mentor
  • 39
  • 487 221
The BEST Way to Compare Query Results in SQL
💾 GitHub Compare Statement: github.com/CuriosityLeonardo/Useful-Queries/blob/main/Compare
💾GitHub: github.com/CuriosityLeonardo?
✋Follow me on LinkedIn: / markus-friemann-221b3814b
มุมมอง: 81

วีดีโอ

Upwork - My experience
มุมมอง 553 หลายเดือนก่อน
💾GitHub: github.com/CuriosityLeonardo?... ✋Follow me on LinkedIn: / markus-friemann-221b3814b
Modern Dive into R | Lesson 1 Getting Started with R
มุมมอง 294ปีที่แล้ว
In this Video I am presenting the first lesson of the Book Modern Dive by Chester Ismay and Albert Y. Kim. Link to the content: moderndive.com/ SUBSCRIBE! Do you want to understand how to solve SQL (and now also R) Problems in every detail? That's what my channel is about. When I was younger I thought I could never program because it looked way too difficult. The truth is that it takes time but...
OCCUPATIONS Problem Hackerrank SQL Solutions Medium
มุมมอง 8Kปีที่แล้ว
In this Video Im solving the OCCUPATIONS Problem from Hackerrank SQL Problems. My Solution: with doctor as ( Select name, ROW_NUMBER() OVER(order by name) as rn FROM OCCUPATIONS WHERE occupation LIKE 'Doctor' ) ,professor as ( Select name, ROW_NUMBER() OVER(order by name) as rn FROM OCCUPATIONS WHERE occupation LIKE 'Professor' ) ,singer as ( Select name, ROW_NUMBER() OVER(order by name) as rn ...
EASY SQL Leetcode Interview Questions | Practice
มุมมอง 1Kปีที่แล้ว
In this Video I will go with you through 9 Easy SQL Interview Questions on Leetcode. I will solve them in excruciating detail and use minimal editing so that you can follow all of my thought patterns. Here you find the Leetcode problems: leetcode.com/problemset/database/?listId=5htp6xyg&page=1 SUBSCRIBE! Do you want to understand how to solve SQL Problems in every detail? That's what my channel...
How To PASS Professional Scrum Developer Certificate | PSD I
มุมมอง 4.3Kปีที่แล้ว
Learn how to pass the Professional Scrum Developer Certificate (PSD I) in this Video. RESOURCES: Scrum Guide: scrumguides.org/index.html Test Exams for the PSD: Scrum Developer Open by scrum.org: www.scrum.org/open-assessments/scrum-developer-open Scrum Open by scrum.org: www.scrum.org/open-assessments/scrum-open Another Test Exam page: capeprojectmanagement.com/psd-sample/quiz_html5.html 280 f...
How to SOLVE Hard Problems
มุมมอง 459ปีที่แล้ว
This video tells you about how I solve hard problems. It will benefit you greatly if you also want to solve hard problems. SUBSCRIBE! Do you want to understand how to solve SQL Problems in every detail? That's what my channel is about. When I was younger I thought I could never program because it looked way too difficult. The truth is that it takes time but with some patience anybody can do it!...
SQL ADVANCED Certification Part 2 on Hackerrank | Crypto Market Transactions Monitoring
มุมมอง 23Kปีที่แล้ว
Second Part of the Advanced SQL Certification Test on Hackerrank - Crypto Version Here is the code and the dataabse: Code: github.com/CuriosityLeonardo/HackerrankCertifications/blob/main/Crypto Market Transaction Monitoring Solution Database: github.com/CuriosityLeonardo/HackerrankCertifications/blob/main/Crypto Market Transaction Monitoring Database.csv SUBSCRIBE! Do you want to understand how...
SQL ADVANCED Certification Part 1 on Hackerrank - Crypto Market Algorithms Report
มุมมอง 31K2 ปีที่แล้ว
This is the first problem of the SQL Advanced Certification Test - Crypto Version. Code for the Solution in MSSQL: github.com/CuriosityLeonardo/HackerrankCertifications/blob/main/Crypto Market Algorithms Report Solution SUBSCRIBE! Do you want to understand how to solve SQL Problems in every detail? That's what my channel is about. When I was younger I thought I could never program because it lo...
Python Hackerrank Solutions | Tuples Easy Problem
มุมมอง 9932 ปีที่แล้ว
In this video I solve the Tuples Problem which is an easy Python Problem on Hackerrank. SUBSCRIBE! Do you want to understand how to solve SQL Problems in every detail? That's what my channel is about. When I was younger I thought I could never program because it looked way too difficult. The truth is that it takes time but with some patience anybody can do it! Follow me along and get better! SU...
Python Hackerrank Solutions | Write a Function Easy Problem
มุมมอง 4092 ปีที่แล้ว
In this video I solve the "Write a Function" problem. This is an easy Python Problem on Hackerrank. SUBSCRIBE! Do you want to understand how to solve Python Problems in every detail? That's what my channel is about. When I was younger I thought I could never program because it looked way too difficult. The truth is that it takes time but with some patience anybody can do it! Follow me along and...
Python Hackerrank Solutions | What's Your Name Easy Problem
มุมมอง 1792 ปีที่แล้ว
In this video I solve "What's Your Name" Problem on Hackerrank. This is an easy Python Problem. SUBSCRIBE! Do you want to understand how to solve Coding Problems in every detail? That's what my channel is about. When I was younger I thought I could never program because it looked way too difficult. The truth is that it takes time but with some patience anybody can do it! Follow me along and get...
Python Hackerrank Solutions | Arithmetic Operators Easy Problem
มุมมอง 552 ปีที่แล้ว
In this video I solve the "Arithmetic Operators" Problem on Hackerrank. This is an easy Python Problem. SUBSCRIBE! Do you want to understand how to solve Coding Problems in every detail? That's what my channel is about. When I was younger I thought I could never program because it looked way too difficult. The truth is that it takes time but with some patience anybody can do it! Follow me along...
Python Hackerrank Solutions | Loops Easy Problem
มุมมอง 802 ปีที่แล้ว
I am solving the Python Problem Loops from Hackerrank in this video. This is an easy Python Problem. SUBSCRIBE! Do you want to understand how to solve Coding Problems in every detail? That's what my channel is about. When I was younger I thought I could never program because it looked way too difficult. The truth is that it takes time but with some patience anybody can do it! Follow me along an...
SQL ADVANCED Certification Skills test on Hackerrank - Second Problem - Weekend Hours
มุมมอง 24K2 ปีที่แล้ว
Watch also the first problem of SQL Advanced Certification test: th-cam.com/video/IxIO_I9vShE/w-d-xo.html&ab_channel=TheCodingMentor Solve this problem to better understand the Row Number function: th-cam.com/video/756bY8z-B0c/w-d-xo.html&ab_channel=TheCodingMentor Database for this problem on GitHub: github.com/CuriosityLeonardo/HackerrankCertifications/blob/main/Weekend Hours Database.txt My ...
SQL ADVANCED Certification Skills test on Hackerrank - First Problem - Weather Analysis
มุมมอง 21K2 ปีที่แล้ว
SQL ADVANCED Certification Skills test on Hackerrank - First Problem - Weather Analysis
Hackerrank Python Solutions | Print Hello World Easy Problem
มุมมอง 552 ปีที่แล้ว
Hackerrank Python Solutions | Print Hello World Easy Problem
NO Given Table Structure! Hackerrank SQL Solution Print Prime Numbers Medium Problem
มุมมอง 6K2 ปีที่แล้ว
NO Given Table Structure! Hackerrank SQL Solution Print Prime Numbers Medium Problem
Hackerrank SQL Solutions Revising the Select Query II Easy Problem
มุมมอง 1112 ปีที่แล้ว
Hackerrank SQL Solutions Revising the Select Query II Easy Problem
Hackerrank SQL Solutions Revising the Select Query I Easy Problem
มุมมอง 4572 ปีที่แล้ว
Hackerrank SQL Solutions Revising the Select Query I Easy Problem
ALL Hackerrank SQL Solutions in ONE Video! | Easy Medium Hard Problems
มุมมอง 83K2 ปีที่แล้ว
ALL Hackerrank SQL Solutions in ONE Video! | Easy Medium Hard Problems
#1 SQL Problem why your Code is not running
มุมมอง 5042 ปีที่แล้ว
#1 SQL Problem why your Code is not running
SQL BASIC Certification Skills Test on Hackerrank Detailed SOLUTION!
มุมมอง 16K2 ปีที่แล้ว
SQL BASIC Certification Skills Test on Hackerrank Detailed SOLUTION!
SQL Intermediate Certification Skills Test on Hackerrank Detailed SOLUTION!
มุมมอง 73K2 ปีที่แล้ว
SQL Intermediate Certification Skills Test on Hackerrank Detailed SOLUTION!
Hackerrank SQL Solutions | Challenges SQL Hackerrank Intermediate Problem
มุมมอง 16K3 ปีที่แล้ว
Hackerrank SQL Solutions | Challenges SQL Hackerrank Intermediate Problem
Hackerrank SQL Solutions | Ollivanders Inventory SQL Hackerrank Medium Problem
มุมมอง 9K3 ปีที่แล้ว
Hackerrank SQL Solutions | Ollivanders Inventory SQL Hackerrank Medium Problem
The Hardest Problem | Hackerrank SQL Solutions | 15 Days of Learning SQL Part 2 of 2
มุมมอง 4.7K3 ปีที่แล้ว
The Hardest Problem | Hackerrank SQL Solutions | 15 Days of Learning SQL Part 2 of 2
The Hardest Problem | Hackerrank SQL Solutions | 15 Days of Learning SQL Part 1 of 2
มุมมอง 10K3 ปีที่แล้ว
The Hardest Problem | Hackerrank SQL Solutions | 15 Days of Learning SQL Part 1 of 2
Hackerrank SQL Solutions | SQL Project Planning Hackerrank Medium Problem
มุมมอง 9K3 ปีที่แล้ว
Hackerrank SQL Solutions | SQL Project Planning Hackerrank Medium Problem
Hackerrank SQL Solutions | The PADS SQL Hackerrank Medium Problem
มุมมอง 6K3 ปีที่แล้ว
Hackerrank SQL Solutions | The PADS SQL Hackerrank Medium Problem

ความคิดเห็น

  • @saikirant4677
    @saikirant4677 3 วันที่ผ่านมา

    thanks a lot sir for clearly explaining a complex problem in simple way

  • @deepakreddy5738
    @deepakreddy5738 7 วันที่ผ่านมา

    @3:47:07 HEY CAN YOU PLZZ get me out of this riddle WITH CTE AS(SELECT W.ID, P.AGE, W.COINS_NEEDED, W.POWER, ROW_NUMBER() OVER(PARTITION BY P.AGE,p.power ORDER BY P.AGE,P.POWER W.COINS_NEESED ASC) AS RK FROM WANDS AS W INNER JOIN WANDS_PROPERTY AS P ON W.CODE=P.CODE WHERE P.IS_EVIL=0) SELECT * FROM CTE WHERE RK=1 ORDER BY POWER DESC , AGE what is the problem in this code and why it is showing error

  • @mohanamaity3460
    @mohanamaity3460 8 วันที่ผ่านมา

    why can't we join difficult and submission table on the score column

  • @harichandana2260
    @harichandana2260 13 วันที่ผ่านมา

    This is brilliant..

  • @balaroxx2700
    @balaroxx2700 18 วันที่ผ่านมา

    To be honest i actually felt why this video is 1 hour and i initially not interested and thinking like skip this one problem in hacker rank but the way cross checked with excell and making the queries in chunks and chunks very brilliant respect brother❤

    • @thecodingmentor7701
      @thecodingmentor7701 18 วันที่ผ่านมา

      Good for you that u still watched it! Glad you could learn something 😊👍

  • @989894945
    @989894945 21 วันที่ผ่านมา

    Thanks!

    • @thecodingmentor7701
      @thecodingmentor7701 21 วันที่ผ่านมา

      Thank you!! It is very much appreciated 🙏👏

  • @PrateekRohila29
    @PrateekRohila29 หลายเดือนก่อน

    The Correct Answer for this Problem is WITH hours_worked AS ( SELECT emp_id, CASE WHEN MINUTE(TIMESTAMP) >= MINUTE(LAG(TIMESTAMP) OVER(PARTITION BY DATE(TIMESTAMP), emp_id ORDER BY TIMESTAMP)) THEN HOUR(TIMESTAMP) - HOUR(LAG(TIMESTAMP) OVER(PARTITION BY DATE(TIMESTAMP), emp_id ORDER BY TIMESTAMP)) ELSE HOUR(TIMESTAMP) - HOUR(LAG(TIMESTAMP) OVER(PARTITION BY DATE(TIMESTAMP), emp_id ORDER BY TIMESTAMP)) - 1 END AS hours_worked FROM attendance WHERE DAYOFWEEK(TIMESTAMP) IN (1, 7) -- 1 for Sunday, 7 for Saturday ) SELECT emp_id, SUM(hours_worked) AS hours_worked FROM hours_worked GROUP BY emp_id ORDER BY hours_worked DESC;

  • @SKSathish-ik2xd
    @SKSathish-ik2xd หลายเดือนก่อน

    SELECT ALGORITHM, SUM(CASE WHEN quarterly =1 THEN VOL ELSE 0 END) AS TRANSACTION_Q1 , SUM(CASE WHEN quarterly =2 THEN VOL ELSE 0 END) AS TRANSACTION_Q2 , SUM(CASE WHEN quarterly =3 THEN VOL ELSE 0 END) AS TRANSACTION_Q3 , SUM(CASE WHEN quarterly =4 THEN VOL ELSE 0 END) AS TRANSACTION_Q4 FROM ( SELECT ALGORITHM AS ALGORITHM, SUM(VOLUME) VOL, datepart(quarter,dt) as quarterly FROM COINS C INNER JOIN TRANSACTIONS T ON C.code=T.coin_code WHERE DATEPART(YEAR,DT) = 2020 GROUP BY ALGORITHM,DATEPART(QUARTER,DT) ) Q GROUP BY Q.ALGORITHM ORDER BY Q.ALGORITHM

  • @mohammeddilshad1945
    @mohammeddilshad1945 หลายเดือนก่อน

    for interview question(second last one ) Why wont below query work , its giving me sum which is higher than the acrual results select c.contest_id, hacker_id, name,clg.college_id,chlng.challenge_id,total_submissions as sum1, total_accepted_submissions as sum2, total_views as sum3,total_unique_views as sum4 from Contests c join Colleges clg on c.contest_id = clg.contest_id join Challenges chlng on clg.college_id = chlng.college_id join Submission_Stats s on chlng.challenge_id = s.challenge_id join View_Stats v on s.challenge_id = v.challenge_id where c.contest_id = 845 order by c.contest_id

  • @jdsoteldo
    @jdsoteldo หลายเดือนก่อน

    do you recommend i do the regular scrum certification first? I'm a senior engineer.

    • @thecodingmentor7701
      @thecodingmentor7701 หลายเดือนก่อน

      No you can go straight to the PSD Certification. I also didnt do the regular scrum cert

  • @Kiruthikapari
    @Kiruthikapari หลายเดือนก่อน

    Could you please clarify why we having " WHERE s.score = d.score " in where condition

    • @abhijeetbhati1000
      @abhijeetbhati1000 หลายเดือนก่อน

      because if you read explanation carefully you will notice that hackers who have obtained full marks are written Difficulty table contains full score of Difficulty and submissons score column contains score obtained by hacker so we need hackers that obtained full score only

  • @Kiruthikapari
    @Kiruthikapari หลายเดือนก่อน

    Could you please tell me why we having WHERE s.score = d.score

  • @sebastianmedina5106
    @sebastianmedina5106 หลายเดือนก่อน

    thank you!

  • @davestorm6718
    @davestorm6718 หลายเดือนก่อน

    For Binary Tree Nodes, try this instead: SELECT N, CASE WHEN P IS NULL THEN 'Root' WHEN N IN (SELECT P FROM BST) THEN 'Inner' ELSE 'Leaf' END FROM BST ORDER BY N;

  • @rahultalwar4847
    @rahultalwar4847 หลายเดือนก่อน

    nicely explained sir, Thank you🤩

  • @malcolmisaiah_
    @malcolmisaiah_ หลายเดือนก่อน

    Bless you

  • @Yog3shPatel
    @Yog3shPatel 2 หลายเดือนก่อน

    if this medium then Im screwed.

  • @dheerajgoyal7362
    @dheerajgoyal7362 2 หลายเดือนก่อน

    Man you had it but still struggled for small stuff 😂 but yeah great way to approach a problem

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Thanks! Yes these small details can be tedious!

  • @vineetkaur1667
    @vineetkaur1667 2 หลายเดือนก่อน

    Thank you for the video !

  • @virenparshetty4350
    @virenparshetty4350 2 หลายเดือนก่อน

    by far the best explanation, thank you!

  • @tanyifan8630
    @tanyifan8630 2 หลายเดือนก่อน

    You can full outer join all of the tables. That way you can get all of the null values regardless of column count.

  • @quillerj2412
    @quillerj2412 2 หลายเดือนก่อน

    Thank you very much!

  • @rahulrajpoot319
    @rahulrajpoot319 2 หลายเดือนก่อน

    Very great work bro. Please keep uploading the videos

  • @djrednitro4116
    @djrednitro4116 2 หลายเดือนก่อน

    damn I wish I saw this earlier I took the test and got stuck on it so I failed.

  • @saipavanbanala
    @saipavanbanala 2 หลายเดือนก่อน

    very well explained

  • @martinberger365
    @martinberger365 2 หลายเดือนก่อน

    Definetelly not a very smart approach, far too complicated

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Hi martin, thanks for the feedback. Feel free to post a better solution so we can all get better :)

  • @SeanzySmooth
    @SeanzySmooth 3 หลายเดือนก่อน

    Awesome video and thank you for putting the timestamp for each problem in the comments

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Thanks for appreciating it! Timestamps make sense, I dont think anyone would want to watch the whole thing at once 😁

  • @ChrissyPrincess
    @ChrissyPrincess 3 หลายเดือนก่อน

    For MySQL SELECT CASE WHEN grade >= 8 THEN name ELSE 'NULL' END AS Name, Grade, Marks FROM Students s, Grades G WHERE S.marks BETWEEN G.min_mark and G.max_mark ORDER BY grade DESC, name ASC, marks ACS;

  • @user-vx4qt1vu3q
    @user-vx4qt1vu3q 3 หลายเดือนก่อน

    Hi, In Weather Observation Station 8 I did something like that: SELECT DISTINCT City FROM Station WHERE LOWER(LEFT(City, 1)) IN ('a', 'e', 'i', 'o', 'u') AND LOWER(RIGHT(City, 1)) IN ('a', 'e', 'i', 'o', 'u') ; Maybe it would be helpfull for somebody

  • @Lalit_Sharma_20
    @Lalit_Sharma_20 3 หลายเดือนก่อน

    while joining with challenges table, why didn't we joined them based on both columns challenge_id and hacker_id ?

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Hi Lalit, we didn't join the challenges table based on the column hacker_id because the hacker_id in the challenges table only tells you what hacker created that challenge. This information is not helpful in creating the desired output

  • @gazanfersayed4870
    @gazanfersayed4870 3 หลายเดือนก่อน

    Hey! This video has been such a life saver. Thank you!! Also, for the last challenge i.e. 06:39:06 15 days of learning SQL, you can skip the @count_hacker variable by just doing the count in the @consistent_hacker variable while joining it with the max_hacker CTE. Like this: declare @consistent_hackers table ( submission_date date, hacker_id int ); declare @sub_date date; declare @remaining_date date; insert into @consistent_hackers select submission_date, hacker_id from submissions where submission_date = '2016-03-01'; set @sub_date = '2016-03-01'; set @remaining_date = '2016-03-01'; while @sub_date <= '2016-03-15' begin set @sub_date = dateadd(day, 1, @sub_date); insert into @consistent_hackers select s.submission_date, s.hacker_id from submissions s join @consistent_hackers ch on ch.hacker_id = s.hacker_id and ch.submission_date = @remaining_date where s.submission_date = @sub_date; set @remaining_date = dateadd(day, 1, @remaining_date); end; with max_hacker as ( select row_number() over (partition by submission_date order by count(s.hacker_id) desc, s.hacker_id asc) as rn, submission_date, s.hacker_id, name from submissions s join hackers h on s.hacker_id = h.hacker_id group by submission_date, s.hacker_id, name ) select mh.submission_date, count(distinct ch.hacker_id), mh.hacker_id, name from @consistent_hackers ch join max_hacker mh on ch.submission_date = mh.submission_date and rn = 1 group by mh.submission_date, mh.hacker_id, name;

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Hey! Thanks for enriching my post with your great addition!

  • @alishadeb457
    @alishadeb457 3 หลายเดือนก่อน

    The question says "If more than one student created the same number of challenges AND the count is less than the maximum number of challenges created". Can you explain why did you put keyword ""then" instead of AND between these two statement?

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Hi alisha, you are probably referring to my notes on the right side in line 18 where I write then. You are correct, it should say AND in that line. Thanks! :)

  • @terran008
    @terran008 3 หลายเดือนก่อน

    This is great man, thank you a lot for taking your time for this and sharing it with us

  • @jd_0p
    @jd_0p 3 หลายเดือนก่อน

    You Deserve A Sub bro ❤

  • @dasunit07
    @dasunit07 4 หลายเดือนก่อน

    This was great. Step by step explanation was smooth.

  • @carolrockk
    @carolrockk 4 หลายเดือนก่อน

    Really helpful! Thanks!

  • @phongnguyen2794
    @phongnguyen2794 4 หลายเดือนก่อน

    can you update the test as there is some change in the requirement of the test as now we cant group by sender and have to do it in time frame

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Thanks for letting me know! I might do an updated SQL Advanced Certifications video. Good idea

  • @shafniiqbal1601
    @shafniiqbal1601 4 หลายเดือนก่อน

    Good work mate! loved the way you approached the problem, and how you broke it down into bits and worked your way towards the answer required.

  • @Ashokkumar-msd07
    @Ashokkumar-msd07 4 หลายเดือนก่อน

    My query is correct.. output is no response on stdout...i also face same issue in intermediate test..it is bug?

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Hi Ahok. Certification Tests on Hackerrank might change over time. Check if it is still the same problem description as in my video

    • @Ashokkumar-msd07
      @Ashokkumar-msd07 2 หลายเดือนก่อน

      @@thecodingmentor7701 okey ... thank you for the reply 🫡

  • @BACS_VarshiniNidagundi
    @BACS_VarshiniNidagundi 4 หลายเดือนก่อน

    can we use WITH in MySQL ????

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Yes! You can use the WITH Statement also in mySQL

  • @abhinair4528
    @abhinair4528 4 หลายเดือนก่อน

    I was able to crack it this way: WITH SS AS (SELECT CO.contest_id, SUM(SS.total_submissions) AS TOT_SUBS, SUM(SS.total_accepted_submissions) AS TOT_A_S FROM Colleges AS CO JOIN Challenges AS CH ON CO.College_id = CH.College_id JOIN Submission_Stats AS SS ON CH.Challenge_id = SS.Challenge_id GROUP BY CO.contest_id ), VS AS (SELECT CO.contest_id, SUM(VS.total_views) AS TOT_VS, SUM(VS.total_unique_views) AS TOT_UV FROM Colleges AS CO JOIN Challenges AS CH ON CO.College_id = CH.College_id JOIN View_Stats AS VS ON CH.Challenge_id = VS.Challenge_id GROUP BY CO.contest_id ) SELECT C.contest_id, C.hacker_id, C.name, TOT_SUBS, TOT_A_S, TOT_VS,TOT_UV FROM Contests AS C JOIN SS ON C.Contest_id = SS.Contest_id JOIN VS ON C.Contest_id = VS.Contest_id

  • @IITian_Vlogs7
    @IITian_Vlogs7 4 หลายเดือนก่อน

    Voice is not clear. Else content is good.

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Thanks! I got an extra microphone in some parts of the video. In the beginning I recorded with the computer mic which was not great. Glad you still liked it!

  • @luyiting7245
    @luyiting7245 4 หลายเดือนก่อน

    thank you for the great explanation, I learnt a lot!

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      That's awesome! Im glad you could take something away from it. Keep learning!

  • @thangbach5506
    @thangbach5506 4 หลายเดือนก่อน

    Thanks so much

  • @mayurijoshiofficial
    @mayurijoshiofficial 4 หลายเดือนก่อน

    Hi I want one solution for this question from hacerank . Advertising System Net Seller Report 4 As part of Hacker Ad's advertising system analytics, a team needs a list of campaigns that have a sequence of events with more sell transactions than buy transactions. Transactions are considered in the order they appear in the table. A sequence is a number of consecutive transactions with the same campaign_id. 6 6789 10 The result should be in the following format: campaign, netsells count, netsells total. campaign is the campaign name. A campaign name may have more than one campaign id. Test netsells count is the total number of reported event sequences for a campaign name. netsells, total is a total of all the sell transactions in event sequences. Run Results should be sorted descending by netsells total

  • @mohdsameer2445
    @mohdsameer2445 4 หลายเดือนก่อน

    clean as a whistle

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Thanks! I try not to make it "too" clean, so you guys can understand the thought process Im going through :)

  • @arguto1993
    @arguto1993 5 หลายเดือนก่อน

    instead of excluding the dogecoin can we just use select DISTINCT algorthm?

    • @bencetoth2630
      @bencetoth2630 3 หลายเดือนก่อน

      That's what I was thinking about too. Basically we have duplications because the Scrypt algorithm is for both doge and the other coin, but we just simply don't need one of the Scrypt rows so select distinct seems like a more natural option here for me.

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      ​@@bencetoth2630 You are both correct. Now thinking about it, the select distinct would be an even better solution. Thanks for the input!

  • @Lucy-L1205
    @Lucy-L1205 5 หลายเดือนก่อน

    Sorry a bit confused about the raw_input below (if). The variable below is first_name and last_name and assign the values to print_full_name. However, it needs to define two new variables (first and last) to output the final result. Is my understanding correct?

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Hi Lucy, the variables are first_name and last_name, that's correct. The first and last are called arguments from the function. That are the input parameters or arguments that the function needs to get its output.

  • @mayurijoshiofficial
    @mayurijoshiofficial 5 หลายเดือนก่อน

    Do you have solution for Advertising Sytem Net Seller Report? And Transaction Monitoring System Report

    • @thecodingmentor7701
      @thecodingmentor7701 2 หลายเดือนก่อน

      Are these from the hackerrank certifications? I don't recall, but I also have videos on the hackerrank certifications. You should check them out