Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kellatirupathi/263b5c987ed20374c0aa0fc4780f860a to your computer and use it in GitHub Desktop.

Select an option

Save kellatirupathi/263b5c987ed20374c0aa0fc4780f860a to your computer and use it in GitHub Desktop.
Transcript for transcript_1WmO_UKln5kpt2t4E6RP84ZvWrT0kFm8-_1_4173_5f8512026e32_6.txt
[00:02:04] Yeah, hi.
[00:02:05] Good morning.
[00:02:09] Yeah, I'm fine, sir.
[00:02:13] So, how are you?
[00:02:16] Yeah, I'm fine, sir.
[00:02:17] What about you, sir?
[00:02:19] I'm fine.
[00:02:19] Could you turn your camera on, please?
[00:02:22] Yeah, sure.
[00:02:27] So where are you from?
[00:02:29] I'm from Ongol, sir.
[00:02:32] Okay, so could you briefly explain about yourself?
[00:02:35] Yeah, sure, sir.
[00:02:37] I am Guru Brahmam from Ongole.
[00:02:39] Currently, I am pursuing B.Tech final year at Kite College in Kakinada.
[00:02:45] I have strong skills in Python and SQL, mainly developing in backend development and integrating with AI integrations using LLMs and also AI.
[00:02:57] Frameworks in Python and also a fast API and building REST APIs.
[00:03:05] I have worked on various projects like there are AI region and also a
[00:03:12] visit Maker A, it helps me more strengthen in backend and frontend development skills and also AI integration development and also
[00:03:24] I have interested in different development also and mostly
[00:03:31] development aid projects.
[00:03:36] My goal is to become a software developer.
[00:03:40] And I have obvious
[00:03:45] listening music and self motivator.
[00:03:49] Thank you.
[00:03:51] Okay.
[00:03:52] So do you have an experience like I can see the web development intern?
[00:03:57] So you worked as an intern from last one and a half year?
[00:04:04] As I said, exactly.
[00:04:06] When I, in second year of my B.Tech, I selected as a web developer, not intern, like a
[00:04:16] small club in our college, in my college, for developing tech stacks related to software.
[00:04:25] Okay, so it's showing June 2024 to present right now.
[00:04:29] So it seems one and a half year, I think.
[00:04:32] Yeah, yes, sir.
[00:04:34] From second year of end of my B.Tech, I joined in that club.
[00:04:39] Okay, it is a club of college, not an external company where you did the internship.
[00:04:43] Yes, sir.
[00:04:44] Currently, I am working as an intern in a trajectory company, in January intern.
[00:04:51] Okay.
[00:04:53] So, okay, that's good.
[00:04:55] So, the project that you mentioned, are the project which is built by you or those are the college projects?
[00:05:03] Built by me, sir.
[00:05:04] So as a team or individual?
[00:05:07] Yes, sir.
[00:05:08] There are a few projects are built by me, sir, like a resume maker and also
[00:05:13] So, yeah, generally, it's a maker.
[00:05:17] Okay, so how you build it?
[00:05:20] So can you briefly explain me in detail like what is the technology that you used?
[00:05:27] And what was your approach and why you select those framework and technology to build your project?
[00:05:35] Yeah, sure.
[00:05:39] Sir, can I start with the project resume?
[00:05:44] Sure.
[00:05:45] Yeah, okay, sir.
[00:05:46] When I am currently in BTEC final year, when applying multiple companies like job for job purpose and also a intentional purpose, at that time I
[00:05:59] I faced many challenges in resume making and also analyzing the 8-year score.
[00:06:07] At the time, I fixed it and also a
[00:06:15] researched on multiple social media technologies how can we build this and how it will be at that time i researched in chat gb and also a in social media activities at that time i
[00:06:32] started preparing and developing website like a resume maker it helps me
[00:06:39] to analyze the resume and providing a sessions based on the job description and also a presented resume.
[00:06:49] It helps me developing front-end and back-end development skills.
[00:06:54] In this project, my role is full-stack developer.
[00:06:59] From front end, I used React and also a Talon CSS.
[00:07:04] Back end, I used...
[00:07:07] The next JS or Node.js and Express for development, A integration, long chain and Gemini API.
[00:07:19] Okay, so you build the APIs also like to connect the backend and frontend?
[00:07:25] Yeah, yes, sir.
[00:07:27] Okay, so how you determine like as you said, these scores and all so internally, how you did it basically?
[00:07:39] Sorry.
[00:07:40] So as you said, you determined the score of the resume also.
[00:07:45] So have you used any AI tool there?
[00:07:48] Yes, sir.
[00:07:49] I used Gemini API keys.
[00:07:51] Like they are free source, open source.
[00:07:54] And also I prepared a prompt like a integration prompt, like different.
[00:08:03] Like skills, skills and projects and also a education purpose and also achievements and contacts based.
[00:08:12] These fields are, I adjusted from few percent of scores based on these fields and if matched, if in case match the
[00:08:23] job description and also a resume it collect the a based ats course
[00:08:31] Okay.
[00:08:34] Okay, that's fine.
[00:08:38] In evaluating the score, the prompt you said, so how you build that prompt initially?
[00:08:43] Do you have the knowledge of this data science things previously or you learned here itself?
[00:08:51] Yeah, when I am in second year, end of the second year, I don't have more about the loan.
[00:08:56] I don't not have an idea on about AISR.
[00:09:00] I researched on multiple social media activities and prepared this prompt.
[00:09:07] So how much of the percentage you used directly from the GPT, like chat GPT and similar kind of resources?
[00:09:16] Yes, I provide my knowledge based prompts to the GPT.
[00:09:22] It gives me a structured prompts.
[00:09:24] Like a role context action and also a what are the format output this prompt accuracy will give me
[00:09:32] okay and if we talk about the complete project like if i ask you how much percentage of the work you directly take from the chat gpt and similar kind of platforms
[00:09:45] Sir, up to 40% of the work I took from the GPT, sir.
[00:09:51] Okay.
[00:09:52] For a structure purpose.
[00:09:54] How it helps me and also what are the fields I required for this project.
[00:10:01] Okay, got it.
[00:10:02] Okay.
[00:10:03] Yes.
[00:10:03] So let's move a bit on the Python thing.
[00:10:06] So are you comfortable in Python?
[00:10:09] No, sure, sir.
[00:10:10] Okay, let's start with that.
[00:10:12] So I will start with the basics.
[00:10:15] So what is the difference between list and tuple?
[00:10:19] Yes, sir.
[00:10:21] List is immutable and also a order and we get the data from using indexing and also a
[00:10:34] We place the data in square brackets in list and also a tuple is immutable.
[00:10:40] It is ordered.
[00:10:43] And we can all same as we can retrieve the data from tuple using indexing, like slice slicing.
[00:10:51] So can we change the value of double?
[00:10:54] No, sir.
[00:10:56] Okay, so which one is better in time execution time?
[00:11:02] Mostly execution time is a couple is a optimizers.
[00:11:06] Why?
[00:11:09] Because of it is mutable and also a optimized data structure.
[00:11:18] Okay, and what is the difference between dictionary and set?
[00:11:23] Yes, dictionary is a key value pairs and dictionary
[00:11:31] creating using square brackets and also a key as immutable and also unique value is unique data type contains multiple value data types and also a
[00:11:45] We're using multiple inbuilt functions to retrieve the data from the dictionary and also set is a unordered and also it does not contain any duplicate values.
[00:11:57] It is a unique values contains in set.
[00:12:01] Okay, so in the dictionary, can I have a duplicate keys?
[00:12:05] No, sir.
[00:12:07] And repeated value in value section?
[00:12:11] Yes.
[00:12:12] Okay.
[00:12:13] So as you said, you have used the prompt in your previous project in the AI resume.
[00:12:21] Yes.
[00:12:22] So.
[00:12:22] If you have a scenario where you have to use a different type of things, like for example,
[00:12:32] You have to build a resume for an experience.
[00:12:34] So definitely the layout and all things will be different.
[00:12:39] But building a resume for the fresher, the things will be different.
[00:12:44] And building a resume for a very high experience like 10 plus years, there it will be more than one.
[00:12:51] Pages so how we will configure these kind of things yes sir currently i'm developing in my company like genia integration developer
[00:13:04] and in this project i am i
[00:13:09] created prompts also, prompts like prompt services and also a different type of blogs.
[00:13:17] I structured a prompt using different type of frameworks like
[00:13:27] One size chart.
[00:13:29] Sorry, one minute.
[00:13:38] Like zero side shot and one size shot and also a fixed size and also a
[00:13:48] Yes, I have in that point.
[00:13:51] Okay.
[00:13:52] And also different frameworks like role, context, and also action, format, and tone.
[00:13:59] Like how to, AI can use the response from the user to, from the LLM to user after the generation of response from the user to.
[00:14:13] Okay.
[00:14:14] Yes, sir.
[00:14:16] And I have explored on few technologies like in prompts, few shot prompt and single shot prompt and one shot prompt.
[00:14:27] Okay, that's fine.
[00:14:29] Yes.
[00:14:29] So, okay, get back to their questions again.
[00:14:32] So, I am giving you a small scenario.
[00:14:35] So, for example, you have to call few functions.
[00:14:41] Okay.
[00:14:42] And whatever I ask, I'm converting into a variables.
[00:14:47] Like experience is a variable.
[00:14:50] It may be one.
[00:14:51] It may be five plus.
[00:14:53] It may be 10 plus.
[00:14:54] Okay.
[00:14:55] So based on the experience, you have to call the particular function for that.
[00:15:00] For example, if the experience is.
[00:15:03] As a fresher less than one so it should call a particular function like as a fresher if the experience is between one and five then it should call an intermediate function if the experience is greater than five then it's called an uh
[00:15:17] experienced function okay so
[00:15:21] But you have a single variable which may contain any of this.
[00:15:26] How will you configure the things so based on the value of the variable that desired function should get called?
[00:15:36] Yes, sir.
[00:15:36] Like you are saying, like we have only one value, one variable, but we can get multiple conditions.
[00:15:43] Like it's one experience.
[00:15:44] Exactly.
[00:15:45] Okay.
[00:15:46] We use switch functions, future technology, and also a difference condition statements.
[00:15:52] Okay.
[00:15:53] And if I say.
[00:15:56] Use any data structure like no need to use if condition and the switch then how are you going to do
[00:16:08] Like you were asking data structures, like DSA concepts.
[00:16:12] Not an exactly, okay, my question is what is data structure?
[00:16:18] Data structure like it is a data structures are real world problem solving abilities
[00:16:28] it helps our solve the problems in optimizing and reliable and scalability purposes problem solving abilities it helps there helps
[00:16:39] more problems solving in very time very less time complexity and space complexity purpose correct so you are saying why we use the data structure my question is what is data structure
[00:16:54] Data structure is a to align the problems in a structured manner.
[00:16:59] Okay, I will explain.
[00:17:01] So the list, the tuple, the dictionary, whatever we use is basically a structure of the data, how we are storing it.
[00:17:10] Okay.
[00:17:11] Okay, so my question again the same.
[00:17:15] How I ask about the variable which have the experience and you have to call the particular function.
[00:17:23] So without using the switch and the multiple if else condition, how are you going to solve it?
[00:17:35] We have only one variable, but different conditions.
[00:17:40] Yes.
[00:17:42] But then...
[00:17:51] We can we use a dictionary here?
[00:17:53] Yes, our dictionary is the one variable.
[00:17:55] Okay.
[00:17:56] Multiple conditions in values.
[00:17:58] I think.
[00:18:00] Okay, come again.
[00:18:01] I didn't hear.
[00:18:04] Yes, we use like a dictionary also.
[00:18:09] Variable is a key and the values are the different conditions in dictionary.
[00:18:14] What is variable here?
[00:18:17] Is a key sir sorry key key in the dictionary key okay key inside a dictionary can you uh
[00:18:26] bring your mic bit near to your mouth yeah yeah thank you okay okay so uh what is the difference between iterator and generator
[00:18:38] Yes, sir.
[00:18:39] Iterate means like a range in for loop.
[00:18:43] We can iterate up to condition false.
[00:18:46] If condition is true, we can iterate the multiple times at a single condition.
[00:18:51] Okay.
[00:18:52] We're using like functions, we're using multiple times in single conditions or single statement.
[00:18:59] What is the problem?
[00:19:02] What is generator means?
[00:19:03] We can generate the multiple values based on the condition.
[00:19:09] So do we use any specific keyword for that?
[00:19:14] Sorry.
[00:19:16] Sorry?
[00:19:18] Please ask it one second question.
[00:19:21] So my question is, do we use any specific keyword in the generator?
[00:19:29] General.
[00:19:34] Sorry, I have no idea on that point.
[00:19:36] So have you used a yield keyword anywhere?
[00:19:41] Okay, yeah.
[00:19:42] Yes, sir.
[00:19:42] In this project, I'm using LQ for the database fetching from the app.
[00:19:51] When the app starts, it automatically collects the database starts and also fetching the data at the time of project.
[00:20:00] like website starting and also stop the after the project ending
[00:20:08] so what is the use of using it yield keyword here yeah yield keyword is used to dynamically call the specific conditions automatically are you sure that is the use
[00:20:24] Just mostly I hear that the topics same as that automatically, like dynamically call the functions and start the database.
[00:20:35] Database starting and stopping the database.
[00:20:38] Okay.
[00:20:39] Fine.
[00:20:40] So in your project that you have built, have you used the exceptional handling there?
[00:20:46] Yes, sir.
[00:20:47] I mostly used in this project for the debugging purpose, step by step analyzing and what are the errors are getting at that time by using exception handling.
[00:20:59] So how to implement it?
[00:21:02] Yes, sir.
[00:21:03] Try catch purpose.
[00:21:05] If the condition is true, it will analyze.
[00:21:10] like it's execute the process and if we exception is any like zero index error something these errors are caught in the exceptions
[00:21:23] Okay, so what is the benefit to use it?
[00:21:29] Yes, we debug very efficiently.
[00:21:33] Only for the debugging purpose?
[00:21:37] And also a response accurately getting getting response accurately and finding
[00:21:45] what are the glitches and are any errors are finding in the back end okay so my cross question here is so how it increase the accuracy here because for example if you are dividing something with zero
[00:22:00] okay so normal case it will crash but if you add a try catch how will it increase your accuracy here will it give you an answer what is the divisible of zero
[00:22:14] Yes, sir.
[00:22:14] If we have a logic in 0 by anything is 0 or 1 by like undefined by value is undefined.
[00:22:24] At that purpose, we use something exceptions, value error, index error.
[00:22:29] At that time, we place the...
[00:22:32] To accept this function or this logic and get the final values.
[00:22:38] Because of where will you add that final values?
[00:22:41] End of the conditions.
[00:22:44] Okay, end of the condition, where will you add that condition?
[00:22:49] Like try exception, end of the statements we use that like finally, it must be.
[00:22:58] Print that statement in final.
[00:23:00] Okay.
[00:23:00] So what is finality block?
[00:23:05] Final lock if something first if condition is false condition is true it will statement is print or else else condition is like try exception if try block is
[00:23:18] executed then it start and also a final block also executed if exception is
[00:23:26] executed and also a final block also executed but definitely we must to print that value at that time we place that value in final
[00:23:37] okay fine so also sometimes we use a else
[00:23:42] block with try.
[00:23:45] So what is the use of the else here?
[00:23:50] If tribe block is not executed, it will automatically retribe to LC block.
[00:23:58] Okay, fine.
[00:24:00] So, okay, next question.
[00:24:02] So what is lambda functions?
[00:24:05] Lambda expression.
[00:24:07] Yes.
[00:24:08] Like we mostly lambda functions used in list stack list comprehensions at that time.
[00:24:15] We define the what we have to retrieve or fetch the data.
[00:24:22] At the time we place the lambda keys.
[00:24:26] Like filtering.
[00:24:31] Okay.
[00:24:34] Do you have the OOPS concept knowledge?
[00:24:39] Yeah, yes.
[00:24:41] So can you explain me the four pillars of OOPS?
[00:24:45] Yes, polymorphism, inheritance, abstraction and encapsulation.
[00:24:53] Polymorphism means same methods can behave differently.
[00:24:58] And also inheritance.
[00:24:59] Inheritance means we have classes and parent class and subclasses.
[00:25:06] One minute.
[00:25:07] Okay.
[00:25:08] So as you are explaining the definition, explain me the scenario.
[00:25:13] How will you going to implement in your project if you are building it?
[00:25:17] For example, as you said, the polymorphism.
[00:25:21] So how are you going to actually implement it in your project?
[00:25:24] So I want to know the technical aspects also.
[00:25:28] Okay.
[00:25:30] Suppose we have a particular condition.
[00:25:37] Same method can differently behave like
[00:25:54] suppose one mission, one particular mission, because like a different,
[00:26:02] like we are providing prompts to one, to a different specific LLM, it gives a different type of tones responses or else a different type of character responses.
[00:26:15] But method is single, like one LLM method use a different type of responses.
[00:26:24] I'm a bit confused here.
[00:26:26] Can you explain me how a single method will give you the different type of responses?
[00:26:35] Like we mostly use it in decorators.
[00:26:39] What is decorator?
[00:26:42] Directly means without changing the code it can change the behaves differently based on the
[00:26:49] so that as you said we are changing the behavior of a one function so here the value whatever return will be same for every time for that scenario okay
[00:27:04] So how you are implementing a polymorphism here?
[00:27:16] Sorry, sir.
[00:27:17] I'm not getting any thought.
[00:27:19] So, I'll give you a hint.
[00:27:21] So, you heard about the function overloading and function overriding?
[00:27:26] Yes.
[00:27:28] What is it?
[00:27:30] Function overloading means we passing them multiple functions like multiple conditions based on the specific limit.
[00:27:43] Okay.
[00:27:45] Overriding means?
[00:27:46] Overriding means?
[00:27:49] Particular limit we can pass the less than of the limit
[00:27:53] What is limit here?
[00:27:56] Like specific stack conditions and also AQ conditions.
[00:27:59] At the time we use overloading and overriding methods.
[00:28:04] Okay, okay.
[00:28:06] Yeah.
[00:28:06] Okay.
[00:28:07] And what is inheritance?
[00:28:09] Inheritance like...
[00:28:11] Same functions like the same methods we passing from parent class or subclass like we have different suppose we in real time we have two different cars two different cars have a different same behavior like
[00:28:26] few
[00:28:28] things like car dome, car steering and also brake.
[00:28:34] These are the same.
[00:28:36] At the time, we hindered from one car to another car, same behavior, but we're changing the colors and also some behaviors.
[00:28:46] How many types of inheritance are there?
[00:28:50] Four, sir.
[00:28:52] Okay, explain.
[00:28:54] Multiple inheritance, hierarchical inheritance, and also hybrid inheritance.
[00:29:01] So what is multiple inheritance here?
[00:29:05] Single parent class, multiple child class.
[00:29:08] So is it hierarchical or multiple?
[00:29:19] Multiple.
[00:29:21] So what is hierarchical then?
[00:29:23] Multiple parents, single child.
[00:29:26] Are you sure?
[00:29:28] Sorry, hierarchical means single parent, multiple child, multiple, near to means multiple parents, single child.
[00:29:37] Okay, so there is a scenario, for example, there is a class A, parent A and class parent B.
[00:29:45] Okay, which have a function inside it as a age or color.
[00:29:54] Color is a fair, for example.
[00:29:56] So the parent A has a color as a fair and parent
[00:30:00] B has a color as a dark.
[00:30:04] Now we are inheriting a class C as a child.
[00:30:10] And for example, I'm just using the color function here.
[00:30:18] So which color will get inherited from the parent A or from the parent B?
[00:30:27] Please, once again.
[00:30:29] Okay, I'm giving you a scenario.
[00:30:30] We have two parents?
[00:30:31] Yes.
[00:30:34] We have two parents which have a same function inside it as a color.
[00:30:40] Okay.
[00:30:41] One will return the value as a fair and another one will return the value as a dark.
[00:30:48] Now we are using the multiple inheritance.
[00:30:52] It means both the classes will be narrated to a third class.
[00:30:57] As a child one now i'm going to use that color function so what the value will i get
[00:31:06] will it be fair or a dark well sir first to go first parent concern sorry first parent class sir why
[00:31:19] Like it's coming from the start to end.
[00:31:25] Like, I think it's synchronized with it.
[00:31:28] Okay.
[00:31:29] So if I change the order, first is the class B and then class A, the narrating order.
[00:31:40] I think we mostly calling the functions like parent A, parent B.
[00:31:46] At the time, I think they are changing.
[00:31:51] I didn't get it.
[00:31:53] When we calling the classes, at the time they are changing.
[00:31:58] First, if in case we call the class one,
[00:32:04] it print the execute the class in or else it's to follow the synchronized way
[00:32:15] Okay, so I still I didn't get your answer what you were going to say.
[00:32:21] So just make it simple.
[00:32:24] My same question, whether it will return a fair or dark.
[00:32:31] If I'm just using a single call as a color, which is in a which inheriting the class A and class B both.
[00:32:43] Yes, sir.
[00:32:43] Class A, sir.
[00:32:45] It's following synchronized vessel.
[00:32:48] Okay, and when I reverse the order, class B and class A.
[00:32:53] Class B, sir.
[00:32:55] So, what is the difference between multiple and multi-level inheritance?
[00:33:03] Multi-level narratives.
[00:33:07] Multiple parents and multiple children.
[00:33:10] Okay.
[00:33:10] Is it a multi-level inheritance?
[00:33:15] Yes.
[00:33:17] So multiple parent and multiple child.
[00:33:21] Multiple parents and multiple children in multi-level inheritance.
[00:33:27] Okay, for example, there are two parents and both are inherited into two childs.
[00:33:34] So is it a multi-level?
[00:33:39] Both parents and both two children?
[00:33:41] Yes.
[00:33:45] Yes, they are multi-levels.
[00:33:48] Okay, fine.
[00:33:50] Okay, what is abstraction?
[00:33:52] Yes, sir.
[00:33:53] Hiding the unnecessary details to the user or else customer.
[00:33:57] Like we are real-time banking system.
[00:34:00] We are in ATM, we withdraw the money at the time they are
[00:34:07] hiding the unnecessary conditions and unnecessary exudations.
[00:34:14] And how we are going to hide it technically?
[00:34:18] Yes, sir.
[00:34:18] We're using different type of conditions or else different type of statements.
[00:34:25] Okay, how we are going to hide with conditions or statement?
[00:34:33] Sorry.
[00:34:35] As you said, we are going to hide it with the help of statement and conditions.
[00:34:39] So my question is how?
[00:34:43] Okay, how are we hiding the unanswered data?
[00:34:50] Okay.
[00:34:58] What is abstract class?
[00:35:02] Abstrab class.
[00:35:09] What is encapsulation?
[00:35:11] Encapsulation, binding the data.
[00:35:18] Okay, how we bind it?
[00:35:21] Like we are placing the data in a list or doubles.
[00:35:25] In that time, we are setting in a packing and packing format.
[00:35:30] Are you sure that this is the encapsulation?
[00:35:39] What is access modifier?
[00:35:43] It's just modifier.
[00:35:46] Yes.
[00:35:51] Sorry, sir.
[00:35:53] So if a class is a private, can I inherit it?
[00:35:58] No, sir.
[00:36:00] If it is a protected?
[00:36:03] If the function is private, it will protect itself.
[00:36:07] Sorry?
[00:36:09] If the condition is protected private, it will protect itself.
[00:36:17] No, my question is, can I inherit that class?
[00:36:22] Is the question.
[00:36:25] If private class, we can inherit the class.
[00:36:31] Most of the time we cannot inherit the private classes.
[00:36:35] If the class is public, but a function inside it is a private, so what if I'm inheriting that class?
[00:36:44] What will happen in this scenario?
[00:36:49] If function is public, inside the function, private class is public.
[00:36:54] But the function inside the class is private.
[00:36:58] In this scenario, if I am inheriting the class, what will happen?
[00:37:07] Yes, sir.
[00:37:07] You see, I did it, sir.
[00:37:10] So can I use that function?
[00:37:13] Inside the function we can use sir.
[00:37:16] Outside the function we cannot use sir.
[00:37:19] Inside the function what does it mean?
[00:37:23] Like using multiple conditions multiple functions inside the that function sir okay so that function can be accessible inside that function only
[00:37:36] What does it mean?
[00:37:39] Suppose we have a global class.
[00:37:42] Inside the global class, we have multiple functions.
[00:37:46] In that functions, they are private.
[00:37:53] We can use private function inside the function like a global function.
[00:37:57] We can use same function in the inside the global.
[00:38:02] Okay.
[00:38:04] After the function, we cannot use the private functions.
[00:38:09] Okay, fine.
[00:38:10] So, are you comfortable in data structure and algorithms?
[00:38:16] If I give you a question, are you able to write a code?
[00:38:20] Yes.
[00:38:21] So can you share your screen?
[00:38:23] Okay.
[00:39:37] Now create a list with 3 to 4 random values.
[00:39:53] Have an integer only.
[00:40:00] What in sorted order?
[00:40:02] Jambalaya.
[00:40:05] Now add a few zeros in between.
[00:40:16] Okay, now your task is, so as you have a list right now, you have to move all the zeros to the end.
[00:40:24] How are you going to do that?
[00:40:30] That we use auto sliding window or also
[00:40:35] Conditions.
[00:40:38] Okay.
[00:40:39] How are you going to do with the sliding window?
[00:40:43] It's not like...
[00:40:46] Start and end we can pass the values from one step by step if condition is true if we value is zero we can pass this value to end of the list
[00:41:02] and also we can switch the values what is the second approach
[00:41:08] In sorted order.
[00:41:10] Sorry?
[00:41:12] Sorting and reverse the list.
[00:41:16] Sorting methods.
[00:41:17] Okay.
[00:41:18] So if you sort it, the order of the non-zero element will get changed.
[00:41:23] Okay.
[00:41:23] So I'm adding a condition here.
[00:41:25] The order of non-zero element should be the same.
[00:41:29] Now, will your second approach will work?
[00:41:32] So maybe change the values, change the indexes or change the...
[00:41:37] So the known zero element order should same.
[00:41:43] Now solve it.
[00:41:47] Order should same.
[00:41:48] Yep, non-zero element order should same.
[00:41:50] Okay.
[00:41:52] Like 153 and end up with 00.
[00:41:56] Yes.
[00:42:13] So can I use another list or a single list?
[00:42:18] And you have to manipulate the values in the same list.
[00:42:23] Okay.
[00:42:27] If you use the new list, it will be very easy.
[00:42:30] Yeah.
[00:42:31] Let's maintain some complexity.
[00:43:14] Yes.
[00:43:17] Perfect.
[00:43:18] Okay, so I'm doing some changes in the list.
[00:43:22] Now replace the 5 and 3 with 2.
[00:43:26] By two?
[00:43:28] And three with two.
[00:43:31] Okay.
[00:43:32] Add a few more ones.
[00:43:37] What you have to do is, you have to move all the zeros at the end, all the one at the starting and zero in the between.
[00:43:46] Sorry, zeros are in and ones are starting and all the twos should be in the middle.
[00:43:55] Can I like just sorting?
[00:43:57] Still you can't do the sorting because two will be in, should be in middle.
[00:44:02] Can I run this one sir?
[00:44:04] Sorry?
[00:44:05] Can I run this once?
[00:44:07] Yep.
[00:44:11] Okay.
[00:44:19] Mostly you need to use data structures.
[00:46:44] What are you thinking right now?
[00:46:47] Sir, I am using sorting methods, like bubble sort, inserting sort.
[00:46:54] Then how will it work here?
[00:47:04] I think we are checking from the like first value and next value.
[00:47:09] If in case this value is less than upper value, you can exchange.
[00:47:16] I switching the values.
[00:47:20] Okay.
[00:47:20] And what if it is 0 on the place of 2?
[00:47:43] And then the changes and this.
[00:47:56] They are only 18 days.
[00:48:20] Such a gummy in it.
[00:48:23] So, you know what is two pointer approach?
[00:48:28] Yeah, that's the two pointers.
[00:48:30] Like we have from starting value and ending of the list, we can place the, like this is a starting point and ending point.
[00:48:38] We can
[00:48:41] following the form like
[00:48:44] We are passing the values based on the specific conditions.
[00:48:48] And then we use two pointers.
[00:48:51] Yes, so two pointer or three pointer, whatever you want to use.
[00:48:55] If you use it here, it will solve.
[00:49:05] I said I from the two months of my didn't attack this topics so that's why I forgot a few logics okay no problem
[00:49:19] okay I will give you another question
[00:49:31] for secret I in this one.
[00:50:08] I'm just pasting the code in the chat.
[00:50:11] Question.
[00:50:18] So the output will look like.
[00:50:42] Put it to the list by K.
[00:50:52] This logic we can use sliding window sir.
[00:50:56] Okay, right.
[00:50:57] So output I'll show share how it should look like the three step.
[00:51:03] The case is steps right now.
[00:51:06] Yes, sir.
[00:51:06] Understood.
[00:53:37] So what are you thinking right now?
[00:53:40] So I am switching the condition is equals to K here.
[00:53:45] Like index is equals to K.
[00:53:46] We can, I can asking this values to end of the list.
[00:53:52] Okay.
[00:56:08] Can I know why you added this line number 8 condition?
[00:56:17] Mostly we need to use the rotating ellipse, I think.
[00:56:22] So when this value will be true?
[00:56:26] Line number 8.
[00:56:31] Like if you suppose indexing 0 1 2 3 if k is equal to k equal to 3 it stop the condition here 7 here if we
[00:56:42] like 7 here value 7 cannot pass to end of the list up to 2 2 2 5 1 passing to the end of the list and remove here
[00:56:53] So it means what you added in the line number 8.
[00:56:56] Initially, if you are saying it is k plus 1, it means it will check if i is not equal to 4.
[00:57:05] So that condition will false at once only.
[00:57:10] I listen equal to k.
[00:57:49] Can you explain me what is the issue here?
[00:57:56] I think it's a point.
[00:57:57] And suppose if I is less than K plus one.
[00:58:01] So now if I is zero here.
[00:58:04] So what will the value of the L of I right now?
[00:58:10] So suppose if we have i is 0 starting, i is 0 less than k.
[00:58:18] That's why you can do is passing to the end of the list.
[00:58:24] Okay, so what you are passing at the end of the list right now.
[00:58:27] So as you have appending,
[00:58:30] line number 9 I am talking about you are appending L of I it means L of 0 so you are appending 2 at the end right now yeah and you are removing the 2
[00:58:45] Okay.
[00:58:46] Correct.
[00:58:47] Now, the same for the i, when the i get plus one, now i is two right now.
[00:58:58] I use now I is one it will go to the second condition but your five is at the first condition first place right now your five is moved to one right now because you removed it the initial place
[00:59:14] Yeah, I think, yeah, again, I'm going to zero.
[00:59:21] Sorry, please hold on.
[00:59:28] And then I will take it.
[00:59:31] So, zero.
[00:59:33] I use zero.
[00:59:34] Okay.
[01:00:38] Okay, I will give you one hint.
[01:00:41] Remove this line number 10.
[01:00:46] Now print the L.
[01:00:56] What do you have right now?
[01:00:59] Yes, sir.
[01:01:00] Upending, okay.
[01:01:02] Same value as 251.
[01:01:04] And respective list sorted and rotated.
[01:01:10] Now what do you have to do?
[01:01:16] I think I have to print the data from the K.
[01:01:23] Starting to K2, end of the list.
[01:01:31] But I want that as a list.
[01:01:35] Inside the K itself.
[01:01:36] I want to change the K, L, sorry.
[01:01:40] Sorry, please.
[01:01:41] I want you to print L directly.
[01:01:46] So you have to manipulate the L itself rather than printing it from the Kth index.
[01:01:54] Other than printing kth index what you are doing is you are printing from the kth to the last index right
[01:02:00] what i want is you are to print complete l rather than printing from a index it means you have to update the existing list first how you update it
[01:02:35] You understood my question or not?
[01:02:37] Yes, sir.
[01:02:38] Like you are saying, instead of printing the from K to end of the list, we need to print the only list without mentioning the K.
[01:02:49] Yes.
[01:02:50] Yeah.
[01:02:51] So before that, whatever you want to do, I am fine.
[01:02:54] I just want you to print L.
[01:02:56] That's it.
[01:02:56] And this should be the output of it.
[01:02:58] Okay.
[01:03:12] Okay.
[01:03:57] I use rotating methods.
[01:04:04] Okay.
[01:04:06] How will it help here?
[01:04:09] Sir, if up to the specific condition like K, you can rotate the values from starting to end of the list.
[01:04:18] Okay.
[01:04:19] But we have a time constraint now.
[01:04:21] I don't have much time.
[01:04:38] And to directly update the L.
[01:04:43] Greatly updating.
[01:05:06] So you slice it in printing, right?
[01:05:09] Write that again.
[01:05:17] Can we store this in some...
[01:05:21] In a variable?
[01:05:22] Yes.
[01:05:27] I got this but maybe updating the like we is printing the another variable.
[01:05:49] Now remove the S in between.
[01:05:51] Use the L directly.
[01:05:54] Will it work?
[01:05:58] Nos.
[01:06:02] You are assigning in 2s, I am saying use L directly.
[01:06:09] Okay.
[01:06:09] Can you do this?
[01:06:10] Is this legal first?
[01:06:11] My question.
[01:06:12] Yeah, okay.
[01:06:16] It's fine, but maybe it is updating the...
[01:06:22] It's okay.
[01:06:23] We are updating current list.
[01:06:28] It's not a correct approach, I think.
[01:06:30] Why it is not a correct approach?
[01:06:32] What is the issue here?
[01:06:33] Okay, explain me.
[01:06:35] Yes, sir.
[01:06:37] We are removing the values from the starting key values.
[01:06:43] Like we are printing the values from the up from K to end of the list.
[01:06:48] We are updating the current list.
[01:06:51] So what is the issue here?
[01:06:52] Why you are saying it is a not incorrect approach?
[01:06:59] Maybe taking time complexity for same, not have increased time complexity, space complexity.
[01:07:12] Okay, that is fine then.
[01:07:13] So I'm done from my side.
[01:07:14] Do you have any questions?
[01:07:19] Yes, that's fine, sir.
[01:07:22] Could you please give me any suggestions to improve my any skills?
[01:07:28] So improvement is like you have to focus a bit more in the detailed part, whatever you know right now.
[01:07:37] It should be more focusing on the detailing part of that.
[01:07:41] Okay.
[01:07:42] Okay.
[01:07:42] So whatever you are studying, whatever you are experiencing, whatever you are doing right now, go a bit detailed way, a bit deeper of that topic.
[01:07:52] Okay.
[01:07:52] Sure.
[01:07:53] Okay.
[01:07:53] That is the one station.
[01:07:54] That's it.
[01:07:56] Yeah.
[01:07:56] Thank you.
[01:07:57] Yeah.
[01:07:57] Thank you.
[01:08:04] Yeah, you can leave now.
[01:08:06] Okay.
[01:08:11] Hi, Govind.
[01:08:12] Yeah, hi.
[01:08:17] Hello, sorry, your voice is not clear.
[01:08:23] I hope I can use our next slide with this.
[01:08:27] I still am not able to hear.
[01:08:34] I'll be in May.
[01:08:38] Hello.
[01:08:46] Hello.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment