Skip to main content

Posts

Showing posts with the label stack

Full Stack Developer Without Degree: How to Become One

If you're interested in becoming a Full Stack Developer without a degree, we've put together some tips and resources to help you get started. Learn the Fundamentals The first step to becoming a Full Stack Developer is to learn the fundamentals of coding. You can start with HTML, CSS, and JavaScript, which are the building blocks of web development. There are plenty of free resources available online, such as Codecademy and FreeCodeCamp, which offer interactive courses that teach you the basics of web development. Once you have a solid understanding of the basics, you can move on to more advanced topics such as back-end development, databases, and frameworks. You can learn these topics through online courses or by working on personal projects. Build a Portfolio One of the most important things you can do as a Full Stack Developer is to build a portfolio. Your portfolio should showcase your skills and experience and demonstrate your ability to build real-world applications. You c...

Next Greater Element (DSA)

  Problem Statement :(👈click here for GFG) Given an array  arr[ ]  of size  N  having elements, the task is to find the next greater element for each element of the array in order of their appearance in the array. Next greater element of an element in the array is the nearest element on the right which is greater than the current element. If there does not exist next greater of current element, then next greater element for current element is -1. For example, next greater of the last element is always -1. Example 1: Input : N = 4, arr[] = [1 3 2 4] Output : 3 4 4 -1 Explanation : In the array, the next larger element to 1 is 3 , 3 is 4 , 2 is 4 and for 4 ? since it doesn't exist, it is -1. Example 2: Input : N = 5, arr[] [6 8 0 1 3] Output : 8 -1 1 3 -1 Explanation : In the array, the next larger element to 6 is 8, for 8 there is no larger elements hence it is -1, for 0 it is 1 , for 1 it is 3 and then for 3 there is no larger element on right...

Parenthesis Checker (DSA)

Problem Statement :(👈click here for GFG) Given an expression string   x . Examine whether the pairs and the orders of {,},(,),[,] are correct in exp. For example, the function should return 'true' for exp = [()]{}{[()()]()} and 'false' for exp = [(]). Note:  The drive code prints "balanced" if function return true, otherwise it prints "not balanced". Example 1: Input : {([])} Output : true Explanation : { ( [ ] ) }.  Same colored brackets can form balanced pairs, with 0 number of unbalanced bracket. Example 2: Input : () Output : true Explanation : () . Same bracket can form balanced pairs, and here only 1 type of bracket is present and in balanced way. Example 3: Input : ([] Output : false Explanation : ( [] . Here square bracket is balanced but the small bracket is not balanced and Hence , the output will be unbalanced. Your Task: This is a  function  problem. You only need to complete the function  ispar()  that takes a  ...