Find Jobs
Hire Freelancers

Python exercise

€8-30 EUR

In Progress
Posted over 5 years ago

€8-30 EUR

Paid on delivery
A string S consisting of N characters is considered to be properly nested if any of the following conditions is true:S is empty;S has the form '(U)' or "[U]" or "{U}" where U is a properly nested string;S has the form "VW" where V and W are properly nested [login to view URL] example, the string "{[()()]}" is properly nested but "([)()]" is [login to view URL] a function:object Solution { def solution(S: String): Int }that, given a string S consisting of N characters, returns 1 if S is properly nested and 0 [login to view URL] example, given S = "{[()()]}", the function should return 1 and given S = "([)()]", the function should return 0, as explained [login to view URL] that:N is an integer within the range [0..200,000];string S consists only of the following characters: "(", "{", "[", "]", "}" and/or ")".Complexity:expected worst-case time complexity is O(N);expected worst-case space complexity is O(N) (not counting the storage required for input arguments).*/}  
Project ID: 18010597

About the project

4 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average €27 EUR for this job
User Avatar
Hello I am Python expert and interested in this project. I have reviewed the details and confident to handle the project perfectly. Please communicate to discuss further. Regards Anshu
€29 EUR in 1 day
4.7 (139 reviews)
6.5
6.5
User Avatar
Hi, I have done several projects similar with this. Please view my portfolios and contact me to discuss your project. Let me know the details via interview. Thank you. Regards,
€23 EUR in 1 day
4.9 (10 reviews)
5.7
5.7
User Avatar
Hi I am algorithm expert and can get the code done for you in the complexity you need . can write well documented code which would be easy to explain Thanks Aditya
€30 EUR in 1 day
4.9 (15 reviews)
5.2
5.2
User Avatar
I have ~7 years of experience in C/C++ and over 3 in C#. I also write some Python code and recently Haskell, so I can do the task easily. Please contact me to discuss the details.
€24 EUR in 3 days
5.0 (12 reviews)
4.1
4.1

About the client

Flag of PORTUGAL
Lisboa, Portugal
5.0
1
Payment method verified
Member since Jun 10, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.