
Asked in SAP
Given a 10-digit number, sort the individual digits of the number.

Sort the individual digits of a 10 digit number.
Convert the number to a string to access individual digits
Use a sorting algorithm to sort the digits
Convert the sorted digits back to a number
am not bilive in my yes in am employerb in my compniya in sawraj mohali panjab in my courintri in to betveen about us is my mamber is ba verey doot full prosenal
string inputNumber = "491638257";
char[] arrNum = inputNumber.ToCharArray();
string strResult = string.Join("", arrNum.OrderBy(c => c).ToArray());
String no="5697421308";
char[] no_char=convert,tochar(no);
Array.sort(no_char);

string inputNumber = "491638257";
char[] arrNum = inputNumber.ToCharArray();
string strResult = string.Join("", arrNum.OrderBy(c => c).ToArray());
Top Software Developer Interview Questions Asked at SAP
Interview Questions Asked to Software Developer at Other Companies
Top Skill-Based Questions for SAP Software Developer


Reviews
Interviews
Salaries
Users

