L-8 leetcode 355. Design Twitter | heaps | leetcode daily challenge | Java DSA | Hindi

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • Problem Name:
    355. Design Twitter
    Problem Statement:
    Design a simplified version of Twitter where users can post tweets, follow/unfollow another user, and is able to see the 10 most recent tweets in the user's news feed.
    Implement the Twitter class:
    Twitter() Initializes your twitter object.
    void postTweet(int userId, int tweetId) Composes a new tweet with ID tweetId by the user userId. Each call to this function will be made with a unique tweetId.
    List Integer getNewsFeed(int userId) Retrieves the 10 most recent tweet IDs in the user's news feed. Each item in the news feed must be posted by users who the user followed or by the user themself. Tweets must be ordered from most recent to least recent.
    void follow(int followerId, int followeeId) The user with ID followerId started following the user with ID followeeId.
    void unfollow(int followerId, int followeeId) The user with ID followerId started unfollowing the user with ID followeeId.
    Problem link:
    leetcode.com/p...
    Complete Balanced Trees Playlist:
    • Balanced Trees Playlis...
    Java Plus DSA Placement Course Playlist:
    • Java and DSA Course Pl...
    Java Plus DSA Sheet:
    docs.google.co...
    Notes:
    github.com/Tiw...
    Telegram Link:
    shashwattiwari...
    Ultimate Recursion Series Playlist:
    • Recursion and Backtrac...
    Instagram Handle: (@shashwat_tiwari_st)
    shashwattiwari...
    Samsung Interview Experience:
    • I cracked Samsung | SR...
    Company Tags:
    Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe | Samsung
    Timestamp:
    0:00 - Introduction
    #ShashwatTiwari #coding​​ #problemsolving​

КОМЕНТАРІ • 6

  • @mr.nishantawasthi4402
    @mr.nishantawasthi4402 2 місяці тому +1

    shashwattiwari sir ==placement baba

  • @Simplesimpler2003
    @Simplesimpler2003 2 місяці тому +1

    Sir please upload further videos I have placements and I want to learn from you please sir please
    Thank you ❤

  • @mr.nishantawasthi4402
    @mr.nishantawasthi4402 2 місяці тому +1

    Sir please upload more lecture 🙏

  • @SakshiBhatankar
    @SakshiBhatankar Місяць тому +1

    can you please provide this code in your git repository

  • @SH_987
    @SH_987 2 місяці тому

    Bhaiya Please Graph start kar do. Please.