๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.52K subscribers
5.56K photos
3 videos
95 files
9.7K links
๐ŸšฉMain Group - @SuperExams
๐Ÿ“Job Updates - @FresherEarth

๐Ÿ”ฐAuthentic Coding Solutions(with Outputs)
โš ๏ธDaily Job Updates
โš ๏ธHackathon Updates & Solutions

Buy ads: https://telega.io/c/cs_algo
Download Telegram
import re

def find_latest_version(files):
    latest_version = -1

    for file_name in files:
        match = re.match(r"File_(\d+)", file_name)
        if match:
            version = int(match.group(1))
            if version > latest_version:
                latest_version = version

    return latest_version

Python 3โœ…
Cognizant
class UserMainCode(object):

    @staticmethod
    def rearrangeSeats(input1, input2):
        pos = 0
        sta = 0

        for i in input2:
            pos += i
            if pos == 0:
                sta += 1

        return sta

Ant on Rail โœ…
Cognizant
def solve(n, A):
    p = 0
    for i in range(n):
        p ^= A[i]
        s = 0
        for j in range(i + 1, n):
            s ^= A[j]
        if p > s:
            return i
    return -1

Maximum index โœ…
PwC is hiring
Line of Service : Indirect Tax
Designation : Analyst
Qualification : Graduate Mcom/bcom
Experience : 0 to 1 year post graduation
GST compliances experience in CA Firm or industry preferred
Location : Mumbai
Interested candidates can send their CV to rishabh.begani@pwc.com
Tech Mahindra is hiring for International Voice Process.

Freshers and Experienced candidates can apply.

Salary - upto 3.5 LPA (as per experience)
Work from office.
Both side cab facilities available
Lucrative salary package
Rotational shifts and week offs.

*Immediate Joiners Required.

* Excellent communication skills required

You can also share your resumes on GK00894594@TechMahindra.com
import re

class UserMainCode:
    @classmethod
    def teleData(cls, input1):
        result = cls.processMobileNumber(input1)
        print(result)

    @staticmethod
    def processMobileNumber(mobileNumber):
        if UserMainCode.isValidFormat(mobileNumber):
            return mobileNumber[:2] 
        else:
            return "NF"

    @staticmethod
    def isValidFormat(mobileNumber):
        return bool(re.match(r'\d{2}-\d{10}', mobileNumber))

TeleData โœ