Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Binary Search Problems - 1 | Lecture-45 | C++ And DSA Foundation course
Play lesson

C++ and DSA Foundation Course - Binary Search Problems - 1 | Lecture-45 | C++ And DSA Foundation course

5.0 (2)
54 learners

What you'll learn

This course includes

  • 85.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Now that we have learned the Binary search algorithm and its implementation in the previous lecture, let us move to the next step of problem-solving for better understanding. Here, Sanket Sir is going to solve some problems using Binary search as the base. He will discuss and build the approach to solution from Brute force to optimal binary search. So do not miss this! Follow us to prepare for the college exams, interviews and placements with immaculate problem-solving and coding skills. See you in the class !! Are you finding the classes helpful? Stay tuned for more! Access the notes and assignments for this class for free at : ▶️https://pwskills.com/course/C++--Foundation PW Skills is announcing the launch of the following programs, Binary Batch:- Java-with-DSA-&- System-Design (Java with DSA & System Design) https://pwskills.com/course/Java-with-DSA-and-system-design (Hindi) https://pwskills.com/course/Java-with-DSA-and-System-Design (English) Sigma Batch:- Full-Stack-Web-Development (MERN Stack) https://pwskills.com/course/Full-Stack-web-development (Hindi) https://pwskills.com/course/Full-Stack-Web-Development (English) Impact Batch:- Data-Science-Masters (Full Stack Data Science) https://pwskills.com/course/Data-Science-masters (Hindi) https://pwskills.com/course/Data-Science-Masters (English) Website - https://pwskills.com/ Instagram - https://www.instagram.com/pwcollegewallah/ LinkedIn - https://www.linkedin.com/company/ineuron-ai https://www.linkedin.com/company/physicswallah/ Telegram - https://t.me/SkillsPW Discord - https://discord.gg/m7YSX6Xh Twitter - https://twitter.com/pw__skills 00:00 - Introduction 00:21 - Recap 02:18 - Given an array of int a sorted in non-decreasing order. Find the first and last position of the given 'target' element in a sorted array 44:10 - Coding implementation 51:41 - A rotated sorted array is a sorted array on which a rotation operation has been performed some number of times 01:06:43 - Coding implementation 01:11:55 - Given the rotated sorted array of integers, which contains distinct elements, and a target value, return the index of target if it is in the array otherwise return -1. 01:25:30 - Coding Implementation 01:31:34 - Search an element in a rotated sorted array with duplicate elements, return 1 if it is found, otherwise return -1. 01:37:31 - Summary #DSA #ProblemSolving #BinarySearch #Lecture44 #DataStructures #CodingChallenges #Debugging #LogicalThinking #PWSkills #PhysicsWallah #CollegeWallah

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere