MSMann Shahintechie2.hashnode.dev·Oct 22, 2023 · 2 min readDatatypes in JavaThere are two types : 1) Primitve Datatypes 2) Non-Primitive Datatypes Let's Discuss Primitive ones in this one : 1. Boolean type In this datatype it's all about true and false these are used when you want to see whether the given condition is true o...00
MSMann Shahintechie2.hashnode.dev·Oct 21, 2023 · 1 min readBasics OF JavaOOPS means Object Oriented Programming it plays very important role in programming languages not just theoretically but practically too you will use all these concepts in development especially when you will learn app development. C++ and Java are ...00
MSMann Shahintechie2.hashnode.dev·Oct 18, 2023 · 1 min readTime Complexity Examples with Codes1) printf("Hello World") The time complextiy for above will be O(1) since it will run in constant time throughout the number of iterations therefore it is called as constant time. 2) int val = 0; for(int i = 1; i <= N; i += i){ val++; } We will calcu...00
MSMann Shahintechie2.hashnode.dev·Oct 17, 2023 · 1 min readTime Complexity Part-2Types of Time Complexity Analysis : 1) Worst Case Time Complexity: It is that case where the algorithm takes the longest time to complete its execution It is represented by the Big-O notation. By default we calculate the worst case time complexity wh...00
MSMann Shahintechie2.hashnode.dev·Oct 16, 2023 · 2 min readTime Complextiy BasicsThis is a kind of topic which most of the programmers find difficult dont worry in this blog it will made smooth as butter. Let's Get into It: Time Complexity : The amount of time taken by code to run. However, we need to remember that this is not de...00