Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Pure VPN - Up to 27 Months
vgp
Updated:
Friday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Jobs & Employment
My Interview Experience
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="tclguy" data-source="post: 25732361" data-attributes="member: 128132"><p><strong>iTelaSoft</strong></p><p></p><p>Company environment eka nam hari na. man danne na process eka kohomada kyala. mawa select une na. (select untath yanne na kyala hithan hitya interview ekata kalinma)</p><p></p><p>They will give you peace of paper to answer the questions.</p><p></p><p>Question 1: You have this array Array[1,5,7,8] and you should return 1578 in int. without using any functions, concatenation and etc.. should be clean code.</p><p></p><p>Question 2:</p><p>X^2 + Y^2 = Z^2</p><p>You can take assumption of X<Y<Z</p><p></p><p>Write algorithm to prove X+Y+Z = 1000</p><p>Give outputs of X , Y , Z values.</p><p></p><p>Question 1 Answer: </p><p>[CODE=javascript]</p><p>var intArray = [1,5,7,8];</p><p></p><p>var x = 0</p><p>for (index, element) in intArray{</p><p> if(index == 0){</p><p> x = element</p><p> }else{</p><p> x = (x*10)+element</p><p> }</p><p>}</p><p></p><p>return x</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="tclguy, post: 25732361, member: 128132"] [B]iTelaSoft[/B] Company environment eka nam hari na. man danne na process eka kohomada kyala. mawa select une na. (select untath yanne na kyala hithan hitya interview ekata kalinma) They will give you peace of paper to answer the questions. Question 1: You have this array Array[1,5,7,8] and you should return 1578 in int. without using any functions, concatenation and etc.. should be clean code. Question 2: X^2 + Y^2 = Z^2 You can take assumption of X<Y<Z Write algorithm to prove X+Y+Z = 1000 Give outputs of X , Y , Z values. Question 1 Answer: [CODE=javascript] var intArray = [1,5,7,8]; var x = 0 for (index, element) in intArray{ if(index == 0){ x = element }else{ x = (x*10)+element } } return x [/CODE] [/QUOTE]
Insert quotes…
Verification
Asuwa dahayen wadi kalama keeyada?
Post reply
Top
Bottom