Pergunta de entrevista da empresa Bloomberg

Interview 2: 1. Evaluate Division 2. Custom sorting: All numbers and characters in a string must be sorted and placed on the indexes of character/number only.

Respostas da entrevista

Sigiloso

20 de fev. de 2019

Q2: Eg. Input- gh35a81jh, output - ag13h58hj (Characters are sorted and placed on character indexes, digits sorted and placed on digit indexes) PS- needs to be done in O(n) time, O(1) space

Sigiloso

22 de fev. de 2019

May i know the approach for this question ? Linear time and constant space is a challenge

1