Computer NetworksNETWORKS

Validate an IP Address | String | GFG POTD | C++ | Java | Code Kar Lo

You are given a string str in the form of an IPv4 Address. Your task is to validate an IPv4 Address, if it is valid return true otherwise return false.

IPv4 addresses are canonically represented in dot-decimal notation, which consists of four decimal numbers, each ranging from 0 to 255, separated by dots, e.g., 172.16.254.1

0:00 Introduction
0:12 Problem Statement
1:35 Explanation
4:58 C++ Code
13:33 Java Code

My DSA Journey:- https://youtu.be/quZBBv12mCQ

How to Earn By GFG Articles:- https://youtu.be/XjvEgkd49Gk

Infosys Coding Questions:- https://youtube.com/playlist?list=PLq3GlRZI14HuZlfpLmVY915bolizB8O2-

Pattern Playlist: https://youtube.com/playlist?list=PLq3GlRZI14HsyjTmtjkBMlZCq8bZUUaP3&si=IHO0d35RRoAR0RYq

Problem Link:-https://www.geeksforgeeks.org/problems/validate-an-ip-address-1587115621/1

Code Link:-https://github.com/ShubhamKashyap138/Data-Structure/blob/main/Validate%20an%20IP%20Address

Playlist Link:-https://youtube.com/playlist?list=PLq3GlRZI14Hui2ILGsfF1Uf2RnbNu9wT3&si=UGRWpHbM8Q2w4TTQ

Linkedin:- https://www.linkedin.com/in/shubham-kashyap-65a29a218/

Instagram:- https://instagram.com/im_shubham_kashyap?igshid=YmMyMTA2M2Y=

My GFG Profile:- https://auth.geeksforgeeks.org/user/shubhamrajput6156/practice

gfg potd
gfg potd today
gfg problem of the day
potd gfg
potd
potd today
gfg

#dsa #datastructures #algorithm #gfg #potd #coding #array #strings #tree #binarysearchtree #codekarlo #dynamicprogramming

source

ipv4

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

One thought on “Validate an IP Address | String | GFG POTD | C++ | Java | Code Kar Lo

  • First time I am facing this problem
    I submitted a wrong code which passed all tc
    After watching ur video I realized that I did a small wrong for which code should not run
    And surprisingly now i am trying to submit the old code which was accepted it is showing Rte 😅

Comments are closed.