Jadi
Jadi
  • 228
  • 1 493 488
Top Algorithm Interview Questions: The Length of the last word
Oh! This one easy so let's write it in C to impress the interviewer who is used to see Python :D We are given a string of characters (like a sentence) and we need to return back the length of its last word.
On leetcode: leetcode.com/problems/length-of-last-word
zhlédnutí: 208

Video

Top Algorithm Interview Questions Fully Explained: Convert Roman numbers to Int
zhlédnutí 194Před 16 hodinami
Roman numbers are written using I (1), V (5), X(10), ... and in this question we are going to convert them to the Arabic or Integer numbers we know. So XVII should return 17 but there is a catch! If an I, V, .. comes BEFORE a larger sign, we should decrease the value; so IV is 4 and XIV is 14. Link on leetcode: leetcode.com/problems/roman-to-integer/description/?envType=study-plan-v2&envId=top-...
Top Algorithm Interview Questions Fully Explained: Best time to Buy and Sell Stock
zhlédnutí 173Před dnem
We have a list of a stock price on each day and we can buy on a specific day and sell on a day in the future, target is clear: maximize the profit! I will start by showing you a "bad" solution and analyzing why its bad! This leads us to a practical introduction to the BIG O notation. Then we will look for a better solution which satisfies our interviewer. 00:00 - Buy and sell stock algorithm 02...
Durov is arrested; a reminder for you to export your Telegram data, chats, photos, ...
zhlédnutí 1,1KPřed 14 dny
France arrested Durov. I doubt that this interfere with Telegrams functionality but this is a good reminder that "your data should be yours & under your control". A good thing about Telegram is that it provides easy and sane Export options. Lets have a look and see how we can export our Telegram data. P.S. If you are into crypto; this arrest might have implications on the TON Network.
Top Algorithm Interview Questions Fully Explained: Find the Majority Element in a list
zhlédnutí 276Před 14 dny
The majority element is the element that appears more than ⌊n / 2⌋ times and we are going to find it. First I'll show you what the "You failed!" answer would be, then will write a sane rational one using HashMaps. I will use Rust to write this for fun.. and also to let you write your own in Python. At last we will finish with a cool, somehow non-obvious method called "voting algorithm". 00:00 -...
Top Algorithm Interview Questions Fully Explained; remove duplicates from an array
zhlédnutí 264Před 21 dnem
In this video of our interview reparation series, we are faced with a sorted array and we need to 1. return the number of unique values and 2. move all these non-duplicated values to the beginning of the array; in place. - 150 question: leetcode.com/studyplan/top-interview-150/ - this question on leetcode: leetcode.com/problems/remove-duplicates-from-sorted-array/description/?envType=study-plan...
Top Algorithm Interview Questions Fully Explained: Remove Elements
zhlédnutí 497Před měsícem
In this question we are provided an Array of ints and a Number (val). We have to remove all the occurrences of val in array (*IN PLACE* ) and return back the numbers of elements which are not equal to `val`. I will describe one Python specific solution and then write a more general one. Hope you enjoy & learn.
LLM Programming Made Easy: 20 Min tutorial on starting your local SLM openai compatible project
zhlédnutí 2,4KPřed měsícem
In this short video I'll show you how to start your LLM (Large language model) journey as a programmer. After a short intro on LLMs, I'll show you how to start using a smaller model (SLM / Small language model) via ollama and interact with it using CLI, Curl & Python using openai library. 00:00 - LLM, gpt & chatgpt Introduction 03:00 - LLMs vs Small Language Models (SLMs) 04:53 - Using Olama to...
Top Algorithm Interview Questions Fully Explained; Ransom Notes using hashmaps
zhlédnutí 492Před měsícem
We have a magazine and a RansomNote draft and we want to know if we can create that RansomNote using the letters we have in the magazine. This can be solved in many ways. I'll do a standard hashmap solution first and later will show a solution which beats 95% of other peoples solutions; speed wise. 00:00 - Ransom Note using hashmaps interview questions 00:50 - Why hash maps 03:26 - Understandin...
regreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems explained
zhlédnutí 2,7KPřed 2 měsíci
Recently the news of a high severity security risk, shocked the OpenSSH world. Researchers from Qualys Security Advisory showed a remote shell possibility using a double free attach on heap combined with other techniques including unlink & aa4bmo. In this video I'll try to go a bit deep into this attack and give you leads what to study next if you are interested while describing the technical a...
Top Algorithm Interview Questions Fully Explained - Merge Sorted Array; Arrays & 2 Pointers Solution
zhlédnutí 1,5KPřed 2 měsíci
In this video I will show you step by step how I think (and talk to impress my interviewer) when solving the Merge Sorted Array from 150 Top programming interview questions in leetcode described here: leetcode.com/problems/merge-sorted-array/description/?envType=study-plan-v2&envId=top-interview-150 00:00 - Intro to interview questions 01:50 - Understanding the Merge Sorted Arrays question 05:2...
Top Algorithm Interview Questions Explained - Valid Parentheses - Stacks, Easy
zhlédnutí 385Před 2 měsíci
In these series I'm going to solve many Programming Interview questions related to algorithms and explain my thought process. I will try to be detailed and show you how a programmer thinks when confronted with such questions. This one is about Stacks and is Easy: Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input str...
Linux Privilege Escalations; sample of exploit chaining
zhlédnutí 943Před 3 měsíci
In this example from NahamCon, after finding a command injection possibility in a C server, we drop ourselves in a shell. Then we will escalate our user privileges using a `lynx` browser by jumping into a VI editor and running another shell from there while being root.
Unleash Your Inner Geek: Crafting your own Unix Command! Program your own 'who' and 'users'.
zhlédnutí 1,2KPřed 3 měsíci
Ever wondered how the Unix wizards conjure up their spells? Join me on a thrilling journey as we decode the magic behind the who and users commands. This isn't just another tutorial; it's your gateway to becoming a command line sorcerer on Linux, BSD, or Mac systems. ‍ We'll start by unraveling the mysteries of the UTMP unix version 1 format on OpenBSD, guiding you through the arcane process of...
Installing OpenBSD on Hetzner VMs; a trick to install a new OS on your current VPS
zhlédnutí 712Před 3 měsíci
I was looking for an OpenBSD server but most of the providers only provide Linux; so I used a classic trick: replacing the main OS with an IMG file of another OS, booting the system via Console and installing the new OS using http packages / netinstall. Lets see. 00:00 - Starting a Hetzner Linux server 02:12 - Connecting to my Ubuntu hetzner and planning 03:38 - Replacing the OS with OpenBSD us...
A quick look at the rewrite of coreutils with Rust and the history of NetBSD
zhlédnutí 1,1KPřed 4 měsíci
A quick look at the rewrite of coreutils with Rust and the history of NetBSD
Exploring the 'CON' Folder Mystery in Windows by studying the recently published source code of DOS4
zhlédnutí 946Před 4 měsíci
Exploring the 'CON' Folder Mystery in Windows by studying the recently published source code of DOS4
Sending a PR for Rust Coreutils; fixing a bug related to "no pid" when killing a process
zhlédnutí 468Před 4 měsíci
Sending a PR for Rust Coreutils; fixing a bug related to "no pid" when killing a process
Reverse Engineering an easy cryptographic algorithm
zhlédnutí 859Před 4 měsíci
Reverse Engineering an easy cryptographic algorithm
River Raid Rust in Terminal: Adding color and text based graphics
zhlédnutí 643Před 5 měsíci
River Raid Rust in Terminal: Adding color and text based graphics
Unveiling the xz Utils Backdoor which deliberately opens our SSH connections for RCEs
zhlédnutí 23KPřed 5 měsíci
Unveiling the xz Utils Backdoor which deliberately opens our SSH connections for RCEs
River Raid Rust: merging more PRs and breaking the program into different modules
zhlédnutí 483Před 5 měsíci
River Raid Rust: merging more PRs and breaking the program into different modules
River Raid Rust: Adding fuel and showing score
zhlédnutí 935Před 5 měsíci
River Raid Rust: Adding fuel and showing score
River Raid Rust, PRs will add Pause and we will use Double Ended Queues to scroll our world in O(1)
zhlédnutí 302Před 5 měsíci
River Raid Rust, PRs will add Pause and we will use Double Ended Queues to scroll our world in O(1)
River Raid Rust; checking github PRs
zhlédnutí 424Před 6 měsíci
River Raid Rust; checking github PRs
Rust River Raid - Terminal rewrite of a retro game; part two: Enemies
zhlédnutí 488Před 6 měsíci
Rust River Raid - Terminal rewrite of a retro game; part two: Enemies
Warp; a review of a Terminal Emulator with 50M series B funding
zhlédnutí 1,1KPřed 6 měsíci
Warp; a review of a Terminal Emulator with 50M series B funding
Rust River Raid - A terminal based retro game with no game engine in Rust; Part1: riding the river
zhlédnutí 837Před 6 měsíci
Rust River Raid - A terminal based retro game with no game engine in Rust; Part1: riding the river
Space Pizza Hunter; writing a Python terminal game without using a game engine
zhlédnutí 1KPřed 6 měsíci
Space Pizza Hunter; writing a Python terminal game without using a game engine
A 3 min walk in Wat Pho Buddhist Temple
zhlédnutí 535Před 6 měsíci
A 3 min walk in Wat Pho Buddhist Temple

