| Author |
Message |
![]() ![]() ![]() ![]()
Nagfanscom
Side Hero Username: Nagfanscom
Post Number: 7094 Registered: 12-2006 Posted From: 183.82.224.65
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, June 19, 2018 - 10:10 pm: |
![]() ![]() ![]() ![]() ![]() |
Jambalahaart_raja:
{{1, 2, 3, 4, 5, 6, 7}, {20, 21, 22, 23, 24, 25, 8}, {19, 32, 33, 34, 35, 26, 9}, {18, 31, 30, 29, 28, 27, 10}, {17, 16, 15, 14, 13, 12, 11}} converted to 3 Dimenstional Array by using 3D spectacles CBN: Man with Vision & Mission facebook.com/NamoNaraYanam https://www.youtube.com/watch?v=wBIfjgfl4Ng
|
![]() ![]() ![]() ![]()
Awesomedber
Side Hero Username: Awesomedber
Post Number: 4226 Registered: 04-2015 Posted From: 131.107.174.180
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, June 19, 2018 - 09:52 pm: |
![]() ![]() ![]() ![]() ![]() |
First di Recursive lo chaala easy.Exponetial complexity kabatti interviews lo optimize cheyyamntaaru. DP use cheyalsi vastundi.DP needs some practice Second di lite.. Simple looping ...conditions sarigga petti end chestey chaalu. |
![]() ![]() ![]() ![]()
Rusthum
Hero Username: Rusthum
Post Number: 12270 Registered: 04-2015 Posted From: 69.124.168.129
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, June 19, 2018 - 08:33 pm: |
![]() ![]() ![]() ![]() ![]() |
jambal.. ballisticmissile, doosukeltha ids kuda nedena? Bumper: inko half an hour lo show undi. will go if ratings are good. otherwise will go to cricket practice and save couple of bugs. |
![]() ![]() ![]() ![]()
Jambalahaart_raja
Side Hero Username: Jambalahaart_raja
Post Number: 8784 Registered: 07-2008 Posted From: 24.46.104.175
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, June 19, 2018 - 08:20 pm: |
![]() ![]() ![]() ![]() ![]() |
1. Write a method isMatch, that takes a Pattern and a String and returns whether the String matches the Pattern as a boolean true or false, without using Regex routines in the choice of your programming language. To simplify further, consider '*' the only supported wild-card, representing any or no sequence of characters. isMatch("c*t", "cat") -> true isMatch("d*k", "duck") -> true isMatch("c*t", "cast") -> true isMatch("c*t", "cats") -> false isMatch("p*p*", "puppy") -> true isMatch("*ch", "matches") -> false 2. Write a method to traverse a two-dimensional integer-array as a spiral, and return a one-dimensional integer array. input -> {{1, 2, 3, 4, 5, 6, 7}, {20, 21, 22, 23, 24, 25, 8}, {19, 32, 33, 34, 35, 26, 9}, {18, 31, 30, 29, 28, 27, 10}, {17, 16, 15, 14, 13, 12, 11}} output -> {1, 2, 3, 4, 5, 6, 7, 8, 9. 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35} "Chill Bro. I told you to let it go!!" - The Budhha. |
|