Skip to main content

Stack In Python

class Stack: def __init__(self): self.stack = [] def add(self, dataval): # Use list append method to add element if dataval not in self.stack: self.stack.append(dataval) return True else: return False # Use peek to look at the top of the stack def peek(self): return self.stack[-1] AStack = Stack() AStack.add("Mon") AStack.add("Tue") AStack.peek() print(AStack.peek()) AStack.add("Wed") AStack.add("Thu") print(AStack.peek())

Best Resources for Data Structure and algorithms FY 2022



Best Resource for data structure and algorithms for beginners

It's time for giving the placement period some priority, in this section I would like to share with you guys, one of the best and most structured way approaches for technical interviews.

Let us assume that we have placement preparation within one or two years and we just know the basic level of coding and don't even know the implementation of LinkedList and other data structures. Then is it possible to crack product-based companies????

THE ANSWER is YESSSSS.....

So, if you know Hindi(language)then you can follow pepcoding youtube channel

some of the highlights of this youtube channel is their team has posted more than 1200+ videos on each and every question of data structure and algorithm in Java.
Including every level of ds algo - like arrays, LinkedList, stack, queues, etc
I personally love the way Sumeet Malik sir teaches you and you will definitely be his fan once you attend his single lecture, you're gonna fell in love with DS Algo, I bet.

They have a team of few people who teach each and every concept in live sessions usually 10-15 minutes long on youtube and other videos are available in their playlist, you can check that out.

But, It is just a youtube channel, how is that a structured way for a technical interviews??

As I said you will get each and every concept on youtube channel but they have one website where you can watch video topic-wise and attempt the question simultaneously.

https://www.pepcoding.com/resources/

Some features of this website

  1. They have managed more than 1000 questions in
    difficulty wise level ( level-1 beginner ,
    level-2 intermediate , level-3 Advanced)and
    that too topic wise.

  2. You will get video solution and problem
    explanation of each and every problem.

  3. If you are preparing for placements and You
    know hindi, you'll thank me later about this.

The difference between theirs youtube channel and their website is that On website you will get every thing very well organised, like you try to attempt a question and (if not able to attempt) then you get an immediate solution to that.

I know there are people like me who are begineer, who are advised to solve every thing from GFG but dont know the initial process of how to start, how to plan things out, how to give time for one problem as begineer, intermediate and advance.
You can try this out.

So, I hope you guys would get benefitted from this, and wish you for best placements possible.

Thanks for reading.

Comments

Popular posts from this blog

Getting the Transcription of a Video From Youtube using google cloud platform.

So, the other day I was searching for python code that gives me a transcript of any video, I did what all we do I searched everywhere on Internet but was unfortunate. But we are programmers best thing we do is search more on the internet. finally, I got the code I wanted, all thanks to Pragnakalp Techlabs . Although the code was a little different from my expectations I did some filters on it and made it to view the transcripts of the youtube video. Be patient there are going to be few steps involved in our process !! # pip install google-api-python-client # pip install youtube_transcript_api from apiclient.discovery import build from youtube_transcript_api import YouTubeTranscriptApi api_key = "Secret Key" # replace it with your API key video_id = str ( input ( "Enter the video id: " )) # replace it with your channel id youtube = build ( 'youtube' , 'v3' , developerKey = api_key ) try : responses = YouTubeTranscrip

Stack In Python

class Stack: def __init__(self): self.stack = [] def add(self, dataval): # Use list append method to add element if dataval not in self.stack: self.stack.append(dataval) return True else: return False # Use peek to look at the top of the stack def peek(self): return self.stack[-1] AStack = Stack() AStack.add("Mon") AStack.add("Tue") AStack.peek() print(AStack.peek()) AStack.add("Wed") AStack.add("Thu") print(AStack.peek())

Getting to know API's

Getting to know API API stands for application programming interface An interface, that allows different systems to talk to each other without having to understand exactly what each other does Type of API's APIs can come in many forms or shapes APIs, used for actions like turning on your camera and audio for joining a Zoom call Or they can be web APIs, used for web-focused actions such as liking images on your Instagram or fetching the latest tweets. How Api's are operated(in simple terms) You usually make a request for information or data, and the API returns a response with what you requested.