Komentáře

  • @fahadiqbal9827
    @fahadiqbal9827 Před 2 hodinami

    Great job sir sometimes when doing these practice interview questions i have to avoid my habit of using python specific tricks like .split(' ')

  • @deutschWallah
    @deutschWallah Před 19 hodinami

    Soon we would see a lot of modules written in C23 and Rust. Humans will evolve and so will their software design and code.

  • @AhmadMohammadirad-rl3uy

    What a great teacher

  • @Akazadonu
    @Akazadonu Před dnem

  • @cloudtech273
    @cloudtech273 Před 2 dny

    This was really good. Thanks !

  • @Akazadonu
    @Akazadonu Před 2 dny

  • @atajahangiri5861
    @atajahangiri5861 Před 2 dny

    VERY very GOOD video

  • @mehdismaeili3743
    @mehdismaeili3743 Před 2 dny

    Excellent.

  • @basantsub1234
    @basantsub1234 Před 4 dny

    Can you provide the CTF home page link?

    • @geekingjadi
      @geekingjadi Před 2 dny

      Unfortunately I do not have it anymore. most of the CTF sites are active only during the competition period.

  • @danialpezeshpoor1057

    very helpful. Thank you jadi.

  • @lucjuniorbossou4457

    Hello Jadi. Thank you for your content. It helped me a lot in my certification process. I want to know if you have a linkedin account

  • @PeggyCecil-z8h
    @PeggyCecil-z8h Před 6 dny

    Walker Jessica Lopez Patricia White Betty

  • @user-op5fi7jj1k
    @user-op5fi7jj1k Před 7 dny

    We can exit there to :) nice Video thank you !

  • @Akazadonu
    @Akazadonu Před 7 dny

  • @atajahangiri5861
    @atajahangiri5861 Před 7 dny

    VERY very GOOD video

  • @srm3674
    @srm3674 Před 8 dny

    its amazing best wishes❤❤❤❤

  • @user-op5fi7jj1k
    @user-op5fi7jj1k Před 8 dny

    Dear Jadi thank you for your course, you have such a nice way of telling stories !

  • @mobinmobini-t9n
    @mobinmobini-t9n Před 9 dny

    Thanks

  • @AhmedBoureghida
    @AhmedBoureghida Před 11 dny

    i am study now oscp ... what should i study more for unserstanding this video?

    • @geekingjadi
      @geekingjadi Před 8 dny

      Hi Ahmed, this is an advanced topic. Not a good place to start. You can try some pwn or overflow related videos if you are just starting; I think I also have an explanation on overflows. I'm not sure about your level so ... sorry if I can not point you to some related material.

  • @user-ol5xv1ms4w
    @user-ol5xv1ms4w Před 13 dny

    Thank you Jadi. It is interesting. I think it is good to try new things.

  • @Izanlumorteza
    @Izanlumorteza Před 13 dny

    Thanks bro.greeting from berlin

  • @atajahangiri5861
    @atajahangiri5861 Před 13 dny

    VERY very GOOD video

  • @aminpasban2013
    @aminpasban2013 Před 13 dny

    Jadi can't calculate 9-1 but he can solve complicated algorithm questions, interesting 🤣🤣

  • @rezataheri8287
    @rezataheri8287 Před 13 dny

    Sometimes it is from bad solutions that we can come up with optimizations and good solutions, so keep learning :)

  • @rkrrkumar511
    @rkrrkumar511 Před 13 dny

    I found your explanation very clean and informative. Very easy to understand with such funny emotions and laugh. Thanks

  • @SajidAli-xr4jo
    @SajidAli-xr4jo Před 13 dny

    Waiting for next one... Jadi 😁

  • @the_hazh
    @the_hazh Před 15 dny

    Yeahhh Jadi for the president 🤘🏽

  • @ssssssssssssssssss50
    @ssssssssssssssssss50 Před 15 dny

    Stickers in the HTML version don’t load for me. Any idea why? Download fails everytime i click on them, but videos and voices messages load fine

  • @jimmysalcedo7910
    @jimmysalcedo7910 Před 15 dny

    So are you trying to say that it might shut down the service???

    • @geekingjadi
      @geekingjadi Před 15 dny

      No. I'm saying that use this opportunity for thinking about "Do I have a backup of my data?"

  • @AdeyemoAdewale-mk1mb
    @AdeyemoAdewale-mk1mb Před 15 dny

    Excuse me.... telegram is not all bad...

    • @geekingjadi
      @geekingjadi Před 15 dny

      Its the best messenger I've seen :)

  • @irene002
    @irene002 Před 15 dny

    I think even if the Durov is sentenced to 20 years in prison. the small team that he had mentioned will take the responsibility and continue the telegram... but always having a backup of your data is thinking ahead of time most people learn this after data loss

  • @atajahangiri5861
    @atajahangiri5861 Před 15 dny

    VERY very GOOD video

  • @smartnima
    @smartnima Před 15 dny

    Nice Video!

  • @CjqNslXUcM
    @CjqNslXUcM Před 15 dny

    I would never trust telegram. Their infrastructure is not open source and it's really easy to scrape public chats using the API.

  • @rezabahmani2007
    @rezabahmani2007 Před 15 dny

    Jadi what is your keyboard brand and it's model?

    • @geekingjadi
      @geekingjadi Před 15 dny

      Models and brands are not important :) This is a gift... a keychron k3 I think

    • @rezabahmani2007
      @rezabahmani2007 Před 15 dny

      @@geekingjadi Thanks

  • @salehSammm
    @salehSammm Před 15 dny

    poor me I use telegram as my note and music bank 😪😪

    • @geekingjadi
      @geekingjadi Před 15 dny

      and nothing have happened yet. but its always good to have your data in your own hands

  • @Ali-M-fy6vq
    @Ali-M-fy6vq Před 15 dny

    Perfect like every time❤❤❤🎉

  • @mohsenmousavi9980
    @mohsenmousavi9980 Před 15 dny

    A great reminder for me , thank you jadi

  • @behradio
    @behradio Před 15 dny

    Very Good ❤

  • @vahidgarousii
    @vahidgarousii Před 16 dny

    Keep your smile dear jadi😊 snd keep going💪

  • @SajidAli-xr4jo
    @SajidAli-xr4jo Před 17 dny

    Thanks slept well😅

  • @atajahangiri5861
    @atajahangiri5861 Před 18 dny

    VERY very GOOD video

  • @mohammadpagard
    @mohammadpagard Před 18 dny

    Thanks ;) I think we use some of these in programming and we don’t know what the name of these, for example you told about HashMap solution and I knew this by name Dictionary Counter-it’s the name I call it- 😂 ❤️☕️

  • @Shynmmr
    @Shynmmr Před 18 dny

    Luv u jadi❤🎉

  • @SajidAli-xr4jo
    @SajidAli-xr4jo Před 19 dny

    #cool_Jadi

  • @realcyberpirate
    @realcyberpirate Před 21 dnem

    Mamnon Agha!

  • @DevJourneyWithAlireza

    Thanks man you’re the best ❤❤❤

  • @subodhkamble6480
    @subodhkamble6480 Před 22 dny

    Thank you Jadi 🤩

  • @AhmadMohammadirad-rl3uy

    I really appreciate your clear explanations Keep going

  • @GrowingwithNasim
    @GrowingwithNasim Před 22 dny

    👍👍👍👍